Skip to content

Commit 300600a

Browse files
committed
Wording changes
1 parent cff699d commit 300600a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

proposals/json-schema-hypermedia.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,10 @@
315315

316316
<section title="media">
317317
<t>
318-
The value of this properties MUST be an object.
318+
The "media" property indicates that this instance contains non-JSON data encoded in a JSON string. It describes the type of content and how it is encoded.
319+
</t>
320+
<t>
321+
The value of this property MUST be an object, and SHOULD be ignored for any instance that is not a string.
319322
</t>
320323

321324
<section title="Properties of &quot;media&quot;">
@@ -325,7 +328,6 @@
325328

326329
<section title="binaryEncoding">
327330
<t>
328-
The value of this property SHOULD be ignored for any instance that is not a string.
329331
If the instance value is a string, this property defines that the string SHOULD be interpreted as binary data and decoded using the encoding named by this property.
330332
<xref target="RFC2045">RFC 2045, Sec 6.1</xref> lists the possible values for this property.
331333
</t>

0 commit comments

Comments
 (0)