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 Jan 17, 2025
1 parent a90049e commit f6276dc
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 @@ -544,7 +544,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 f6276dc

Please sign in to comment.