Skip to content

Commit 8da0a7b

Browse files
authored
Merge pull request #792 from jdesrosiers/more-v1-transistion
Fix more "draft/next" occurrences that we missed
2 parents 8fd4fce + 94c0b0e commit 8da0a7b

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

output-tests/v1/content/general.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "failed validation produces no annotations",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/next/schema",
5+
"$schema": "https://json-schema.org/v1",
66
"$id": "https://json-schema.org/tests/content/v1/general/0",
77
"type": "string",
88
"readOnly": true
@@ -14,7 +14,7 @@
1414
"output": {
1515
"list": {
1616
"$id": "https://json-schema.org/tests/content/v1/general/0/tests/0/basic",
17-
"$ref": "/draft/next/output/schema",
17+
"$ref": "/v1/output/schema",
1818
"properties": {
1919
"details": {
2020
"contains": {

output-tests/v1/content/readOnly.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "readOnly generates its value as an annotation",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/next/schema",
5+
"$schema": "https://json-schema.org/v1",
66
"$id": "https://json-schema.org/tests/content/v1/readOnly/0",
77
"readOnly": true
88
},
@@ -13,7 +13,7 @@
1313
"output": {
1414
"list": {
1515
"$id": "https://json-schema.org/tests/content/v1/readOnly/0/tests/0/basic",
16-
"$ref": "/draft/next/output/schema",
16+
"$ref": "/v1/output/schema",
1717
"properties": {
1818
"details": {
1919
"contains": {

output-tests/v1/content/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "incorrect type",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/next/schema",
5+
"$schema": "https://json-schema.org/v1",
66
"$id": "https://json-schema.org/tests/content/v1/type/0",
77
"type": "string"
88
},
@@ -13,7 +13,7 @@
1313
"output": {
1414
"list": {
1515
"$id": "https://json-schema.org/tests/content/v1/type/0/tests/0/basic",
16-
"$ref": "/draft/next/output/schema",
16+
"$ref": "/v1/output/schema",
1717
"properties": {
1818
"details": {
1919
"contains": {

output-tests/v1/output-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "https://json-schema.org/draft/next/schema",
3-
"$id": "https://json-schema.org/draft/next/output/schema",
2+
"$schema": "https://json-schema.org/v1",
3+
"$id": "https://json-schema.org/v1/output/schema",
44
"description": "A schema that validates the minimum requirements for validation output",
55

66
"anyOf": [

tests/v1/format/hostname.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
{
133133
"description": "validation of A-label (punycode) host names",
134134
"schema": {
135-
"$schema": "https://json-schema.org/draft/next/schema",
135+
"$schema": "https://json-schema.org/v1",
136136
"format": "hostname"
137137
},
138138
"tests": [

tests/v1/optional/format-annotation.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"description": "email format",
44
"schema": {
5-
"$schema": "https://json-schema.org/draft/next/schema",
5+
"$schema": "https://json-schema.org/v1",
66
"format": "email"
77
},
88
"tests": [
@@ -46,7 +46,7 @@
4646
{
4747
"description": "idn-email format",
4848
"schema": {
49-
"$schema": "https://json-schema.org/draft/next/schema",
49+
"$schema": "https://json-schema.org/v1",
5050
"format": "idn-email"
5151
},
5252
"tests": [
@@ -90,7 +90,7 @@
9090
{
9191
"description": "regex format",
9292
"schema": {
93-
"$schema": "https://json-schema.org/draft/next/schema",
93+
"$schema": "https://json-schema.org/v1",
9494
"format": "regex"
9595
},
9696
"tests": [
@@ -134,7 +134,7 @@
134134
{
135135
"description": "ipv4 format",
136136
"schema": {
137-
"$schema": "https://json-schema.org/draft/next/schema",
137+
"$schema": "https://json-schema.org/v1",
138138
"format": "ipv4"
139139
},
140140
"tests": [
@@ -178,7 +178,7 @@
178178
{
179179
"description": "ipv6 format",
180180
"schema": {
181-
"$schema": "https://json-schema.org/draft/next/schema",
181+
"$schema": "https://json-schema.org/v1",
182182
"format": "ipv6"
183183
},
184184
"tests": [
@@ -222,7 +222,7 @@
222222
{
223223
"description": "idn-hostname format",
224224
"schema": {
225-
"$schema": "https://json-schema.org/draft/next/schema",
225+
"$schema": "https://json-schema.org/v1",
226226
"format": "idn-hostname"
227227
},
228228
"tests": [
@@ -266,7 +266,7 @@
266266
{
267267
"description": "hostname format",
268268
"schema": {
269-
"$schema": "https://json-schema.org/draft/next/schema",
269+
"$schema": "https://json-schema.org/v1",
270270
"format": "hostname"
271271
},
272272
"tests": [
@@ -310,7 +310,7 @@
310310
{
311311
"description": "date format",
312312
"schema": {
313-
"$schema": "https://json-schema.org/draft/next/schema",
313+
"$schema": "https://json-schema.org/v1",
314314
"format": "date"
315315
},
316316
"tests": [
@@ -354,7 +354,7 @@
354354
{
355355
"description": "date-time format",
356356
"schema": {
357-
"$schema": "https://json-schema.org/draft/next/schema",
357+
"$schema": "https://json-schema.org/v1",
358358
"format": "date-time"
359359
},
360360
"tests": [
@@ -398,7 +398,7 @@
398398
{
399399
"description": "time format",
400400
"schema": {
401-
"$schema": "https://json-schema.org/draft/next/schema",
401+
"$schema": "https://json-schema.org/v1",
402402
"format": "time"
403403
},
404404
"tests": [
@@ -442,7 +442,7 @@
442442
{
443443
"description": "json-pointer format",
444444
"schema": {
445-
"$schema": "https://json-schema.org/draft/next/schema",
445+
"$schema": "https://json-schema.org/v1",
446446
"format": "json-pointer"
447447
},
448448
"tests": [
@@ -486,7 +486,7 @@
486486
{
487487
"description": "relative-json-pointer format",
488488
"schema": {
489-
"$schema": "https://json-schema.org/draft/next/schema",
489+
"$schema": "https://json-schema.org/v1",
490490
"format": "relative-json-pointer"
491491
},
492492
"tests": [
@@ -530,7 +530,7 @@
530530
{
531531
"description": "iri format",
532532
"schema": {
533-
"$schema": "https://json-schema.org/draft/next/schema",
533+
"$schema": "https://json-schema.org/v1",
534534
"format": "iri"
535535
},
536536
"tests": [
@@ -574,7 +574,7 @@
574574
{
575575
"description": "iri-reference format",
576576
"schema": {
577-
"$schema": "https://json-schema.org/draft/next/schema",
577+
"$schema": "https://json-schema.org/v1",
578578
"format": "iri-reference"
579579
},
580580
"tests": [
@@ -618,7 +618,7 @@
618618
{
619619
"description": "uri format",
620620
"schema": {
621-
"$schema": "https://json-schema.org/draft/next/schema",
621+
"$schema": "https://json-schema.org/v1",
622622
"format": "uri"
623623
},
624624
"tests": [
@@ -662,7 +662,7 @@
662662
{
663663
"description": "uri-reference format",
664664
"schema": {
665-
"$schema": "https://json-schema.org/draft/next/schema",
665+
"$schema": "https://json-schema.org/v1",
666666
"format": "uri-reference"
667667
},
668668
"tests": [
@@ -706,7 +706,7 @@
706706
{
707707
"description": "uri-template format",
708708
"schema": {
709-
"$schema": "https://json-schema.org/draft/next/schema",
709+
"$schema": "https://json-schema.org/v1",
710710
"format": "uri-template"
711711
},
712712
"tests": [
@@ -750,7 +750,7 @@
750750
{
751751
"description": "uuid format",
752752
"schema": {
753-
"$schema": "https://json-schema.org/draft/next/schema",
753+
"$schema": "https://json-schema.org/v1",
754754
"format": "uuid"
755755
},
756756
"tests": [
@@ -794,7 +794,7 @@
794794
{
795795
"description": "duration format",
796796
"schema": {
797-
"$schema": "https://json-schema.org/draft/next/schema",
797+
"$schema": "https://json-schema.org/v1",
798798
"format": "duration"
799799
},
800800
"tests": [

tests/v1/optional/unknownKeyword.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "$id inside an unknown keyword is not a real identifier",
44
"comment": "the implementation must not be confused by an $id in locations we do not know how to parse",
55
"schema": {
6-
"$schema": "https://json-schema.org/draft/next/schema",
6+
"$schema": "https://json-schema.org/v1",
77
"$defs": {
88
"id_in_unknown0": {
99
"not": {

0 commit comments

Comments
 (0)