Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6382a71

Browse files
committed
Add a relative-json-pointer format.
We have generally included formats necessary for describing JSON Schema vocabularies, and JSON Hyper-Schema now uses Relative JSON Pointers.
1 parent 0282f4a commit 6382a71

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

‎jsonschema-validation.xml‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<!ENTITY RFC6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
1313
<!ENTITY RFC6901 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6901.xml">
1414
<!ENTITY RFC7159 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7159.xml">
15+
<!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">
1516
]>
1617
<?rfc toc="yes"?>
1718
<?rfc symrefs="yes"?>
@@ -1025,15 +1026,24 @@
10251026
</t>
10261027
</section>
10271028

1028-
<section title="json-pointer">
1029+
<section title="JSON Pointers">
10291030
<t>
1030-
This attribute applies to string instances.
1031+
These attributes apply to string instances.
10311032
</t>
10321033
<t>
1033-
A string instance is valid against this attribute if it
1034-
is a valid JSON string representation of a JSON Pointer,
1035-
according to
1036-
<xref target="RFC6901">RFC 6901, section 5</xref>
1034+
<list style="hanging">
1035+
<t hangText="json-pointer">
1036+
A string instance is valid against this attribute if it
1037+
is a valid JSON string representation of a JSON Pointer,
1038+
according to <xref target="RFC6901">RFC 6901, section 5</xref>.
1039+
</t>
1040+
<t hangText="relative-json-pointer">
1041+
A string instance is valid against this attribute if it is a valid
1042+
<xref target="I-D.luff-relative-json-pointer">Relative JSON Pointer</xref>.
1043+
</t>
1044+
</list>
1045+
To allow for both absolute and relative JSON Pointers, use "anyOf" or
1046+
"oneOf" to indicate support for either format.
10371047
</t>
10381048
</section>
10391049
<section title="regex">
@@ -1214,6 +1224,7 @@
12141224
&RFC6901;
12151225
&RFC7159;
12161226
&RFC5322;
1227+
&I-D.luff-relative-json-pointer;
12171228
<reference anchor="ecma262"
12181229
target="http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf">
12191230
<front>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /