Skip to content

Commit bdb9ccc

Browse files
committed
Update JSON RFC reference
1 parent c75c528 commit bdb9ccc

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

jsonschema-core.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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 RFC4627 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4627.xml">
65
<!ENTITY RFC5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
76
<!ENTITY RFC7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
7+
<!ENTITY RFC7159 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7159.xml">
88
]>
99
<?rfc toc="yes"?>
1010
<?rfc symrefs="yes"?>
@@ -93,20 +93,20 @@
9393
<t>
9494
The terms "JSON", "JSON text", "JSON value", "member", "element", "object", "array",
9595
"number", "string", "boolean", "true", "false", and "null" in this document are to
96-
be interpreted as defined in <xref target="RFC4627">RFC 4627</xref>.
96+
be interpreted as defined in <xref target="RFC7159">RFC 7159</xref>.
9797
</t>
9898
</section>
9999

100100
<section title="Core terminology">
101101

102102
<section title="Property, item">
103103
<t>
104-
When refering to a JSON Object, as defined by <xref target="RFC4627"/>, the
104+
When refering to a JSON Object, as defined by <xref target="RFC7159"/>, the
105105
terms "member" and "property" may be used interchangeably.
106106
</t>
107107

108108
<t>
109-
When refering to a JSON Array, as defined by <xref target="RFC4627"/>, the terms
109+
When refering to a JSON Array, as defined by <xref target="RFC7159"/>, the terms
110110
"element" and "item" may be used interchangeably.
111111
</t>
112112
</section>
@@ -259,15 +259,15 @@
259259

260260
<section title="Applicability to all JSON values">
261261
<t>
262-
It is acknowledged that an instance may be any valid JSON value as defined by <xref target="RFC4627"/>.
262+
It is acknowledged that an instance may be any valid JSON value as defined by <xref target="RFC7159"/>.
263263
As such, JSON Schema does not mandate that an instance be of a particular type: JSON Schema can describe any JSON value, including null.
264264
</t>
265265
</section>
266266

267267
<section title="Programming language independence">
268268
<t>
269269
JSON Schema is programming language agnostic. The only limitations are the ones
270-
expressed by <xref target="RFC4627"/> and those of the host programming
270+
expressed by <xref target="RFC7159"/> and those of the host programming
271271
language.
272272
</t>
273273
</section>
@@ -326,7 +326,7 @@
326326
<section title="Security considerations">
327327
<t>
328328
Both schemas and instances are JSON values. As such, all security considerations
329-
defined in <xref target="RFC4627">RFC 4627</xref> apply.
329+
defined in <xref target="RFC7159">RFC 7159</xref> apply.
330330
</t>
331331
</section>
332332

@@ -628,10 +628,10 @@ Content-Type: application/my-media-type+json;
628628
<references title="Normative References">
629629
&RFC2119;
630630
&RFC3986;
631+
&RFC7159;
631632
</references>
632633

633634
<references title="Informative References">
634-
&RFC4627;
635635
&RFC5988;
636636
&RFC7231;
637637
<reference anchor="json-schema-validation"

jsonschema-schema.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<!ENTITY RFC2673 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2673.xml">
77
<!ENTITY RFC3339 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3339.xml">
88
<!ENTITY RFC3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml">
9-
<!ENTITY RFC4627 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4627.xml">
109
<!ENTITY RFC5322 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5322.xml">
10+
<!ENTITY RFC7159 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7159.xml">
1111
]>
1212
<?rfc toc="yes"?>
1313
<?rfc symrefs="yes"?>
@@ -158,7 +158,7 @@
158158

159159
<list>
160160
<t>individual Unicode characters, as defined by the <xref
161-
target="RFC4627">JSON specification</xref>;</t>
161+
target="RFC7159">JSON specification</xref>;</t>
162162
<t>simple character classes ([abc]), range character classes ([a-z]);</t>
163163
<t>complemented character classes ([^abc], [^a-z]);</t>
164164
<t>simple quantifiers: "+" (one or more), "*" (zero or more), "?" (zero or
@@ -315,7 +315,7 @@
315315

316316
<t>
317317
The length of a string instance is defined as the number of its
318-
characters as defined by <xref target="RFC4627">RFC 4627</xref>.
318+
characters as defined by <xref target="RFC7159">RFC 7159</xref>.
319319
</t>
320320
</section>
321321

@@ -338,7 +338,7 @@
338338

339339
<t>
340340
The length of a string instance is defined as the number of its
341-
characters as defined by <xref target="RFC4627">RFC 4627</xref>.
341+
characters as defined by <xref target="RFC7159">RFC 7159</xref>.
342342
</t>
343343
</section>
344344

@@ -1323,7 +1323,7 @@
13231323
&RFC2673;
13241324
&RFC3339;
13251325
&RFC3986;
1326-
&RFC4627;
1326+
&RFC7159;
13271327
&RFC5322;
13281328
<reference anchor="ecma262"
13291329
target="http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf">

0 commit comments

Comments
 (0)