contains : Schema

contains

Schema

Validation succeeds if the instance contains an element that validates against this schema.

Value This keyword must be set to a valid JSON Schema
Kind Applicator
Applies To Array
Dialect 2019-09
Changed In None
Introduced In Draft 6
Vocabulary Applicator
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.9.3.1.4
Metaschema https://json-schema.org/draft/2019-09/meta/applicator
Official Tests draft2019-09/contains.json
Default {}
Annotation None
Affected By
Affects None
Also See