Skip to content

Commit 015414b

Browse files
committed
contentSchema should not produce an annotation
1 parent 8cf9848 commit 015414b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs/jsonschema-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ The value of this property MUST be a valid JSON schema. The subschema is
543543
produced as an annotation.
544544

545545
Since `contentMediaType` is required to provide instruction on how to interpret
546-
string content, the annotation schema produced by this keyword has no meaning if
546+
string content, `contentSchema` SHOULD NOT produce an annotation if
547547
`contentMediaType` is not present.
548548

549549
Note that evaluating the `contentSchema` subschema in-place (i.e. as part of its

0 commit comments

Comments
 (0)