Skip to content

Commit 4faa3c7

Browse files
committed
Fix and update mets/vocab dates
Should always be hyphen. Also, admit that this is not going to be done this month either :-/
1 parent 5e4cca4 commit 4faa3c7

15 files changed

+91
-91
lines changed

hyper-schema.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
3-
"$id": "http://json-schema.org/draft/2019-03/hyper-schema",
2+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
3+
"$id": "http://json-schema.org/draft/2019-04/hyper-schema",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2019/03/vocab/core": true,
6-
"https://json-schema.org/draft/2019/03/vocab/applicator": true,
7-
"https://json-schema.org/draft/2019/03/vocab/validation": true,
8-
"https://json-schema.org/draft/2019/03/vocab/meta-data": true,
9-
"https://json-schema.org/draft/2019/03/vocab/format": true,
10-
"https://json-schema.org/draft/2019/03/vocab/content": true,
11-
"https://json-schema.org/draft/2019/03/vocab/hyper-schema": true
5+
"https://json-schema.org/draft/2019-04/vocab/core": true,
6+
"https://json-schema.org/draft/2019-04/vocab/applicator": true,
7+
"https://json-schema.org/draft/2019-04/vocab/validation": true,
8+
"https://json-schema.org/draft/2019-04/vocab/meta-data": true,
9+
"https://json-schema.org/draft/2019-04/vocab/format": true,
10+
"https://json-schema.org/draft/2019-04/vocab/content": true,
11+
"https://json-schema.org/draft/2019-04/vocab/hyper-schema": true
1212
},
1313
"$recursiveAnchor": true,
1414

