diff --git a/tests/draft6/id.json b/tests/draft6/id.json index 0cbff5a9..03d30fcb 100644 --- a/tests/draft6/id.json +++ b/tests/draft6/id.json @@ -52,7 +52,7 @@ { "description": "non-schema object containing a plain-name $id property", "schema": { - "$defs": { + "definitions": { "const_not_anchor": { "const": { "$id": "#not_a_real_anchor" @@ -71,7 +71,7 @@ } }, { - "$ref": "#/$defs/const_not_anchor" + "$ref": "#/definitions/const_not_anchor" } ] } @@ -93,7 +93,7 @@ { "description": "non-schema object containing an $id property", "schema": { - "$defs": { + "definitions": { "const_not_id": { "const": { "$id": "not_a_real_id" @@ -112,7 +112,7 @@ } }, { - "$ref": "#/$defs/const_not_id" + "$ref": "#/definitions/const_not_id" } ] } diff --git a/tests/draft6/ref.json b/tests/draft6/ref.json index 8aad9564..1724f81f 100644 --- a/tests/draft6/ref.json +++ b/tests/draft6/ref.json @@ -737,9 +737,9 @@ "schema": { "$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed", "properties": { - "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar"} + "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar"} }, - "$defs": { + "definitions": { "bar": {"type": "string"} } }, diff --git a/tests/draft7/id.json b/tests/draft7/id.json index b03248b2..6be81b8d 100644 --- a/tests/draft7/id.json +++ b/tests/draft7/id.json @@ -52,7 +52,7 @@ { "description": "non-schema object containing a plain-name $id property", "schema": { - "$defs": { + "definitions": { "const_not_anchor": { "const": { "$id": "#not_a_real_anchor" @@ -64,7 +64,7 @@ }, "then": true, "else" : { - "$ref": "#/$defs/const_not_anchor" + "$ref": "#/definitions/const_not_anchor" } }, "tests": [ @@ -83,7 +83,7 @@ { "description": "non-schema object containing an $id property", "schema": { - "$defs": { + "definitions": { "const_not_id": { "const": { "$id": "not_a_real_id" @@ -95,7 +95,7 @@ }, "then": true, "else" : { - "$ref": "#/$defs/const_not_id" + "$ref": "#/definitions/const_not_id" } }, "tests": [ diff --git a/tests/draft7/ref.json b/tests/draft7/ref.json index 63d6af29..ab67f0e3 100644 --- a/tests/draft7/ref.json +++ b/tests/draft7/ref.json @@ -773,9 +773,9 @@ "schema": { "$id": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed", "properties": { - "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar"} + "foo": {"$ref": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar"} }, - "$defs": { + "definitions": { "bar": {"type": "string"} } },