Skip to content
Discussion options

You must be logged in to vote

The specification (2020-12) states that all of the content* keywords are annotative only. That is, a validator is not supposed to process these keywords.

The intent is such that the consuming application would then decode the content of the given instance according to contentEncoding and contentMediaType, then the decoded content should meet the requirements of the subschema in contentSchema. The implementation isn't supposed to perform these operations, though; it's the application's responsibility.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@georgeakulov
Comment options

Answer selected by georgeakulov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants