diff --git a/tests/draft3/ref.json b/tests/draft3/ref.json index 31414ad6..e0581033 100644 --- a/tests/draft3/ref.json +++ b/tests/draft3/ref.json @@ -125,7 +125,7 @@ "b": {"$ref": "#/definitions/a"}, "c": {"$ref": "#/definitions/b"} }, - "$ref": "#/definitions/c" + "allOf": [{"$ref": "#/definitions/c"}] }, "tests": [ { diff --git a/tests/draft4/ref.json b/tests/draft4/ref.json index 52cf50a9..0762d6c0 100644 --- a/tests/draft4/ref.json +++ b/tests/draft4/ref.json @@ -125,7 +125,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 5b589649..053643b6 100644 --- a/tests/draft6/ref.json +++ b/tests/draft6/ref.json @@ -125,7 +125,7 @@ "b": {"$ref": "#/definitions/a"}, "c": {"$ref": "#/definitions/b"} }, - "$ref": "#/definitions/c" + "allOf": [{"$ref": "#/definitions/c"}] }, "tests": [ { @@ -212,7 +212,7 @@ { "description": "$ref to boolean schema true", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{"$ref": "#/definitions/bool"}], "definitions": { "bool": true } @@ -228,7 +228,7 @@ { "description": "$ref to boolean schema false", "schema": { - "$ref": "#/definitions/bool", + "allOf": [{"$ref": "#/definitions/bool"}], "definitions": { "bool": false }