Skip to content

Commit

Permalink
Fix duplidate identifiers in recently added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesrosiers committed Nov 29, 2023
1 parent 3dab98c commit d545be2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions tests/draft-next/unevaluatedItems.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@
"description": "unevaluatedItems with $dynamicRef",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/derived",
"$id": "https://example.com/unevaluated-items-with-dynamic-ref/derived",

"$ref": "/baseSchema",
"$ref": "./baseSchema",

"$defs": {
"derived": {
Expand All @@ -478,7 +478,7 @@
]
},
"baseSchema": {
"$id": "/baseSchema",
"$id": "./baseSchema",

"$comment": "unevaluatedItems comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
"unevaluatedItems": false,
Expand Down
6 changes: 3 additions & 3 deletions tests/draft-next/unevaluatedProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,9 @@
"description": "unevaluatedProperties with $dynamicRef",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://example.com/derived",
"$id": "https://example.com/unevaluated-properties-with-dynamic-ref/derived",

"$ref": "/baseSchema",
"$ref": "./baseSchema",

"$defs": {
"derived": {
Expand All @@ -731,7 +731,7 @@
}
},
"baseSchema": {
"$id": "/baseSchema",
"$id": "./baseSchema",

"$comment": "unevaluatedProperties comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
"unevaluatedProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions tests/draft2019-09/unevaluatedItems.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,11 +484,11 @@
"description": "unevaluatedItems with $recursiveRef",
"schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://example.com/extended-tree",
"$id": "https://example.com/unevaluated-items-with-recursive-ref/extended-tree",

"$recursiveAnchor": true,

"$ref": "/tree",
"$ref": "./tree",
"items": [
true,
true,
Expand All @@ -497,7 +497,7 @@

"$defs": {
"tree": {
"$id": "/tree",
"$id": "./tree",
"$recursiveAnchor": true,

"type": "array",
Expand Down
6 changes: 3 additions & 3 deletions tests/draft2019-09/unevaluatedProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -719,18 +719,18 @@
"description": "unevaluatedProperties with $recursiveRef",
"schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://example.com/extended-tree",
"$id": "https://example.com/unevaluated-properties-with-recursive-ref/extended-tree",

"$recursiveAnchor": true,

"$ref": "/tree",
"$ref": "./tree",
"properties": {
"name": { "type": "string" }
},

"$defs": {
"tree": {
"$id": "/tree",
"$id": "./tree",
"$recursiveAnchor": true,

"type": "object",
Expand Down
6 changes: 3 additions & 3 deletions tests/draft2020-12/unevaluatedItems.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@
"description": "unevaluatedItems with $dynamicRef",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/derived",
"$id": "https://example.com/unevaluated-items-with-dynamic-ref/derived",

"$ref": "/baseSchema",
"$ref": "./baseSchema",

"$defs": {
"derived": {
Expand All @@ -478,7 +478,7 @@
]
},
"baseSchema": {
"$id": "/baseSchema",
"$id": "./baseSchema",

"$comment": "unevaluatedItems comes first so it's more likely to catch bugs with implementations that are sensitive to keyword ordering",
"unevaluatedItems": false,
Expand Down
6 changes: 3 additions & 3 deletions tests/draft2020-12/unevaluatedProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,9 @@
"description": "unevaluatedProperties with $dynamicRef",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/derived",
"$id": "https://example.com/unevaluated-properties-with-dynamic-ref/derived",

"$ref": "/baseSchema",
"$ref": "./baseSchema",

"$defs": {
"derived": {
Expand All @@ -731,7 +731,7 @@
}
},
"baseSchema": {
"$id": "/baseSchema",
"$id": "./baseSchema",

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

0 comments on commit d545be2

Please sign in to comment.