Skip to content

Commit d01b228

Browse files
committed
contentSchema: type MUST be a schema if it is not ignored
1 parent 39e3969 commit d01b228

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jsonschema-validation.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@
10241024
</t>
10251025
<t>
10261026
The value of this property SHOULD be ignored if "contentMediaType" is not present.
1027+
If it is not ignored then the value of this property MUST be a schema.
10271028
</t>
10281029
</section>
10291030

@@ -1176,9 +1177,9 @@
11761177
the entire resource being described MAY be removed in the future.
11771178
</t>
11781179
<t>
1179-
When the "deprecated" keyword is applied to an item in an array by means of
1180-
"items", if "items" is a single schema, the deprecation relates to the whole
1181-
array, while if "items" is an array of schemas, the deprecation relates to
1180+
When the "deprecated" keyword is applied to an item in an array by means of
1181+
"items", if "items" is a single schema, the deprecation relates to the whole
1182+
array, while if "items" is an array of schemas, the deprecation relates to
11821183
the corresponding item according to the subschemas position.
11831184
</t>
11841185
<t>

0 commit comments

Comments
 (0)