Skip to content

Commit f28d182

Browse files
committed
Reference JSON Pointer separately
Also align the wording around JSON Pointers and Relative JSON Pointers with the wording in the "hrefPointers" specification.
1 parent 39b1a0b commit f28d182

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

jsonschema-hyperschema.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!ENTITY rfc5789 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5789.xml">
99
<!ENTITY rfc5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
1010
<!ENTITY rfc6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
11+
<!ENTITY rfc6906 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6906.xml">
1112
<!ENTITY rfc7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
1213
<!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">
1314
<!ENTITY I-D.reschke-http-jfv SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-reschke-http-jfv-06.xml">
@@ -798,10 +799,12 @@ GET /foo/
798799
<section title="anchorPointer" anchor="anchorPointer">
799800
<t>
800801
This property changes the point within the instance that is considered
801-
to be the context resource of the link. The value of the property is a
802-
<xref target="I-D.luff-relative-json-pointer">Relative JSON Pointer</xref>,
803-
starting from the default context (the part of the instance that validated
804-
against the schema containing the LDO).
802+
to be the context resource of the link. The value of the property MUST be a
803+
valid <xref target="RFC6906">JSON Pointer</xref>, or a valid
804+
<xref target="I-D.luff-relative-json-pointer">Relative JSON Pointer</xref>
805+
which is evaluated relative to the position in the instance from which
806+
<xref target="href">"href"</xref> template variable resolution would
807+
normally begin.
805808
</t>
806809
<t>
807810
While an alternate context with a known URI is best set with the
@@ -1277,6 +1280,7 @@ GET /foo/
12771280
&rfc3986;
12781281
<!--&rfc4287;-->
12791282
&rfc6570;
1283+
&rfc6906;
12801284
&I-D.luff-relative-json-pointer;
12811285
&I-D.reschke-http-jfv;
12821286
<reference anchor="json-schema">

0 commit comments

Comments
 (0)