Skip to content

Commit

Permalink
contentSchema should not produce an annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Nov 28, 2024
1 parent 8cf9848 commit 015414b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/jsonschema-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ The value of this property MUST be a valid JSON schema. The subschema is
produced as an annotation.

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

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

0 comments on commit 015414b

Please sign in to comment.