diff --git a/tests/draft4/ref.json b/tests/draft4/ref.json index 820839d7..33f74414 100644 --- a/tests/draft4/ref.json +++ b/tests/draft4/ref.json @@ -127,7 +127,7 @@ "b": {"$ref": "#/definitions/a"}, "c": {"$ref": "#/definitions/b"} }, - "$ref": "#/definitions/c" + "allOf": [{ "$ref": "#/definitions/c" }] }, "tests": [ { diff --git a/tests/draft6/ref.json b/tests/draft6/ref.json index 3bb0efc3..676d6a06 100644 --- a/tests/draft6/ref.json +++ b/tests/draft6/ref.json @@ -127,7 +127,7 @@ "b": {"$ref": "#/definitions/a"}, "c": {"$ref": "#/definitions/b"} }, - "$ref": "#/definitions/c" + "allOf": [{ "$ref": "#/definitions/c" }] }, "tests": [ { @@ -239,7 +239,7 @@ { "description": "$ref to boolean schema true", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{ "$ref": "#/definitions/bool" }], "definitions": { "bool": true } @@ -255,7 +255,7 @@ { "description": "$ref to boolean schema false", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{ "$ref": "#/definitions/bool" }], "definitions": { "bool": false } diff --git a/tests/draft7/ref.json b/tests/draft7/ref.json index 97ddf07c..80a4d1d0 100644 --- a/tests/draft7/ref.json +++ b/tests/draft7/ref.json @@ -127,7 +127,7 @@ "b": {"$ref": "#/definitions/a"}, "c": {"$ref": "#/definitions/b"} }, - "$ref": "#/definitions/c" + "allOf": [{ "$ref": "#/definitions/c" }] }, "tests": [ { @@ -239,7 +239,7 @@ { "description": "$ref to boolean schema true", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{ "$ref": "#/definitions/bool" }], "definitions": { "bool": true } @@ -255,7 +255,7 @@ { "description": "$ref to boolean schema false", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{ "$ref": "#/definitions/bool" }], "definitions": { "bool": false }