util.jsonschema: Implement 'dependentRequired'

If this field exists, then these fields must also exist.
This commit is contained in:
Kim Alvefur 2023-03-26 15:19:14 +02:00
parent 5427c2472d
commit 4bc62438db
3 changed files with 24 additions and 1 deletions

View file

@ -19,7 +19,6 @@ local skip = {
["const.json:9"] = "deepcompare",
["contains.json:0:5"] = "distinguishing objects from arrays",
["defs.json"] = "need built-in meta-schema",
["dependentRequired.json"] = "NYI",
["dependentSchemas.json"] = "NYI",
["dynamicRef.json"] = "NYI",
["enum.json:1:3"] = "deepcompare",