Skip to content

Commit 1e4f32b

Browse files
committed
contentSchema: type MUST be a schema
Also changed one other period to be outside its <xref> tag, for consistency.
1 parent eda8388 commit 1e4f32b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jsonschema-validation.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@
530530
format attribute and instance SHOULD succeed. All format attributes defined
531531
in this section apply to strings, but a format attribute can be specified
532532
to apply to any instance types defined in the data model defined in the
533-
<xref target="json-schema">core JSON Schema.</xref>
533+
<xref target="json-schema">core JSON Schema</xref>.
534534
<cref>
535535
Note that the "type" keyword in this specification defines an "integer" type
536536
which is not part of the data model. Therefore a format attribute can be
@@ -1023,7 +1023,8 @@
10231023
JSON Schema's data model.
10241024
</t>
10251025
<t>
1026-
The value of this property SHOULD be ignored if "contentMediaType" is not present.
1026+
The value of this property MUST be a valid JSON schema. It SHOULD be ignored if
1027+
"contentMediaType" is not present.
10271028
</t>
10281029
</section>
10291030

0 commit comments

Comments
 (0)