diff --git a/links.json b/links.json index addd1f06..77370131 100644 --- a/links.json +++ b/links.json @@ -29,7 +29,8 @@ "format": "uri-template" }, "hrefSchema": { - "$ref": "http://json-schema.org/draft-08/hyper-schema#" + "$ref": "http://json-schema.org/draft-08/hyper-schema#", + "default": false }, "templatePointers": { "type": "object", @@ -55,21 +56,24 @@ "type": "string" }, "targetSchema": { - "$ref": "http://json-schema.org/draft-08/hyper-schema#" + "$ref": "http://json-schema.org/draft-08/hyper-schema#", + "default": true }, "targetMediaType": { "type": "string" }, "targetHints": { }, "headerSchema": { - "$ref": "http://json-schema.org/draft-08/hyper-schema#" + "$ref": "http://json-schema.org/draft-08/hyper-schema#", + "default": true }, "submissionMediaType": { "type": "string", "default": "application/json" }, "submissionSchema": { - "$ref": "http://json-schema.org/draft-08/hyper-schema#" + "$ref": "http://json-schema.org/draft-08/hyper-schema#", + "default": true }, "$comment": { "type": "string" diff --git a/schema.json b/schema.json index 182eefb0..7addb46b 100644 --- a/schema.json +++ b/schema.json @@ -106,8 +106,7 @@ "anyOf": [ { "$ref": "#" }, { "$ref": "#/$defs/schemaArray" } - ], - "default": true + ] }, "maxItems": { "$ref": "#/$defs/nonNegativeInteger" }, "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" }, @@ -162,13 +161,12 @@ "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, - "if": {"$ref": "#"}, - "then": {"$ref": "#"}, - "else": {"$ref": "#"}, + "if": { "$ref": "#" }, + "then": { "$ref": "#" }, + "else": { "$ref": "#" }, "allOf": { "$ref": "#/$defs/schemaArray" }, "anyOf": { "$ref": "#/$defs/schemaArray" }, "oneOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" } - }, - "default": true + } }