Skip to content

Commit d545be2

Browse files
committed
Fix duplidate identifiers in recently added tests
1 parent 3dab98c commit d545be2

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

tests/draft-next/unevaluatedItems.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,9 @@
465465
"description": "unevaluatedItems with $dynamicRef",
466466
"schema": {
467467
"$schema": "https://json-schema.org/draft/next/schema",
468-
"$id": "https://example.com/derived",
468+
"$id": "https://example.com/unevaluated-items-with-dynamic-ref/derived",
469469

470-
"$ref": "/baseSchema",
470+
"$ref": "./baseSchema",
471471

472472
"$defs": {
473473
"derived": {
@@ -478,7 +478,7 @@
478478
]
479479
},
480480
"baseSchema": {
481-
"$id": "/baseSchema",
481+
"$id": "./baseSchema",
482482

483483
"$comment": "unevaluatedItems comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
484484
"unevaluatedItems": false,

tests/draft-next/unevaluatedProperties.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -719,9 +719,9 @@
719719
"description": "unevaluatedProperties with $dynamicRef",
720720
"schema": {
721721
"$schema": "https://json-schema.org/draft/next/schema",
722-
"$id": "https://example.com/derived",
722+
"$id": "https://example.com/unevaluated-properties-with-dynamic-ref/derived",
723723

724-
"$ref": "/baseSchema",
724+
"$ref": "./baseSchema",
725725

726726
"$defs": {
727727
"derived": {
@@ -731,7 +731,7 @@
731731
}
732732
},
733733
"baseSchema": {
734-
"$id": "/baseSchema",
734+
"$id": "./baseSchema",
735735

736736
"$comment": "unevaluatedProperties comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
737737
"unevaluatedProperties": false,

tests/draft2019-09/unevaluatedItems.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,11 @@
484484
"description": "unevaluatedItems with $recursiveRef",
485485
"schema": {
486486
"$schema": "https://json-schema.org/draft/2019-09/schema",
487-
"$id": "https://example.com/extended-tree",
487+
"$id": "https://example.com/unevaluated-items-with-recursive-ref/extended-tree",
488488

489489
"$recursiveAnchor": true,
490490

491-
"$ref": "/tree",
491+
"$ref": "./tree",
492492
"items": [
493493
true,
494494
true,
@@ -497,7 +497,7 @@
497497

498498
"$defs": {
499499
"tree": {
500-
"$id": "/tree",
500+
"$id": "./tree",
501501
"$recursiveAnchor": true,
502502

503503
"type": "array",

tests/draft2019-09/unevaluatedProperties.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -719,18 +719,18 @@
719719
"description": "unevaluatedProperties with $recursiveRef",
720720
"schema": {
721721
"$schema": "https://json-schema.org/draft/2019-09/schema",
722-
"$id": "https://example.com/extended-tree",
722+
"$id": "https://example.com/unevaluated-properties-with-recursive-ref/extended-tree",
723723

724724
"$recursiveAnchor": true,
725725

726-
"$ref": "/tree",
726+
"$ref": "./tree",
727727
"properties": {
728728
"name": { "type": "string" }
729729
},
730730

731731
"$defs": {
732732
"tree": {
733-
"$id": "/tree",
733+
"$id": "./tree",
734734
"$recursiveAnchor": true,
735735

736736
"type": "object",

tests/draft2020-12/unevaluatedItems.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,9 @@
465465
"description": "unevaluatedItems with $dynamicRef",
466466
"schema": {
467467
"$schema": "https://json-schema.org/draft/2020-12/schema",
468-
"$id": "https://example.com/derived",
468+
"$id": "https://example.com/unevaluated-items-with-dynamic-ref/derived",
469469

470-
"$ref": "/baseSchema",
470+
"$ref": "./baseSchema",
471471

472472
"$defs": {
473473
"derived": {
@@ -478,7 +478,7 @@
478478
]
479479
},
480480
"baseSchema": {
481-
"$id": "/baseSchema",
481+
"$id": "./baseSchema",
482482

483483
"$comment": "unevaluatedItems comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
484484
"unevaluatedItems": false,

tests/draft2020-12/unevaluatedProperties.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -719,9 +719,9 @@
719719
"description": "unevaluatedProperties with $dynamicRef",
720720
"schema": {
721721
"$schema": "https://json-schema.org/draft/2020-12/schema",
722-
"$id": "https://example.com/derived",
722+
"$id": "https://example.com/unevaluated-properties-with-dynamic-ref/derived",
723723

724-
"$ref": "/baseSchema",
724+
"$ref": "./baseSchema",
725725

726726
"$defs": {
727727
"derived": {
@@ -731,7 +731,7 @@
731731
}
732732
},
733733
"baseSchema": {
734-
"$id": "/baseSchema",
734+
"$id": "./baseSchema",
735735

736736
"$comment": "unevaluatedProperties comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
737737
"unevaluatedProperties": false,

0 commit comments

Comments
 (0)