aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/jsonschema.tl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-07 12:48:49 +0100
committerKim Alvefur <zash@zash.se>2021-03-07 12:48:49 +0100
commit07889f274dfb3dbb17988688701602cc43291941 (patch)
tree6cc1dd52bfa322dedd8ab7b713d2db9a865f7771 /teal-src/util/jsonschema.tl
parent7cd2803161ee05303371cd681f8ae00a0838d07f (diff)
downloadprosody-07889f274dfb3dbb17988688701602cc43291941.tar.gz
prosody-07889f274dfb3dbb17988688701602cc43291941.zip
util.datamapper: Add support for mapping of elements where only one attribute matters
E.g. <feature var='foo'/> in XEP-0030 and some other simple specifications.
Diffstat (limited to 'teal-src/util/jsonschema.tl')
-rw-r--r--teal-src/util/jsonschema.tl1
1 files changed, 1 insertions, 0 deletions
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