From 8c9ffa25eb18f8ccdd3d3aa515a01efaf9814680 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 26 Mar 2023 15:20:07 +0200 Subject: util.jsonschema: Implement 'dependentSchemas' If this object key exists then this schema must validate against the current object. Seems useful. --- spec/util_jsonschema_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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", -- cgit v1.2.3