Skip to content

Commit e266d46

Browse files
authored
Merge pull request #454 from handrews/rfc8288
Replace RFC 5988[bis] with RFC 8288
2 parents 924f7b3 + 63e4be8 commit e266d46

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

jsonschema-core.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
33
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
44
<!ENTITY RFC3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml">
5-
<!ENTITY RFC5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
65
<!ENTITY RFC6839 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6839.xml">
76
<!ENTITY RFC6901 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6901.xml">
87
<!ENTITY RFC7049 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7049.xml">
98
<!ENTITY RFC7159 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7159.xml">
109
<!ENTITY RFC7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
10+
<!ENTITY RFC8288 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8288.xml">
1111
<!ENTITY ldp SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml4/reference.W3C.REC-ldp-20150226.xml">
1212
<!ENTITY fragid-best-practices SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml4/reference.W3C.WD-fragid-best-practices-20121025.xml">
1313
]>
@@ -673,7 +673,7 @@
673673
JSON has been adopted widely by HTTP servers for automated APIs and robots. This
674674
section describes how to enhance processing of JSON documents in a more RESTful
675675
manner when used with protocols that support media types and
676-
<xref target="RFC5988">Web linking</xref>.
676+
<xref target="RFC8288">Web linking</xref>.
677677
</t>
678678

679679
<section title='Linking to a schema'>
@@ -685,7 +685,7 @@
685685

686686
<t>
687687
In HTTP, such links can be attached to any response using the
688-
<xref target="RFC5988">Link header</xref>. An example of such a header would be:
688+
<xref target="RFC8288">Link header</xref>. An example of such a header would be:
689689
</t>
690690

691691
<figure>
@@ -924,9 +924,9 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
924924
</references>
925925

926926
<references title="Informative References">
927-
&RFC5988;
928927
&RFC7049;
929928
&RFC7231;
929+
&RFC8288;
930930
&fragid-best-practices;
931931
<reference anchor="json-schema-validation">
932932
<front>

jsonschema-hyperschema.xml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
<!--<!ENTITY rfc4287 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4287.xml">-->
88
<!--<!ENTITY rfc5226 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5226.xml">-->
99
<!ENTITY rfc5789 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5789.xml">
10-
<!ENTITY rfc5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
1110
<!ENTITY rfc6068 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6068.xml">
1211
<!ENTITY rfc6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
1312
<!ENTITY rfc6573 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6573.xml">
1413
<!ENTITY rfc6901 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6901.xml">
1514
<!ENTITY rfc7230 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7230.xml">
1615
<!ENTITY rfc7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
1716
<!ENTITY rfc7807 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7807.xml">
18-
<!ENTITY I-D.nottingham-rfc5988bis SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-nottingham-rfc5988bis-08.xml">
17+
<!ENTITY rfc8288 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8288.xml">
1918
<!ENTITY I-D.luff-relative-json-pointer SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-luff-relative-json-pointer-00.xml">
2019
<!ENTITY I-D.reschke-http-jfv SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-reschke-http-jfv-06.xml">
2120
]>
@@ -95,11 +94,7 @@
9594
<t>
9695
The primary mechanism introduced for specifying links is the Link Description
9796
Object (LDO), which is a serialization of the abstract link model
98-
defined in <xref target="I-D.nottingham-rfc5988bis">RFC 5988bis, section 2</xref>.
99-
<cref>
100-
This section references the work-in-progress RFC5988bis, with the expectation
101-
that it will reach RFC before this specification does.
102-
</cref>
97+
defined in <xref target="RFC8288">RFC 8288, section 2</xref>.
10398
</t>
10499
<t>
105100
This specification will use the concepts, syntax, and terminology defined by the
@@ -163,7 +158,7 @@
163158
<t>
164159
The terms "link", "link context" (or "context"), "link target" (or "target"),
165160
and "target attributes" are to be interpreted as defined in
166-
<xref target="I-D.nottingham-rfc5988bis">Section 2 of RFC 5988bis</xref>.
161+
<xref target="RFC8288">Section 2 of RFC 8288</xref>.
167162
</t>
168163
<t>
169164
The term "user agent" is to be interpreted as defined in
@@ -224,7 +219,7 @@
224219
A JSON Hyper-Schema implementation is able to take a hyper-schema, an
225220
instance, and in some cases client input, and produce a set of fully
226221
resolved valid links. As defined by
227-
<xref target="I-D.nottingham-rfc5988bis">RFC 5988bis, section 2</xref>,
222+
<xref target="RFC8288">RFC 8288, section 2</xref>,
228223
a link consists of a context, a typed relation, a target, and optionally
229224
additional target attributes.
230225
</t>
@@ -327,12 +322,8 @@
327322

328323
<section title="Link Description Object" anchor="ldo">
329324
<t>
330-
<cref>
331-
This section references the work-in-progress RFC5988bis, with the expectation
332-
that it will reach RFC before this specification does.
333-
</cref>
334325
A Link Description Object (LDO) is a serialization of the abstract link model
335-
defined in <xref target="I-D.nottingham-rfc5988bis">RFC 5988bis, section 2</xref>.
326+
defined in <xref target="RFC8288">RFC 8288, section 2</xref>.
336327
As described in that document, a link consists of a context, a relation type,
337328
a target, and optionally target attributes. JSON Hyper-Schema's LDO provides
338329
all of these, along with additional features using JSON Schema to describe input
@@ -439,7 +430,7 @@
439430
<section title="rel" anchor="rel">
440431
<t>
441432
The value of this property MUST be a string, and MUST be a single
442-
Link Relation Type as defined in RFC 5988bis, Section 2.1.
433+
Link Relation Type as defined in RFC 8288, Section 2.1.
443434
</t>
444435
<t>
445436
This property is required.
@@ -492,7 +483,7 @@
492483
<t>
493484
When no registered relation (aside from "related") applies, users are
494485
encouraged to mint their own extension relation types, as described in
495-
<xref target="RFC5988">section 4.2 of RFC 5988</xref>. The simplest
486+
<xref target="RFC8288">section 2.1.2 of RFC 8288</xref>. The simplest
496487
approaches for choosing link relation type URIs are to either use
497488
a URI scheme that is already in use to identify the system's primary
498489
resources, or to use a human-readable, non-dereferenceable URI scheme
@@ -2238,13 +2229,12 @@ Link: <https://schema.example.com/entry> rel=describedBy
22382229
<!--&rfc5226;-->
22392230
&rfc4151;
22402231
&rfc5789;
2241-
&rfc5988;
22422232
&rfc6068;
22432233
&rfc6573;
22442234
&rfc7230;
22452235
&rfc7231;
22462236
&rfc7807;
2247-
&I-D.nottingham-rfc5988bis;
2237+
&rfc8288;
22482238
</references>
22492239
<section title="Using JSON Hyper-Schema in APIs" anchor="apis">
22502240
<t>
@@ -2331,7 +2321,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
23312321
<t hangText="draft-handrews-json-schema-hyperschema-00">
23322322
<list style="symbols">
23332323
<t>Top to bottom reorganization and rewrite</t>
2334-
<t>Group keywords per RFC 5988bis context/relation/target/target attributes</t>
2324+
<t>Group keywords per RFC 8288 context/relation/target/target attributes</t>
23352325
<t>Additional keyword groups for template resolution and describing input</t>
23362326
<t>Added section on general implementation requirements</t>
23372327
<t>Expanded overview to provide context</t>

0 commit comments

Comments
 (0)