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.
| Base Dialect | 2020-12 |
|---|---|
| URI | https://json-schema.org/draft/2020-12/vocab/core |
| Specification | https://json-schema.org/draft/2020-12/json-schema-core.html#section-8 |
| Authors | |
| Metaschema | https://json-schema.org/draft/2020-12/meta/core |
This vocabulary is mandatory on this dialect. It is available by default and cannot be removed.
Keywords
| Keyword | Kind | Instance | Summary |
|---|---|---|---|
| $id | Identifier | Any | This keyword declares an identifier for the schema resource. |
| $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. |
| $ref | Applicator | Any | This keyword is used to reference a statically identified schema. |
| $comment | Reserved Location | Any | This keyword reserves a location for comments from schema authors to readers or maintainers of the schema. |
| $defs | Reserved Location | Any | This keyword reserves a location for schema authors to inline reusable JSON Schemas into a more general schema. |
| $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. |
| $dynamicAnchor | 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 dynamic referencing. |
| $dynamicRef | 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. |
| $vocabulary | Identifier | Any | This keyword is used in dialect meta-schemas to identify the required and optional vocabularies available for use in schemas described by that dialect. |