Skip to content

Commit 94b9cb9

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 0fca1be commit 94b9cb9

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
@@ -9,6 +9,7 @@
99
<!ENTITY rfc5789 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5789.xml">
1010
<!ENTITY rfc5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
1111
<!ENTITY rfc6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
12+
<!ENTITY rfc6906 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6906.xml">
1213
<!ENTITY rfc7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
1314
<!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">
1415
<!ENTITY I-D.reschke-http-jfv SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-reschke-http-jfv-06.xml">
@@ -920,10 +921,12 @@ GET /foo/
920921
<section title="anchorPointer" anchor="anchorPointer">
921922
<t>
922923
This property changes the point within the instance that is considered
923-
to be the context resource of the link. The value of the property is a
924-
<xref target="I-D.luff-relative-json-pointer">Relative JSON Pointer</xref>,
925-
starting from the default context (the part of the instance that validated
926-
against the schema containing the LDO).
924+
to be the context resource of the link. The value of the property MUST be a
925+
valid <xref target="RFC6906">JSON Pointer</xref>, or a valid
926+
<xref target="I-D.luff-relative-json-pointer">Relative JSON Pointer</xref>
927+
which is evaluated relative to the position in the instance from which
928+
<xref target="href">"href"</xref> template variable resolution would
929+
normally begin.
927930
</t>
928931
<t>
929932
While an alternate context with a known URI is best set with the
@@ -1402,6 +1405,7 @@ GET /foo/
14021405
&rfc3986;
14031406
<!--&rfc4287;-->
14041407
&rfc6570;
1408+
&rfc6906;
14051409
&I-D.luff-relative-json-pointer;
14061410
&I-D.reschke-http-jfv;
14071411
<reference anchor="json-schema">

0 commit comments

Comments
 (0)