Skip to content

Commit 916b7c1

Browse files
authored
Merge pull request #742 from handrews/refs
Fix cross-references
2 parents 11425cd + 30c4301 commit 916b7c1

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
@@ -189,8 +189,8 @@
189189
</t>
190190
<t>
191191
The terms "applicable" and "attached" are to be interpreted as defined in
192-
<xref target="json-schema-validation">Section 3 of the
193-
JSON Schema validation specification</xref>.
192+
<xref target="json-schema">Section 3.1 of the
193+
JSON Schema core specification</xref>.
194194
</t>
195195
<t>
196196
The terms "link", "link context" (or "context"), "link target" (or "target"),
@@ -330,8 +330,8 @@
330330
<section title="Schema Keywords">
331331
<t>
332332
Hyper-schema keywords from all schemas that are applicable to a position
333-
in an instance, as defined by <xref target="json-schema-validation">Section
334-
3 of JSON Schema validation</xref>, can be used with that instance.
333+
in an instance, as defined by <xref target="json-schema">Section
334+
3.1 of JSON Schema core</xref>, can be used with that instance.
335335
</t>
336336
<t>
337337
When multiple subschemas are applicable to a given sub-instance, all "link"
@@ -402,8 +402,8 @@
402402
<t>
403403
In JSON Hyper-Schema, the link's context resource is, by default, the
404404
sub-instance to which it is attached (as defined by
405-
<xref target="json-schema-validation">Section 3 of the JSON Schema
406-
validation specification</xref>). This is often not the entire instance
405+
<xref target="json-schema">Section 3.1 of the JSON Schema
406+
core specification</xref>). This is often not the entire instance
407407
document. This default context can be changed using the keywords
408408
in this section.
409409
</t>
@@ -1365,7 +1365,7 @@ for varname in templateData:
13651365
describing possible HTTP request headers that are relevant to the given resource.
13661366
</t>
13671367
<t>
1368-
<xref target="json-schema">Section 11 of the JSON Schema core specification</xref>
1368+
<xref target="json-schema">Section 13 of the JSON Schema core specification</xref>
13691369
provides guidance on linking instances in a hypermedia system to their schemas.
13701370
This may be done with network-accessible schemas, or may simply identify schemas
13711371
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
@@ -245,7 +245,7 @@
245245
</t>
246246
</section>
247247

248-
<section title="enum">
248+
<section title="enum" anchor="enum">
249249
<t>
250250
The value of this keyword MUST be an array. This array SHOULD have at
251251
least one element. Elements in the array SHOULD be unique.
@@ -265,7 +265,7 @@
265265
</t>
266266
<t>
267267
Use of this keyword is functionally equivalent to an
268-
<xref target="json-schema">"enum"</xref> with a single value.
268+
<xref target="enum">"enum"</xref> with a single value.
269269
</t>
270270
<t>
271271
An instance validates successfully against this keyword if its value is

0 commit comments

Comments
 (0)