From d545be21272c53bbb8b93f5d2bf394e25b5c4e86 Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Mon, 27 Nov 2023 10:04:29 -0800 Subject: [PATCH] Fix duplidate identifiers in recently added tests --- tests/draft-next/unevaluatedItems.json | 6 +++--- tests/draft-next/unevaluatedProperties.json | 6 +++--- tests/draft2019-09/unevaluatedItems.json | 6 +++--- tests/draft2019-09/unevaluatedProperties.json | 6 +++--- tests/draft2020-12/unevaluatedItems.json | 6 +++--- tests/draft2020-12/unevaluatedProperties.json | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/draft-next/unevaluatedItems.json b/tests/draft-next/unevaluatedItems.json index 8dda001f..21e6fd67 100644 --- a/tests/draft-next/unevaluatedItems.json +++ b/tests/draft-next/unevaluatedItems.json @@ -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": { @@ -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, diff --git a/tests/draft-next/unevaluatedProperties.json b/tests/draft-next/unevaluatedProperties.json index e1a00fea..78127cd0 100644 --- a/tests/draft-next/unevaluatedProperties.json +++ b/tests/draft-next/unevaluatedProperties.json @@ -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": { @@ -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, diff --git a/tests/draft2019-09/unevaluatedItems.json b/tests/draft2019-09/unevaluatedItems.json index 9c115ab3..57d0a9c0 100644 --- a/tests/draft2019-09/unevaluatedItems.json +++ b/tests/draft2019-09/unevaluatedItems.json @@ -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, @@ -497,7 +497,7 @@ "$defs": { "tree": { - "$id": "/tree", + "$id": "./tree", "$recursiveAnchor": true, "type": "array", diff --git a/tests/draft2019-09/unevaluatedProperties.json b/tests/draft2019-09/unevaluatedProperties.json index 4e0d3ec8..a8d7fffe 100644 --- a/tests/draft2019-09/unevaluatedProperties.json +++ b/tests/draft2019-09/unevaluatedProperties.json @@ -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", diff --git a/tests/draft2020-12/unevaluatedItems.json b/tests/draft2020-12/unevaluatedItems.json index ddc35da2..276d7a5b 100644 --- a/tests/draft2020-12/unevaluatedItems.json +++ b/tests/draft2020-12/unevaluatedItems.json @@ -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": { @@ -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, diff --git a/tests/draft2020-12/unevaluatedProperties.json b/tests/draft2020-12/unevaluatedProperties.json index 023e84a5..fcbbfa11 100644 --- a/tests/draft2020-12/unevaluatedProperties.json +++ b/tests/draft2020-12/unevaluatedProperties.json @@ -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": { @@ -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,