Skip to content

Commit 4d05da4

Browse files
committed
Initial update for draft-08 / handrews-*-02
This updates the various numberings to avoid confusion between the work-in-progress drafts and the published draft-07 and draft-handrews-*-01 documents.
1 parent 1afc34b commit 4d05da4

7 files changed

+47
-32
lines changed

hyper-schema-output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"$id": "http://json-schema.org/draft-7/hyper-schema-output",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
2+
"$id": "http://json-schema.org/draft-08/hyper-schema-output",
3+
"$schema": "http://json-schema.org/draft-08/schema#",
44
"type": "array",
55
"items": {
66
"allOf": [
7-
{"$ref": "http://json-schema.org/draft-07/links#/definitions/noRequiredFields" }
7+
{"$ref": "http://json-schema.org/draft-08/links#/definitions/noRequiredFields" }
88
],
99
"type": "object",
1010
"required": [

hyper-schema.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
3-
"$id": "http://json-schema.org/draft-07/hyper-schema#",
2+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-08/hyper-schema#",
44
"title": "JSON Hyper-Schema",
55
"definitions": {
66
"schemaArray": {
77
"allOf": [
8-
{ "$ref": "http://json-schema.org/draft-07/schema#/definitions/schemaArray" },
8+
{ "$ref": "http://json-schema.org/draft-08/schema#/definitions/schemaArray" },
99
{
1010
"items": { "$ref": "#" }
1111
}
1212
]
1313
}
1414
},
15-
"allOf": [ { "$ref": "http://json-schema.org/draft-07/schema#" } ],
15+
"allOf": [ { "$ref": "http://json-schema.org/draft-08/schema#" } ],
1616
"properties": {
1717
"additionalItems": { "$ref": "#" },
1818
"additionalProperties": { "$ref": "#"},
@@ -56,7 +56,7 @@
5656
"links": {
5757
"type": "array",
5858
"items": {
59-
"$ref": "http://json-schema.org/draft-07/links#"
59+
"$ref": "http://json-schema.org/draft-08/links#"
6060
}
6161
}
6262
},

jsonschema-core.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<?rfc rfcedstyle="yes"?>
2020
<?rfc comments="yes"?>
2121
<?rfc inline="yes" ?>
22-
<rfc category="info" docName="draft-handrews-json-schema-01" ipr="trust200902">
22+
<rfc category="info" docName="draft-handrews-json-schema-02" ipr="trust200902">
2323
<front>
2424
<title abbrev="JSON Schema">JSON Schema: A Media Type for Describing JSON Documents</title>
2525

@@ -1123,7 +1123,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
11231123
</author>
11241124
<date year="2017" month="November"/>
11251125
</front>
1126-
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-validation-01" />
1126+
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-validation-02" />
11271127
</reference>
11281128
<reference anchor="json-hyper-schema">
11291129
<front>
@@ -1136,7 +1136,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
11361136
</author>
11371137
<date year="2017" month="November"/>
11381138
</front>
1139-
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-hyperschema-01" />
1139+
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-hyperschema-02" />
11401140
</reference>
11411141
</references>
11421142

@@ -1170,6 +1170,11 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
11701170
</t>
11711171
<t>
11721172
<list style="hanging">
1173+
<t hangText="draft-handrews-json-schema-02">
1174+
<list style="symbols">
1175+
<t></t>
1176+
</list>
1177+
</t>
11731178
<t hangText="draft-handrews-json-schema-01">
11741179
<list style="symbols">
11751180
<t>This draft is purely a clarification with no functional changes</t>

jsonschema-hyperschema.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<?rfc rfcedstyle="yes"?>
2525
<?rfc comments="yes"?>
2626
<?rfc inline="yes" ?>
27-
<rfc category="info" docName="draft-handrews-json-schema-hyperschema-01" ipr="trust200902">
27+
<rfc category="info" docName="draft-handrews-json-schema-hyperschema-02" ipr="trust200902">
2828
<front>
2929
<title abbrev="JSON Hyper-Schema">
3030
JSON Hyper-Schema: A Vocabulary for Hypermedia Annotation of JSON
@@ -286,14 +286,14 @@
286286
<section title="Meta-Schemas and Output Schema">
287287
<t>
288288
The current URI for the JSON Hyper-Schema meta-schema is
289-
<eref target="http://json-schema.org/draft-07/hyper-schema#"/>.
289+
<eref target="http://json-schema.org/draft-08/hyper-schema#"/>.
290290
</t>
291291
<t>
292292
The <xref target="ldo">link description format</xref> can be used without JSON
293293
Schema, and use of this format can be declared by referencing the normative
294294
link description schema as the schema for the data structure that uses the links.
295295
The URI of the normative link description schema is:
296-
<eref target="http://json-schema.org/draft-07/links#"/>.
296+
<eref target="http://json-schema.org/draft-08/links#"/>.
297297
</t>
298298
<t>
299299
JSON Hyper-Schema implementations are free to provide output in any format.
@@ -304,7 +304,7 @@
304304
It is RECOMMENDED that implementations be capable of producing output
305305
in this format to facilitated testing. The URI of the JSON Schema
306306
describing the recommended output format is
307-
<eref target="http://json-schema.org/draft-07/hyper-schema-output#"/>.
307+
<eref target="http://json-schema.org/draft-08/hyper-schema-output#"/>.
308308
</t>
309309
</section>
310310
<section title="Schema Keywords">
@@ -1569,7 +1569,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
15691569
<![CDATA[
15701570
{
15711571
"$id": "https://schema.example.com/entry",
1572-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
1572+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
15731573
"base": "https://api.example.com/",
15741574
"links": [
15751575
{
@@ -1623,7 +1623,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
16231623
<artwork>
16241624
<![CDATA[{
16251625
"$id": "https://schema.example.com/thing",
1626-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
1626+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
16271627
"base": "https://api.example.com/",
16281628
"type": "object",
16291629
"required": ["data"],
@@ -1739,7 +1739,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
17391739
<artwork>
17401740
<![CDATA[{
17411741
"$id": "https://schema.example.com/interesting-stuff",
1742-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
1742+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
17431743
"required": ["stuffWorthEmailingAbout", "email", "title"],
17441744
"properties": {
17451745
"title": {
@@ -1926,7 +1926,7 @@ Link: <https://api.example.com/trees/1/nodes/456> rev=up
19261926
<artwork>
19271927
<![CDATA[{
19281928
"$id": "https://schema.example.com/tree-node",
1929-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
1929+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
19301930
"base": "trees/{treeId}/",
19311931
"properties": {
19321932
"id": {"type": "integer"},
@@ -1988,7 +1988,7 @@ Link: <https://api.example.com/trees/1/nodes/456> rev=up
19881988
<artwork>
19891989
<![CDATA[{
19901990
"$id": "https://schema.example.com/thing",
1991-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
1991+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
19921992
"base": "https://api.example.com/",
19931993
"type": "object",
19941994
"required": ["data"],
@@ -2041,7 +2041,7 @@ Link: <https://api.example.com/trees/1/nodes/456> rev=up
20412041
<artwork>
20422042
<![CDATA[{
20432043
"$id": "https://schema.example.com/thing-collection",
2044-
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
2044+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
20452045
"base": "https://api.example.com/",
20462046
"type": "object",
20472047
"required": ["elements"],
@@ -2674,6 +2674,11 @@ Link: <https://api.example.com/trees/1/nodes/456> rev=up
26742674
</t>
26752675
<t>
26762676
<list style="hanging">
2677+
<t hangText="draft-handrews-json-schema-hyperschema-02">
2678+
<list style="symbols">
2679+
<t></t>
2680+
</list>
2681+
</t>
26772682
<t hangText="draft-handrews-json-schema-hyperschema-01">
26782683
<list style="symbols">
26792684
<t>This draft is purely a bug fix with no functional changes</t>

jsonschema-validation.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<?rfc rfcedstyle="yes"?>
2727
<?rfc comments="yes"?>
2828
<?rfc inline="yes" ?>
29-
<rfc category="info" docName="draft-handrews-json-schema-validation-01" ipr="trust200902">
29+
<rfc category="info" docName="draft-handrews-json-schema-validation-02" ipr="trust200902">
3030
<front>
3131
<title abbrev="JSON Schema Validation">
3232
JSON Schema Validation: A Vocabulary for Structural Validation of JSON
@@ -337,7 +337,7 @@
337337
<section title="Meta-Schema">
338338
<t>
339339
The current URI for the JSON Schema Validation is
340-
<eref target="http://json-schema.org/draft-07/schema#"/>.
340+
<eref target="http://json-schema.org/draft-08/schema#"/>.
341341
</t>
342342
</section>
343343

@@ -1462,7 +1462,7 @@
14621462
</author>
14631463
<date year="2017" month="November"/>
14641464
</front>
1465-
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-01" />
1465+
<seriesInfo name="Internet-Draft" value="draft-handrews-json-schema-02" />
14661466
</reference>
14671467
</references>
14681468

@@ -1501,6 +1501,11 @@
15011501
</t>
15021502
<t>
15031503
<list style="hanging">
1504+
<t hangText="draft-handrews-json-schema-validation-02">
1505+
<list style="symbols">
1506+
<t></t>
1507+
</list>
1508+
</t>
15041509
<t hangText="draft-handrews-json-schema-validation-01">
15051510
<list style="symbols">
15061511
<t>This draft is purely a clarification with no functional changes</t>

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-07/hyper-schema#",
3-
"$id": "http://json-schema.org/draft-07/links#",
2+
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-08/links#",
44
"title": "Link Description Object",
55
"allOf": [
66
{ "required": [ "rel", "href" ] },
@@ -29,7 +29,7 @@
2929
"format": "uri-template"
3030
},
3131
"hrefSchema": {
32-
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
32+
"$ref": "http://json-schema.org/draft-08/hyper-schema#"
3333
},
3434
"templatePointers": {
3535
"type": "object",
@@ -55,21 +55,21 @@
5555
"type": "string"
5656
},
5757
"targetSchema": {
58-
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
58+
"$ref": "http://json-schema.org/draft-08/hyper-schema#"
5959
},
6060
"targetMediaType": {
6161
"type": "string"
6262
},
6363
"targetHints": { },
6464
"headerSchema": {
65-
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
65+
"$ref": "http://json-schema.org/draft-08/hyper-schema#"
6666
},
6767
"submissionMediaType": {
6868
"type": "string",
6969
"default": "application/json"
7070
},
7171
"submissionSchema": {
72-
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
72+
"$ref": "http://json-schema.org/draft-08/hyper-schema#"
7373
},
7474
"$comment": {
7575
"type": "string"

schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "http://json-schema.org/draft-07/schema#",
2+
"$schema": "http://json-schema.org/draft-08/schema#",
3+
"$id": "http://json-schema.org/draft-08/schema#",
44
"title": "Core schema meta-schema",
55
"definitions": {
66
"schemaArray": {

0 commit comments

Comments
 (0)