You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-zyp-json-schema-03.xml
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -535,6 +535,14 @@ instances - This indicates the target resource that represents collection of ins
535
535
<t>
536
536
create - This indicates a target to use for creating new instances of a schema. This link definition SHOULD be a submission link with a non-safe method (like POST).
537
537
</t>
538
+
<t>root - This relation indicates that the target
539
+
SHOULD be treated as the root or the body of the representation for the
540
+
purposes of user agent interaction and fragment resolution (all other
541
+
properties of the instance objects are can be regarded as meta-data
542
+
descriptions for the data).
543
+
544
+
</t>
545
+
538
546
</list>
539
547
For example, if a schema is defined:
540
548
<figure>
@@ -743,16 +751,6 @@ identifiers for referencing the value of the foo propery.</t>
743
751
744
752
</section>
745
753
746
-
<sectiontitle="root">
747
-
<t>This attribute indicates that the value of the instance property value
748
-
SHOULD be treated as the root or the body of the representation for the
749
-
purposes of user agent interaction and fragment resolution (all other
750
-
properties of the instance objects are can be regarded as meta-data
751
-
descriptions for the data).
752
-
753
-
</t>
754
-
755
-
</section>
756
754
<sectiontitle="readonly">
757
755
<t>This indicates that the instance property SHOULD NOT be changed. Attempts by a user agent to modify the value of this property are expected to be rejected by a server.</t>
758
756
</section>
@@ -777,7 +775,9 @@ schema specifies a starting URI that is longer and also matches the
777
775
instance, this schema SHOULD NOT be applied to the instance. Any schema
778
776
that does not have a pathStart attribute SHOULD be considered applicable
779
777
to all the instances for which it is referenced.
780
-
778
+
</t>
779
+
<t>
780
+
If this URI is relative, it should be resolved against the instance's URI.
0 commit comments