From 94c0b0e1e7339ec2583d455f230d1abedb03057d Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Sat, 8 Nov 2025 11:15:49 -0800 Subject: [PATCH] Fix more "draft/next" occurances that we missed --- output-tests/v1/content/general.json | 4 +-- output-tests/v1/content/readOnly.json | 4 +-- output-tests/v1/content/type.json | 4 +-- output-tests/v1/output-schema.json | 4 +-- tests/v1/format/hostname.json | 2 +- tests/v1/optional/format-annotation.json | 38 ++++++++++++------------ tests/v1/optional/unknownKeyword.json | 2 +- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/output-tests/v1/content/general.json b/output-tests/v1/content/general.json index bddaa4e1..247b3487 100644 --- a/output-tests/v1/content/general.json +++ b/output-tests/v1/content/general.json @@ -2,7 +2,7 @@ { "description": "failed validation produces no annotations", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "$id": "https://json-schema.org/tests/content/v1/general/0", "type": "string", "readOnly": true @@ -14,7 +14,7 @@ "output": { "list": { "$id": "https://json-schema.org/tests/content/v1/general/0/tests/0/basic", - "$ref": "/draft/next/output/schema", + "$ref": "/v1/output/schema", "properties": { "details": { "contains": { diff --git a/output-tests/v1/content/readOnly.json b/output-tests/v1/content/readOnly.json index 959904ba..2f1069c6 100644 --- a/output-tests/v1/content/readOnly.json +++ b/output-tests/v1/content/readOnly.json @@ -2,7 +2,7 @@ { "description": "readOnly generates its value as an annotation", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "$id": "https://json-schema.org/tests/content/v1/readOnly/0", "readOnly": true }, @@ -13,7 +13,7 @@ "output": { "list": { "$id": "https://json-schema.org/tests/content/v1/readOnly/0/tests/0/basic", - "$ref": "/draft/next/output/schema", + "$ref": "/v1/output/schema", "properties": { "details": { "contains": { diff --git a/output-tests/v1/content/type.json b/output-tests/v1/content/type.json index 5dd9cad4..3ed1b9b8 100644 --- a/output-tests/v1/content/type.json +++ b/output-tests/v1/content/type.json @@ -2,7 +2,7 @@ { "description": "incorrect type", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "$id": "https://json-schema.org/tests/content/v1/type/0", "type": "string" }, @@ -13,7 +13,7 @@ "output": { "list": { "$id": "https://json-schema.org/tests/content/v1/type/0/tests/0/basic", - "$ref": "/draft/next/output/schema", + "$ref": "/v1/output/schema", "properties": { "details": { "contains": { diff --git a/output-tests/v1/output-schema.json b/output-tests/v1/output-schema.json index 26286fa4..fec1f58c 100644 --- a/output-tests/v1/output-schema.json +++ b/output-tests/v1/output-schema.json @@ -1,6 +1,6 @@ { - "$schema": "https://json-schema.org/draft/next/schema", - "$id": "https://json-schema.org/draft/next/output/schema", + "$schema": "https://json-schema.org/v1", + "$id": "https://json-schema.org/v1/output/schema", "description": "A schema that validates the minimum requirements for validation output", "anyOf": [ diff --git a/tests/v1/format/hostname.json b/tests/v1/format/hostname.json index 607c1c87..df2da272 100644 --- a/tests/v1/format/hostname.json +++ b/tests/v1/format/hostname.json @@ -132,7 +132,7 @@ { "description": "validation of A-label (punycode) host names", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "hostname" }, "tests": [ diff --git a/tests/v1/optional/format-annotation.json b/tests/v1/optional/format-annotation.json index ec6c7f1d..b1b24fec 100644 --- a/tests/v1/optional/format-annotation.json +++ b/tests/v1/optional/format-annotation.json @@ -2,7 +2,7 @@ { "description": "email format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "email" }, "tests": [ @@ -46,7 +46,7 @@ { "description": "idn-email format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "idn-email" }, "tests": [ @@ -90,7 +90,7 @@ { "description": "regex format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "regex" }, "tests": [ @@ -134,7 +134,7 @@ { "description": "ipv4 format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "ipv4" }, "tests": [ @@ -178,7 +178,7 @@ { "description": "ipv6 format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "ipv6" }, "tests": [ @@ -222,7 +222,7 @@ { "description": "idn-hostname format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "idn-hostname" }, "tests": [ @@ -266,7 +266,7 @@ { "description": "hostname format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "hostname" }, "tests": [ @@ -310,7 +310,7 @@ { "description": "date format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "date" }, "tests": [ @@ -354,7 +354,7 @@ { "description": "date-time format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "date-time" }, "tests": [ @@ -398,7 +398,7 @@ { "description": "time format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "time" }, "tests": [ @@ -442,7 +442,7 @@ { "description": "json-pointer format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "json-pointer" }, "tests": [ @@ -486,7 +486,7 @@ { "description": "relative-json-pointer format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "relative-json-pointer" }, "tests": [ @@ -530,7 +530,7 @@ { "description": "iri format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "iri" }, "tests": [ @@ -574,7 +574,7 @@ { "description": "iri-reference format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "iri-reference" }, "tests": [ @@ -618,7 +618,7 @@ { "description": "uri format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "uri" }, "tests": [ @@ -662,7 +662,7 @@ { "description": "uri-reference format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "uri-reference" }, "tests": [ @@ -706,7 +706,7 @@ { "description": "uri-template format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "uri-template" }, "tests": [ @@ -750,7 +750,7 @@ { "description": "uuid format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "uuid" }, "tests": [ @@ -794,7 +794,7 @@ { "description": "duration format", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "format": "duration" }, "tests": [ diff --git a/tests/v1/optional/unknownKeyword.json b/tests/v1/optional/unknownKeyword.json index f3fb4e6e..7d807c0e 100644 --- a/tests/v1/optional/unknownKeyword.json +++ b/tests/v1/optional/unknownKeyword.json @@ -3,7 +3,7 @@ "description": "$id inside an unknown keyword is not a real identifier", "comment": "the implementation must not be confused by an $id in locations we do not know how to parse", "schema": { - "$schema": "https://json-schema.org/draft/next/schema", + "$schema": "https://json-schema.org/v1", "$defs": { "id_in_unknown0": { "not": {