Software /
code /
prosody
Comparison
spec/util_jsonschema_spec.lua @ 12989:dee080c2441e
util.jsonschema: Implement 'dependentSchemas'
If this object key exists then this schema must validate against the
current object. Seems useful.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 15:20:07 +0200 |
parent | 12988:8592770be63a |
child | 13082:acf8a2372764 |
comparison
equal
deleted
inserted
replaced
12988:8592770be63a | 12989:dee080c2441e |
---|---|
17 ["const.json:2"] = "deepcompare", | 17 ["const.json:2"] = "deepcompare", |
18 ["const.json:8"] = "deepcompare", | 18 ["const.json:8"] = "deepcompare", |
19 ["const.json:9"] = "deepcompare", | 19 ["const.json:9"] = "deepcompare", |
20 ["contains.json:0:5"] = "distinguishing objects from arrays", | 20 ["contains.json:0:5"] = "distinguishing objects from arrays", |
21 ["defs.json"] = "need built-in meta-schema", | 21 ["defs.json"] = "need built-in meta-schema", |
22 ["dependentSchemas.json"] = "NYI", | 22 ["dependentSchemas.json:2:2"] = "NYI", -- minProperties |
23 ["dynamicRef.json"] = "NYI", | 23 ["dynamicRef.json"] = "NYI", |
24 ["enum.json:1:3"] = "deepcompare", | 24 ["enum.json:1:3"] = "deepcompare", |
25 ["id.json"] = "NYI", | 25 ["id.json"] = "NYI", |
26 ["maxContains.json"] = "NYI", | 26 ["maxContains.json"] = "NYI", |
27 ["maxLength.json:0:4"] = "UTF-16", | 27 ["maxLength.json:0:4"] = "UTF-16", |