Skip to content

Commit 30c4301

Browse files
committed
Fix cross-references
Also a reference within the validation spec was accidentally done as a cross-ref to core, so fixed that as well.
1 parent 9b834f2 commit 30c4301

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

jsonschema-hyperschema.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188
</t>
189189
<t>
190190
The terms "applicable" and "attached" are to be interpreted as defined in
191-
<xref target="json-schema-validation">Section 3 of the
192-
JSON Schema validation specification</xref>.
191+
<xref target="json-schema">Section 3.1 of the
192+
JSON Schema core specification</xref>.
193193
</t>
194194
<t>
195195
The terms "link", "link context" (or "context"), "link target" (or "target"),
@@ -329,8 +329,8 @@
329329
<section title="Schema Keywords">
330330
<t>
331331
Hyper-schema keywords from all schemas that are applicable to a position
332-
in an instance, as defined by <xref target="json-schema-validation">Section
333-
3 of JSON Schema validation</xref>, can be used with that instance.
332+
in an instance, as defined by <xref target="json-schema">Section
333+
3.1 of JSON Schema core</xref>, can be used with that instance.
334334
</t>
335335
<t>
336336
When multiple subschemas are applicable to a given sub-instance, all "link"
@@ -401,8 +401,8 @@
401401
<t>
402402
In JSON Hyper-Schema, the link's context resource is, by default, the
403403
sub-instance to which it is attached (as defined by
404-
<xref target="json-schema-validation">Section 3 of the JSON Schema
405-
validation specification</xref>). This is often not the entire instance
404+
<xref target="json-schema">Section 3.1 of the JSON Schema
405+
core specification</xref>). This is often not the entire instance
406406
document. This default context can be changed using the keywords
407407
in this section.
408408
</t>
@@ -1364,7 +1364,7 @@ for varname in templateData:
13641364
describing possible HTTP request headers that are relevant to the given resource.
13651365
</t>
13661366
<t>
1367-
<xref target="json-schema">Section 11 of the JSON Schema core specification</xref>
1367+
<xref target="json-schema">Section 13 of the JSON Schema core specification</xref>
13681368
provides guidance on linking instances in a hypermedia system to their schemas.
13691369
This may be done with network-accessible schemas, or may simply identify schemas
13701370
which were pre-packaged within the client application. JSON Hyper-Schema

jsonschema-validation.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
</t>
244244
</section>
245245

246-
<section title="enum">
246+
<section title="enum" anchor="enum">
247247
<t>
248248
The value of this keyword MUST be an array. This array SHOULD have at
249249
least one element. Elements in the array SHOULD be unique.
@@ -263,7 +263,7 @@
263263
</t>
264264
<t>
265265
Use of this keyword is functionally equivalent to an
266-
<xref target="json-schema">"enum"</xref> with a single value.
266+
<xref target="enum">"enum"</xref> with a single value.
267267
</t>
268268
<t>
269269
An instance validates successfully against this keyword if its value is

0 commit comments

Comments
 (0)