# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1682158418 -7200
# Node ID adc688a0b31a9b6a2c02ee2d608ad0aaedbdd9f9
# Parent  031382b207ecf4293159ba0ec4d16e8757366063
util.jsonschema: Fix NYI 'patternProperties' definition

It's defined as an object mapping regex to schema, not a single schema

diff -r 031382b207ec -r adc688a0b31a teal-src/prosody/util/jsonschema.tl
--- a/teal-src/prosody/util/jsonschema.tl	Wed Apr 19 12:03:34 2023 +0200
+++ b/teal-src/prosody/util/jsonschema.tl	Sat Apr 22 12:13:38 2023 +0200
@@ -55,7 +55,7 @@
 
 	-- objects
 	properties : { string : schema_t }
-	patternProperties: schema_t -- NYI
+	patternProperties: { string : schema_t } -- NYI
 	additionalProperties: schema_t
 	propertyNames : schema_t