Skip to content

Commit f494440

Browse files
committed
use unique $id in optional tests, too
1 parent 468453b commit f494440

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/draft-next/optional/dynamicRef.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "$dynamicRef skips over intermediate resources - pointer reference across resource boundary",
44
"schema": {
55
"$schema": "https://json-schema.org/draft/next/schema",
6-
"$id": "https://example.com/foo",
6+
"$id": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main",
77
"type": "object",
88
"properties": {
99
"bar-item": {
@@ -12,7 +12,7 @@
1212
},
1313
"$defs": {
1414
"bar": {
15-
"$id": "https://example.com/bar",
15+
"$id": "bar",
1616
"type": "array",
1717
"items": {
1818
"$ref": "item"

tests/draft2020-12/optional/dynamicRef.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"description": "$dynamicRef skips over intermediate resources - pointer reference across resource boundary",
44
"schema": {
55
"$schema": "https://json-schema.org/draft/2020-12/schema",
6-
"$id": "https://example.com/foo",
7-
"type": "object",
6+
"$id": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main",
7+
"type": "object",
88
"properties": {
99
"bar-item": {
1010
"$ref": "bar#/$defs/item"
1111
}
1212
},
1313
"$defs": {
1414
"bar": {
15-
"$id": "https://example.com/bar",
15+
"$id": "bar",
1616
"type": "array",
1717
"items": {
1818
"$ref": "item"

0 commit comments

Comments
 (0)