then : Schema
then
SchemaWhen if
is present, and the instance successfully validates against its subschema, then validation succeeds against this keyword if the instance also successfully validates against this keyword’s subschema.
Value | This keyword must be set to a valid JSON Schema |
---|---|
Kind | Applicator |
Applies To | Any |
Dialect | Draft 7 |
Changed In | None |
Introduced In | Draft 7 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.6.2 |
Metaschema | http://json-schema.org/draft-07/schema# |
Official Tests | draft7/if-then-else.json |
Default |
{}
|
Annotation | None |
Affected By |
|
Affects | None |
Also See |
|