aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-26 15:20:07 +0200
committerKim Alvefur <zash@zash.se>2023-03-26 15:20:07 +0200
commit8c9ffa25eb18f8ccdd3d3aa515a01efaf9814680 (patch)
treeced85b064be32794f596c08c20f2b6f43289d0d3 /spec
parent4bc62438dbabb8fbe7ff3c4eca69c30cc04dd8bd (diff)
downloadprosody-8c9ffa25eb18f8ccdd3d3aa515a01efaf9814680.tar.gz
prosody-8c9ffa25eb18f8ccdd3d3aa515a01efaf9814680.zip
util.jsonschema: Implement 'dependentSchemas'
If this object key exists then this schema must validate against the current object. Seems useful.
Diffstat (limited to 'spec')
-rw-r--r--spec/util_jsonschema_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_jsonschema_spec.lua b/spec/util_jsonschema_spec.lua
index 7d05af4a..602a2b7f 100644
--- a/spec/util_jsonschema_spec.lua
+++ b/spec/util_jsonschema_spec.lua
@@ -19,7 +19,7 @@ local skip = {
["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",