File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 10151015
10161016 <section title =" contentSchema" >
10171017 <t >
1018- If the instance is a string, and if "contentMediaType" is present, this
1019- property contains a schema which describes the structure of the string.
1018+ If the instance is a string containing valid JSON, and if "contentMediaType" is
1019+ present, this property is used to validate the string. If the string is not
1020+ valid JSON, then the validation fails.
10201021 </t >
10211022 <t >
10221023 This keyword MAY be used with any media type that can be mapped into
10231024 JSON Schema's data model.
10241025 </t >
10251026 <t >
1026- The value of this property SHOULD be ignored if "contentMediaType" is not present.
1027+ The value of this property MUST be a schema. It is ignored if "contentMediaType"
1028+ is not present.
10271029 </t >
10281030 </section >
10291031
11761178 the entire resource being described MAY be removed in the future.
11771179 </t >
11781180 <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
1181+ When the "deprecated" keyword is applied to an item in an array by means of
1182+ "items", if "items" is a single schema, the deprecation relates to the whole
1183+ array, while if "items" is an array of schemas, the deprecation relates to
11821184 the corresponding item according to the subschemas position.
11831185 </t >
11841186 <t >
You can’t perform that action at this time.
0 commit comments