@@ -1667,7 +1667,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
1667
1667
described by "submissionSchema" and "submissionMediaType".
1668
1668
</t >
1669
1669
<t >
1670
- Therefore, we use "submissionMediaType" to indicate a multipart/alternative
1670
+ We use "submissionMediaType" to indicate a multipart/alternative
1671
1671
payload format, providing two representations of the same data (HTML and
1672
1672
plain text). Since a multipart/alternative message is an ordered sequence
1673
1673
(the last part is the most preferred alternative), we model the sequence as
@@ -1680,32 +1680,6 @@ Link: <https://schema.example.com/entry> rel=describedBy
1680
1680
each part and are not ordered, should be modeled as JSON objects rather than
1681
1681
arrays.
1682
1682
</t >
1683
- <t >
1684
- For the URI parameters, each of the three demonstrates a different way of
1685
- resolving the input:
1686
- <list style =" hanging" >
1687
- <t hangText =" email:" >
1688
- This variable's presence in "templateRequired" means that it must be
1689
- resolved for the template to be used. Since the "false" schema
1690
- assigned to it in "hrefSchema" excludes it from the input data set,
1691
- it must be resolved from the instance.
1692
- </t >
1693
- <t hangText =" title:" >
1694
- The instance field matching this variable is required, and it is also
1695
- allowed in the input data. So its instance value is used to
1696
- pre-populate the input data set before accepting the client's input.
1697
- The client can opt to leave the instance value in place. Since
1698
- this field is required in "hrefSchema", the client cannot delete it
1699
- (although it could set it to an empty string).
1700
- </t >
1701
- <t hangText =" cc:" >
1702
- The "false" schema set for this in the main schema prevents this field
1703
- from having an instance value. If it is present at all, it must come
1704
- from client input. As it is not required in "hrefSchema", it may not
1705
- be used at all.
1706
- </t >
1707
- </list >
1708
- </t >
1709
1683
<figure >
1710
1684
<preamble >
1711
1685
Note that some lines are wrapped to fit this document's width restrictions.
@@ -1768,6 +1742,32 @@ Link: <https://schema.example.com/entry> rel=describedBy
1768
1742
}]]>
1769
1743
</artwork >
1770
1744
</figure >
1745
+ <t >
1746
+ For the URI parameters, each of the three demonstrates a different way of
1747
+ resolving the input:
1748
+ <list style =" hanging" >
1749
+ <t hangText =" email:" >
1750
+ This variable's presence in "templateRequired" means that it must be
1751
+ resolved for the template to be used. Since the "false" schema
1752
+ assigned to it in "hrefSchema" excludes it from the input data set,
1753
+ it must be resolved from the instance.
1754
+ </t >
1755
+ <t hangText =" title:" >
1756
+ The instance field matching this variable is required, and it is also
1757
+ allowed in the input data. So its instance value is used to
1758
+ pre-populate the input data set before accepting the client's input.
1759
+ The client can opt to leave the instance value in place. Since
1760
+ this field is required in "hrefSchema", the client cannot delete it
1761
+ (although it could set it to an empty string).
1762
+ </t >
1763
+ <t hangText =" cc:" >
1764
+ The "false" schema set for this in the main schema prevents this field
1765
+ from having an instance value. If it is present at all, it must come
1766
+ from client input. As it is not required in "hrefSchema", it may not
1767
+ be used at all.
1768
+ </t >
1769
+ </list >
1770
+ </t >
1771
1771
<t >
1772
1772
So, given the following instance retrieved from "https://api.example.com/stuff":
1773
1773
</t >
0 commit comments