From 0e6043ecb60f05aecdfd6c3e299ab87d46346c89 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 22 Apr 2023 12:13:38 +0200 Subject: util.jsonschema: Fix NYI 'patternProperties' definition It's defined as an object mapping regex to schema, not a single schema --- teal-src/prosody/util/jsonschema.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teal-src/prosody/util/jsonschema.tl b/teal-src/prosody/util/jsonschema.tl index 3e49ead4..7cf6d259 100644 --- a/teal-src/prosody/util/jsonschema.tl +++ b/teal-src/prosody/util/jsonschema.tl @@ -55,7 +55,7 @@ local record json_schema_object -- objects properties : { string : schema_t } - patternProperties: schema_t -- NYI + patternProperties: { string : schema_t } -- NYI additionalProperties: schema_t propertyNames : schema_t -- cgit v1.2.3