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 2019-09
Changed In None
Introduced In Draft 7
Vocabulary Applicator
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.9.2.2.1
Metaschema https://json-schema.org/draft/2019-09/meta/applicator
Official Tests draft2019-09/if-then-else.json
Default None
Annotation None
Affected By None
Affects
Also See