File tree 2 files changed +17
-7
lines changed
2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 431
431
432
432
<section title =' The "$id" keyword' anchor =" id-keyword" >
433
433
<t >
434
- The "$id" keyword defines a URI for the schema,
435
- and the base URI that other URI references within the schema are resolved against.
436
- The "$id" keyword itself is resolved against the base URI that the object as a
437
- whole appears in.
434
+ The "$id" keyword defines a URI for the schema, and the base URI that
435
+ other URI references within the schema are resolved against.
436
+ A subschema's "$id" is resolved against the base URI of its parent schema.
437
+ If no parent sets an explicit base with "$id", the base URI is that of the
438
+ entire document, as determined per
439
+ <xref target =" RFC3986" >RFC 3986 section 5</xref >.
438
440
</t >
439
441
<t >
440
442
If present, the value for this keyword MUST be a string, and MUST represent a
468
470
Pointer references are updated.
469
471
</t >
470
472
<t >
471
- The effect of defining a URI fragment "$id" that neither
473
+ The effect of defining a fragment-only "$id" URI reference that neither
472
474
matches the above requirements nor is a valid JSON pointer
473
475
is not defined.
474
476
</t >
Original file line number Diff line number Diff line change 211
211
</figure >
212
212
213
213
<section title =" Interaction with validation" >
214
+ <t >
215
+ Hyper-schema keywords can be applied when the instance is valid against
216
+ the schema that includes those keywords.
217
+ </t >
214
218
<t >
215
219
Hyper-schemas MUST NOT be applied to an instance if the instance fails to
216
220
validate against the validation keywords within or containing the hyper-schema.
464
468
hint may be added in a future draft (see issue #73 in the GitHub repository).
465
469
</cref >
466
470
</t >
471
+ <t >
472
+ An operation is a specific use of a link described by an LDO, after any
473
+ template variables have been resolved.
474
+ </t >
467
475
<t >
468
476
There are several ways that a client can use data with a link:
469
477
<list >
474
482
inherent relation to the target resource's representation</t >
475
483
</list >
476
484
The three ways to use client-supplied data are each addressed by a separate
477
- schema keyword within the link description object. Link operations
478
- ignore schemas that are not relevant to their semantics.
485
+ schema keyword within the link description object. When performing operations,
486
+ clients SHOULD ignore schemas that are not relevant to their semantics.
479
487
</t >
480
488
<t >
481
489
Link Description Objects do not directly indicate what operations, such
You can’t perform that action at this time.
0 commit comments