Skip to content

Commit 3eca41b

Browse files
Merge pull request #379 from json-schema-org/ether/remove-wrapped-refs
remove wrapped refs
2 parents 536ec07 + d61bae8 commit 3eca41b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/draft2019-09/anchor.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
{
33
"description": "Location-independent identifier",
44
"schema": {
5-
"allOf": [{
6-
"$ref": "#foo"
7-
}],
5+
"$ref": "#foo",
86
"$defs": {
97
"A": {
108
"$anchor": "foo",
@@ -28,9 +26,7 @@
2826
{
2927
"description": "Location-independent identifier with absolute URI",
3028
"schema": {
31-
"allOf": [{
32-
"$ref": "http://localhost:1234/bar#foo"
33-
}],
29+
"$ref": "http://localhost:1234/bar#foo",
3430
"$defs": {
3531
"A": {
3632
"$id": "http://localhost:1234/bar",
@@ -56,9 +52,7 @@
5652
"description": "Location-independent identifier with base URI change in subschema",
5753
"schema": {
5854
"$id": "http://localhost:1234/root",
59-
"allOf": [{
60-
"$ref": "http://localhost:1234/nested.json#foo"
61-
}],
55+
"$ref": "http://localhost:1234/nested.json#foo",
6256
"$defs": {
6357
"A": {
6458
"$id": "nested.json",

0 commit comments

Comments
 (0)