|
761 | 761 | </t>
|
762 | 762 |
|
763 | 763 | <t>
|
764 |
| - The relation to the target is interpreted as from the instance that the schema |
765 |
| - (or sub-schema) applies to, not any larger document that the instance may have |
766 |
| - been found in. |
| 764 | + As defined by RFC 5988, a link connects a context resource |
| 765 | + to a target resource, where the nature of the connection |
| 766 | + is described by the link relation type. The context |
| 767 | + resource is the instance to which the schema (or sub-schema) |
| 768 | + applies, rather than any larger document in which the |
| 769 | + instance may have been found. The context may be changed |
| 770 | + with the <xref target="anchor">"anchor"</xref> property. |
767 | 771 | </t>
|
768 | 772 |
|
769 | 773 | <t>
|
770 |
| - Relationship definitions are not normally media type dependent, and users are |
771 |
| - encouraged to utilize existing accepted relation definitions. |
| 774 | + Depending on the media type of the instance, it may or may |
| 775 | + not be possible to assign a URI to the exact default context |
| 776 | + resource. In particular, application/json does not define |
| 777 | + URI fragment resolution semantics, so properties or array |
| 778 | + elements within a plain JSON document cannot be identified |
| 779 | + by a URI. |
| 780 | + </t> |
| 781 | + |
| 782 | + <t> |
| 783 | + Relationship definitions are not normally media type |
| 784 | + dependent, and users are encouraged to utilize existing |
| 785 | + accepted relation definitions. |
772 | 786 | </t>
|
773 | 787 |
|
774 | 788 | <figure>
|
@@ -883,6 +897,15 @@ GET /foo/
|
883 | 897 | </section>
|
884 | 898 | </section>
|
885 | 899 |
|
| 900 | + <section title="anchor" anchor="anchor"> |
| 901 | + <t> |
| 902 | + This property sets the context URI of the link. |
| 903 | + The value of the property MUST be resolved as a |
| 904 | + <xref target="RFC3986">URI-reference</xref> against |
| 905 | + the base URI of the instance. |
| 906 | + </t> |
| 907 | + </section> |
| 908 | + |
886 | 909 | <section title="title">
|
887 | 910 | <t>
|
888 | 911 | This property defines a title for the link.
|
|
0 commit comments