From 07889f274dfb3dbb17988688701602cc43291941 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 7 Mar 2021 12:48:49 +0100 Subject: util.datamapper: Add support for mapping of elements where only one attribute matters E.g. in XEP-0030 and some other simple specifications. --- teal-src/util/jsonschema.tl | 1 + 1 file changed, 1 insertion(+) (limited to 'teal-src/util/jsonschema.tl') diff --git a/teal-src/util/jsonschema.tl b/teal-src/util/jsonschema.tl index 96832a7f..13537e0a 100644 --- a/teal-src/util/jsonschema.tl +++ b/teal-src/util/jsonschema.tl @@ -65,6 +65,7 @@ local record schema_t -- nonstantard, maybe in the future text : boolean x_name_is_value : boolean + x_single_attribute : string end xml : xml_t -- cgit v1.2.3