mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.jsonschema: Fix NYI 'patternProperties' definition
It's defined as an object mapping regex to schema, not a single schema
This commit is contained in:
parent
c4fdaa80b6
commit
0e6043ecb6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue