diff --git a/meta/applicator.json b/meta/applicator.json index a7c4a314..24a1cc4f 100644 --- a/meta/applicator.json +++ b/meta/applicator.json @@ -7,6 +7,7 @@ "$recursiveAnchor": true, "title": "Applicator vocabulary meta-schema", + "type": ["object", "boolean"], "properties": { "additionalItems": { "$recursiveRef": "#" }, "unevaluatedItems": { "$recursiveRef": "#" }, diff --git a/meta/core.json b/meta/core.json index b28fc990..eb708a56 100644 --- a/meta/core.json +++ b/meta/core.json @@ -33,7 +33,6 @@ }, "$recursiveAnchor": { "type": "boolean", - "const": true, "default": false }, "$vocabulary": { diff --git a/output/schema.json b/output/schema.json index 7cf4c4ac..bef85935 100644 --- a/output/schema.json +++ b/output/schema.json @@ -46,20 +46,20 @@ }, { "if": { - "oneOf": [ + "anyOf": [ { "properties": { "keywordLocation": { - "pattern": ".*/$ref/.*" + "pattern": "/\\$ref/" } - } + } }, { "properties": { "keywordLocation": { - "pattern": ".*/$recursiveRef/.*" + "pattern": "/\\$recursiveRef/" } - } + } } ] }, @@ -79,8 +79,8 @@ }, "required": [ "valid" ] }, - "basic": { "$ref": "#/outputUnit" }, - "detailed": { "$ref": "#/outputUnit" }, - "verbose": { "$ref": "#/outputUnit" } + "basic": { "$ref": "#/$defs/outputUnit" }, + "detailed": { "$ref": "#/$defs/outputUnit" }, + "verbose": { "$ref": "#/$defs/outputUnit" } } }