diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-07 12:48:49 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-07 12:48:49 +0100 |
commit | 07889f274dfb3dbb17988688701602cc43291941 (patch) | |
tree | 6cc1dd52bfa322dedd8ab7b713d2db9a865f7771 /teal-src/util/jsonschema.tl | |
parent | 7cd2803161ee05303371cd681f8ae00a0838d07f (diff) | |
download | prosody-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.tl | 1 |
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 |