1515
"title": "JSON Hyper-Schema",
1616
"allOf": [
17-
{"$ref": "http://json-schema.org/draft/2019-03/schema"},
18-
{"$ref": "http://json-schema.org/draft/2019-03/meta/hyper-schema"}
17+
{"$ref": "http://json-schema.org/draft/2019-04/schema"},
18+
{"$ref": "http://json-schema.org/draft/2019-04/meta/hyper-schema"}
1919
],
2020
"links": [
2121
{

jsonschema-core.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,11 +1058,11 @@
10581058
</t>
10591059
<t>
10601060
The current URI for the Core vocabulary is:
1061-
<eref target="https://json-schema.org/draft/2019-03/vocab/core"/>.
1061+
<eref target="https://json-schema.org/draft/2019-04/vocab/core"/>.
10621062
</t>
10631063
<t>
10641064
The current URI for the corresponding meta-schema is:
1065-
<eref target="https://json-schema.org/draft/2019/03/meta/core"/>.
1065+
<eref target="https://json-schema.org/draft/2019-04/meta/core"/>.
10661066
</t>
10671067
<t>
10681068
Updated vocabulary and meta-schema URIs MAY be published between
@@ -1088,16 +1088,16 @@
10881088
<artwork>
10891089
<![CDATA[
10901090
{
1091-
"$schema": "https://json-schema.org/draft/2019-03/core-app-example#",
1092-
"$id": "https://json-schema.org/draft/2019-03/core-app-example",
1091+
"$schema": "https://json-schema.org/draft/2019-04/core-app-example#",
1092+
"$id": "https://json-schema.org/draft/2019-04/core-app-example",
10931093
"$recursiveAnchor": true,
10941094
"$vocabulary": {
1095-
"https://json-schema.org/draft/2019-03/vocab/core": true,
1096-
"https://json-schema.org/draft/2019-03/vocab/applicator": true
1095+
"https://json-schema.org/draft/2019-04/vocab/core": true,
1096+
"https://json-schema.org/draft/2019-04/vocab/applicator": true
10971097
},
10981098
"allOf": [
1099-
{"$ref": "https://json-schema.org/draft/2019-03/meta/core"},
1100-
{"$ref": "https://json-schema.org/draft/2019-03/meta/applicator"}
1099+
{"$ref": "https://json-schema.org/draft/2019-04/meta/core"},
1100+
{"$ref": "https://json-schema.org/draft/2019-04/meta/applicator"}
11011101
],
11021102
"patternProperties": {
11031103
"^unevaluated.*$": false
@@ -1359,7 +1359,7 @@
13591359
<artwork>
13601360
<![CDATA[
13611361
{
1362-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
1362+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
13631363
"$id": "https://example.com/original",
13641364
13651365
"properties": {
@@ -1373,7 +1373,7 @@
13731373
}
13741374
13751375
{
1376-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
1376+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
13771377
"$id": "https://example.com/extension",
13781378
13791379
"$ref": "original",
@@ -1472,7 +1472,7 @@
14721472
<artwork>
14731473
<![CDATA[
14741474
{
1475-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
1475+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
14761476
"$id": "https://example.com/original",
14771477
"$recursiveAnchor": true,
14781478
@@ -1487,7 +1487,7 @@
14871487
}
14881488
14891489
{
1490-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
1490+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
14911491
"$id": "https://example.com/extension",
14921492
"$recursiveAnchor": true,
14931493
@@ -1894,11 +1894,11 @@
18941894
</t>
18951895
<t>
18961896
The current URI for this vocabulary, known as the Applicator vocabulary, is:
1897-
<eref target="https://json-schema.org/draft/2019-03/vocab/applicator"/>.
1897+
<eref target="https://json-schema.org/draft/2019-04/vocab/applicator"/>.
18981898
</t>
18991899
<t>
19001900
The current URI for the corresponding meta-schema is:
1901-
<eref target="https://json-schema.org/draft/2019-03/meta/applicator"/>.
1901+
<eref target="https://json-schema.org/draft/2019-04/meta/applicator"/>.
19021902
</t>
19031903
<t>
19041904
Updated vocabulary and meta-schema URIs MAY be published between
@@ -2493,7 +2493,7 @@
24932493
<figure>
24942494
<artwork>
24952495
<![CDATA[
2496-
http://json-schema.org/draft/2019-03/schema#/$defs/nonNegativeInteger/minimum
2496+
http://json-schema.org/draft/2019-04/schema#/$defs/nonNegativeInteger/minimum
24972497
]]>
24982498
</artwork>
24992499
</figure>
@@ -2569,7 +2569,7 @@ http://json-schema.org/draft/2019-03/schema#/$defs/nonNegativeInteger/minimum
25692569
<![CDATA[
25702570
{
25712571
"$id": "http://example.com/polygon#",
2572-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
2572+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
25732573
"$defs": {
25742574
"point": {
25752575
"type": "object",
@@ -2781,15 +2781,15 @@ http://json-schema.org/draft/2019-03/schema#/$defs/nonNegativeInteger/minimum
27812781
<t>
27822782
Because this output structure can be quite large, a smaller example is given
27832783
here for brevity. The URI of the full output structure of the example above is:
2784-
<eref target="https://json-schema.org/draft/2019-03/output/verbose-example"/>.
2784+
<eref target="https://json-schema.org/draft/2019-04/output/verbose-example"/>.
27852785
</t>
27862786
<figure>
27872787
<artwork>
27882788
<![CDATA[
27892789
// schema
27902790
{
27912791
"$id": "http://example.com/polygon#",
2792-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
2792+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
27932793
"type": "object",
27942794
"properties": {
27952795
"validProp": true,
@@ -2843,7 +2843,7 @@ http://json-schema.org/draft/2019-03/schema#/$defs/nonNegativeInteger/minimum
28432843
<t>
28442844
For convenience, JSON Schema has been provided to validate output generated
28452845
by implementations. Its URI is:
2846-
<eref target="https://json-schema.org/draft/2019-03/output/schema"/>.
2846+
<eref target="https://json-schema.org/draft/2019-04/output/schema"/>.
28472847
</t>
28482848
</section>
28492849

jsonschema-hyperschema.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,24 @@
288288
<section title="Meta-Schemas and Output Schema">
289289
<t>
290290
The current URI for the JSON Hyper-Schema meta-schema is
291-
<eref target="http://json-schema.org/draft/2019-03/hyper-schema#"/>.
291+
<eref target="http://json-schema.org/draft/2019-04/hyper-schema#"/>.
292292
</t>
293293
<t>
294294
The current URI for this vocabulary, known as the Hyper-Schema vocabulary, is:
295-
<eref target="https://json-schema.org/draft/2019-03/vocab/hyper-schema"/>.
295+
<eref target="https://json-schema.org/draft/2019-04/vocab/hyper-schema"/>.
296296
</t>
297297
<t>
298298
The current URI for the corresponding meta-schema, which differs from the
299299
convenience meta-schema above in that it describes only the hyper-schema
300300
keywords ("base" and "link") is:
301-
<eref target="https://json-schema.org/draft/2019-03/meta/hyper-schema"/>.
301+
<eref target="https://json-schema.org/draft/2019-04/meta/hyper-schema"/>.
302302
</t>
303303
<t>
304304
The <xref target="ldo">link description format</xref> can be used without JSON
305305
Schema, and use of this format can be declared by referencing the normative
306306
link description schema as the schema for the data structure that uses the links.
307307
The URI of the normative link description schema is:
308-
<eref target="http://json-schema.org/draft/2019-03/links#"/>.
308+
<eref target="http://json-schema.org/draft/2019-04/links#"/>.
309309
</t>
310310
<t>
311311
JSON Hyper-Schema implementations are free to provide output in any format.
@@ -316,7 +316,7 @@
316316
It is RECOMMENDED that implementations be capable of producing output
317317
in this format to facilitated testing. The URI of the JSON Schema
318318
describing the recommended output format is
319-
<eref target="http://json-schema.org/draft/2019-03/output/hyper-schema#"/>.
319+
<eref target="http://json-schema.org/draft/2019-04/output/hyper-schema#"/>.
320320
</t>
321321
<t>
322322
Updated vocabulary and meta-schema URIs MAY be published between
@@ -1624,7 +1624,7 @@ Link: <https://schema.example.com/entry>; rel="describedBy"
16241624
<![CDATA[
16251625
{
16261626
"$id": "https://schema.example.com/entry",
1627-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
1627+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
16281628
"base": "https://example.com/api/",
16291629
"links": [
16301630
{
@@ -1698,7 +1698,7 @@ Link: <https://schema.example.com/entry>; rel="describedBy"
16981698
<artwork>
16991699
<![CDATA[{
17001700
"$id": "https://schema.example.com/thing",
1701-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
1701+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
17021702
"base": "https://example.com/api/",
17031703
"type": "object",
17041704
"required": ["data"],
@@ -1814,7 +1814,7 @@ Link: <https://schema.example.com/entry>; rel="describedBy"
18141814
<artwork>
18151815
<![CDATA[{
18161816
"$id": "https://schema.example.com/interesting-stuff",
1817-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
1817+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
18181818
"required": ["stuffWorthEmailingAbout", "email", "title"],
18191819
"properties": {
18201820
"title": {
@@ -2001,7 +2001,7 @@ Link: <https://example.com/api/trees/1/nodes/456>; rev="up"
20012001
<artwork>
20022002
<![CDATA[{
20032003
"$id": "https://schema.example.com/tree-node",
2004-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
2004+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
20052005
"base": "trees/{treeId}/",
20062006
"properties": {
20072007
"id": {"type": "integer"},
@@ -2063,7 +2063,7 @@ Link: <https://example.com/api/trees/1/nodes/456>; rev="up"
20632063
<artwork>
20642064
<![CDATA[{
20652065
"$id": "https://schema.example.com/thing",
2066-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
2066+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
20672067
"base": "https://example.com/api/",
20682068
"type": "object",
20692069
"required": ["data"],
@@ -2116,7 +2116,7 @@ Link: <https://example.com/api/trees/1/nodes/456>; rev="up"
21162116
<artwork>
21172117
<![CDATA[{
21182118
"$id": "https://schema.example.com/thing-collection",
2119-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
2119+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
21202120
"base": "https://example.com/api/",
21212121
"type": "object",
21222122
"required": ["elements"],

jsonschema-validation.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
<section title="Meta-Schema">
193193
<t>
194194
The current URI for the JSON Schema Validation meta-schema is
195-
<eref target="http://json-schema.org/draft/2019-03/schenma#"/>.
195+
<eref target="http://json-schema.org/draft/2019-04/schenma#"/>.
196196
For schema author convenience, this meta-schema describes all vocabularies
197197
defined in this specification and the JSON Schema Core specification.
198198
Individual vocabulary and vocabulary meta-schema URIs are given for
@@ -218,11 +218,11 @@
218218
</t>
219219
<t>
220220
The current URI for this vocabulary, known as the Validation vocabulary, is:
221-
<eref target="https://json-schema.org/draft/2019-03/vocab/validation"/>.
221+
<eref target="https://json-schema.org/draft/2019-04/vocab/validation"/>.
222222
</t>
223223
<t>
224224
The current URI for the corresponding meta-schema is:
225-
<eref target="https://json-schema.org/draft/2019-03/meta/validation"/>.
225+
<eref target="https://json-schema.org/draft/2019-04/meta/validation"/>.
226226
</t>
227227

228228
<section title="Validation Keywords for Any Instance Type" anchor="general">
@@ -539,11 +539,11 @@
539539
</t>
540540
<t>
541541
The current URI for this vocabulary, known as the Format vocabulary, is:
542-
<eref target="https://json-schema.org/draft/2019-03/vocab/format"/>.
542+
<eref target="https://json-schema.org/draft/2019-04/vocab/format"/>.
543543
</t>
544544
<t>
545545
The current URI for the corresponding meta-schema is:
546-
<eref target="https://json-schema.org/draft/2019-03/meta/format"/>.
546+
<eref target="https://json-schema.org/draft/2019-04/meta/format"/>.
547547
</t>
548548

549549
</section>
@@ -784,11 +784,11 @@
784784
</t>
785785
<t>
786786
The current URI for this vocabulary, known as the Content vocabulary, is:
787-
<eref target="https://json-schema.org/draft/2019-03/vocab/content"/>.
787+
<eref target="https://json-schema.org/draft/2019-04/vocab/content"/>.
788788
</t>
789789
<t>
790790
The current URI for the corresponding meta-schema is:
791-
<eref target="https://json-schema.org/draft/2019-03/meta/content"/>.
791+
<eref target="https://json-schema.org/draft/2019-04/meta/content"/>.
792792
</t>
793793
</section>
794794

@@ -972,11 +972,11 @@
972972
</t>
973973
<t>
974974
The current URI for this vocabulary, known as the Meta-Data vocabulary, is:
975-
<eref target="https://json-schema.org/draft/2019-03/vocab/meta-data"/>.
975+
<eref target="https://json-schema.org/draft/2019-04/vocab/meta-data"/>.
976976
</t>
977977
<t>
978978
The current URI for the corresponding meta-schema is:
979-
<eref target="https://json-schema.org/draft/2019-03/meta/meta-data"/>.
979+
<eref target="https://json-schema.org/draft/2019-04/meta/meta-data"/>.
980980
</t>
981981

982982
<section title='"title" and "description"'>

links.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft/2019-03/hyper-schema#",
3-
"$id": "http://json-schema.org/draft/2019-03/links",
2+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
3+
"$id": "http://json-schema.org/draft/2019-04/links",
44
"title": "Link Description Object",
55
"allOf": [
66
{ "required": [ "rel", "href" ] },
@@ -36,7 +36,7 @@
3636
"format": "uri-template"
3737
},
3838
"hrefSchema": {
39-
"$recursiveRef": "http://json-schema.org/draft/2019-03/hyper-schema",
39+
"$recursiveRef": "http://json-schema.org/draft/2019-04/hyper-schema",
4040
"default": false
4141
},
4242
"templatePointers": {
@@ -63,23 +63,23 @@
6363
"type": "string"
6464
},
6565
"targetSchema": {
66-
"$recursiveRef": "http://json-schema.org/draft/2019-03/hyper-schema",
66+
"$recursiveRef": "http://json-schema.org/draft/2019-04/hyper-schema",
6767
"default": true
6868
},
6969
"targetMediaType": {
7070
"type": "string"
7171
},
7272
"targetHints": { },
7373
"headerSchema": {
74-
"$recursiveRef": "http://json-schema.org/draft/2019-03/hyper-schema",
74+
"$recursiveRef": "http://json-schema.org/draft/2019-04/hyper-schema",
7575
"default": true
7676
},
7777
"submissionMediaType": {
7878
"type": "string",
7979
"default": "application/json"
8080
},
8181
"submissionSchema": {
82-
"$recursiveRef": "http://json-schema.org/draft/2019-03/hyper-schema",
82+
"$recursiveRef": "http://json-schema.org/draft/2019-04/hyper-schema",
8383
"default": true
8484
},
8585
"$comment": {

meta/applicator.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
3-
"$id": "https://json-schema.org/draft/2019-03/meta/applicator",
2+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
3+
"$id": "https://json-schema.org/draft/2019-04/meta/applicator",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2019-03/vocab/applicator": true
5+
"https://json-schema.org/draft/2019-04/vocab/applicator": true
66
},
77
"$recursiveAnchor": true,
88

meta/content.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "http://json-schema.org/draft/2019-03/schema#",
3-
"$id": "http://json-schema.org/draft/2019-03/meta/content",
2+
"$schema": "http://json-schema.org/draft/2019-04/schema#",
3+
"$id": "http://json-schema.org/draft/2019-04/meta/content",
44
"$vocabulary": {
5-
"https://json-schema.org/draft/2019-03/vocab/content": true
5+
"https://json-schema.org/draft/2019-04/vocab/content": true
66
},
77
"$recursiveAnchor": true,
88

0 commit comments

Comments
 (0)