else : Schema

else

Schema

When if is present, and the instance fails to validate against its subschema, then validation succeeds against this keyword if the instance successfully validates against this keyword’s subschema.

Kind Applicator
Applies To Any
Dialect 2020-12
Introduced In Draft 7
Vocabulary Applicator
Specification https://json-schema.org/draft/2020-12/json-schema-core.html#section-10.2.2.3
Metaschema https://json-schema.org/draft/2020-12/meta/applicator
Affected By
Also see