Diff

teal-src/util/jsonschema.tl @ 11439:9abcdfdcdb01

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.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Mar 2021 12:48:49 +0100
parent 11437:87a684df4b65
child 11440:d5288c99bb5a
line wrap: on
line diff
--- a/teal-src/util/jsonschema.tl	Sun Mar 07 01:41:39 2021 +0100
+++ b/teal-src/util/jsonschema.tl	Sun Mar 07 12:48:49 2021 +0100
@@ -65,6 +65,7 @@
 		-- nonstantard, maybe in the future
 		text : boolean
 		x_name_is_value : boolean
+		x_single_attribute : string
 	end
 
 	xml : xml_t