Skip to content

Commit f6276dc

Browse files
committed
contentSchema should not produce an annotation
1 parent a90049e commit f6276dc

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
@@ -544,7 +544,7 @@ The value of this property MUST be a valid JSON schema. The subschema is
544544
produced as an annotation.
545545

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

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

0 commit comments

Comments
 (0)