Skip to content

Commit e7f8b3e

Browse files
Merge pull request #496 from json-schema-org/ether/missing-identifiers
use unique identifiers so schemas do not conflict
2 parents 17fa958 + c8d79ee commit e7f8b3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/draft2020-12/dynamicRef.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{
33
"description": "A $dynamicRef to a $dynamicAnchor in the same schema resource should behave like a normal $ref to an $anchor",
44
"schema": {
5+
"$id": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root",
56
"type": "array",
67
"items": { "$dynamicRef": "#items" },
78
"$defs": {
@@ -27,6 +28,7 @@
2728
{
2829
"description": "A $dynamicRef to an $anchor in the same schema resource should behave like a normal $ref to an $anchor",
2930
"schema": {
31+
"$id": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root",
3032
"type": "array",
3133
"items": { "$dynamicRef": "#items" },
3234
"$defs": {
@@ -52,6 +54,7 @@
5254
{
5355
"description": "A $ref to a $dynamicAnchor in the same schema resource should behave like a normal $ref to an $anchor",
5456
"schema": {
57+
"$id": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root",
5558
"type": "array",
5659
"items": { "$ref": "#items" },
5760
"$defs": {

0 commit comments

Comments
 (0)