Mercurial > prosody-hg
diff 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 |
| parents | 8592770be63a |
| children | acf8a2372764 |
line wrap: on
line diff
--- a/spec/util_jsonschema_spec.lua Sun Mar 26 15:19:14 2023 +0200 +++ b/spec/util_jsonschema_spec.lua Sun Mar 26 15:20:07 2023 +0200 @@ -19,7 +19,7 @@ ["const.json:9"] = "deepcompare", ["contains.json:0:5"] = "distinguishing objects from arrays", ["defs.json"] = "need built-in meta-schema", - ["dependentSchemas.json"] = "NYI", + ["dependentSchemas.json:2:2"] = "NYI", -- minProperties ["dynamicRef.json"] = "NYI", ["enum.json:1:3"] = "deepcompare", ["id.json"] = "NYI",
