Skip to content

Commit 468453b

Browse files
committed
use unique $id
1 parent 9ec6d17 commit 468453b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/draft-next/dynamicRef.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@
647647
"description": "$dynamicRef skips over intermediate resources - direct reference",
648648
"schema": {
649649
"$schema": "https://json-schema.org/draft/next/schema",
650-
"$id": "https://example.com/foo",
650+
"$id": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main",
651651
"type": "object",
652652
"properties": {
653653
"bar-item": {
@@ -656,7 +656,7 @@
656656
},
657657
"$defs": {
658658
"bar": {
659-
"$id": "https://example.com/bar",
659+
"$id": "bar",
660660
"type": "array",
661661
"items": {
662662
"$ref": "item"

tests/draft2020-12/dynamicRef.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@
761761
"description": "$dynamicRef skips over intermediate resources - direct reference",
762762
"schema": {
763763
"$schema": "https://json-schema.org/draft/2020-12/schema",
764-
"$id": "https://example.com/foo",
764+
"$id": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main",
765765
"type": "object",
766766
"properties": {
767767
"bar-item": {
@@ -770,7 +770,7 @@
770770
},
771771
"$defs": {
772772
"bar": {
773-
"$id": "https://example.com/bar",
773+
"$id": "bar",
774774
"type": "array",
775775
"items": {
776776
"$ref": "item"

0 commit comments

Comments
 (0)