if : Schema

if

Schema

This keyword declares a condition based on the validation result of the given schema.

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.1
Metaschema http://json-schema.org/draft-07/schema#
Official Tests draft7/if-then-else.json
Default None
Annotation None
Affected By None
Affects
Also See