default : Any
default
AnyThis keyword can be used to supply a default JSON value associated with a particular schema.
Value |
This keyword must be set to a JSON value, preferrably that successfully validates against the corresponding subschema
Hint: Use the jsonschema metaschema command to catch keywords set to invalid values
|
---|---|
Kind | Annotation |
Applies To | Any |
Base Dialect | 2019-09 |
Changed In | None |
Introduced In | Draft 1 |
Vocabulary | Meta Data |
Specification | https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.9.2 |
Metaschema | https://json-schema.org/draft/2019-09/meta/meta-data |
Official Tests | draft2019-09/default.json |
Default | None |
Annotation |
Any
The default value set by this keyword
Hint: Use the jsonschema validate command to collect annotations from the command-line
|
Affected By | None |
Affects | None |
Also See |