diff options
author | Kim Alvefur <zash@zash.se> | 2023-04-22 12:13:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-04-22 12:13:38 +0200 |
commit | 0e6043ecb60f05aecdfd6c3e299ab87d46346c89 (patch) | |
tree | 88cb5e6b9736d20efcfcab72c823505b2fb1262a /teal-src | |
parent | c4fdaa80b6ee94c7ed754d60cbc27cb36e0fcd68 (diff) | |
download | prosody-0e6043ecb60f05aecdfd6c3e299ab87d46346c89.tar.gz prosody-0e6043ecb60f05aecdfd6c3e299ab87d46346c89.zip |
util.jsonschema: Fix NYI 'patternProperties' definition
It's defined as an object mapping regex to schema, not a single schema
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/prosody/util/jsonschema.tl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |