Closed
Description
Update the spec to require that implementations require that a dialect is declared. Implementations MUST refuse to evaluate schemas without a known dialect.
In order of precedence, a dialect can be determined in the following ways.
- The
$schema
keyword - The
schema
media type parameter (if the schema was retrieved over HTTP) - The user provides a default through an implementation's API in some way. (optional)
Implementations MUST NOT guess the dialect based on the contents of the schema and MUST NOT use a default not specified by the user. If a dialect is declared, but the implementation doesn't understand it, the implementation MUST refuse to evaluate the schema. It MUST NOT attempt to evaluate the schema using a known dialect.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done