Core Vocabulary Official Included By Default
A mandatory vocabulary that defines keywords that are either required in order to process any schema or meta-schema, including those split across multiple documents, or exist to reserve keywords for purposes that require guaranteed interoperability.
Dialect | 2019-09 |
---|---|
URI | https://json-schema.org/draft/2019-09/vocab/core |
Specification | https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.8 |
Authors | |
Metaschema | https://json-schema.org/draft/2019-09/meta/core |
This vocabulary is mandatory on this dialect. It is available by default and cannot be removed.
Keywords
Keyword | Kind | Instance | Summary |
---|---|---|---|
$schema | Identifier | Any | This keyword is both used as a JSON Schema dialect identifier and as a reference to a JSON Schema which describes the set of valid schemas written for this particular dialect. |
$id | Identifier | Any | This keyword declares an identifier for the schema resource. |
$ref | Applicator | Any | This keyword is used to reference a statically identified schema. |
$defs | Reserved Location | Any | This keyword reserves a location for schema authors to inline re-usable JSON Schemas into a more general schema. |
$comment | Reserved Location | Any | This keyword reserves a location for comments from schema authors to readers or maintainers of the schema. |
$recursiveAnchor | Identifier | Any | This keyword is used to dynamically identify a base URI at runtime by marking where such a calculation can start, and where it stops. |
$recursiveRef | Applicator | Any | This keyword is used to reference an identified schema, deferring the full resolution until runtime, at which point it is resolved each time it is encountered while evaluating an instance. |
$anchor | Identifier | Any | This keyword is used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for static referencing. |
$vocabulary | Identifier | Any | This keyword is used in meta-schemas to identify the required and optional vocabularies available for use in schemas described by that meta-schema. |