const : Any
const
AnyValidation succeeds if the instance is equal to this keyword’s value.
Value |
This keyword must be set to a JSON value
Hint: Use the jsonschema metaschema command to catch keywords set to invalid values
|
---|---|
Kind | Assertion |
Applies To | Any |
Base Dialect | Draft 7 |
Changed In | None |
Introduced In | Draft 6 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.1.3 |
Metaschema | http://json-schema.org/draft-07/schema# |
Official Tests | draft7/const.json |
Default | None |
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|