dependentRequired : Object<String, Array<String>>

dependentRequired

Object<String, Array<String>>

Validation succeeds if, for each name that appears in both the instance and as a name within this keyword’s value, every item in the corresponding array is also the name of a property in the instance.

Value This keyword must be set to an object where each value is an array of unique strings
Kind Assertion
Applies To Object
Dialect 2019-09
Changed In None
Introduced In 2019-09
Vocabulary Validation
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.5.4
Metaschema https://json-schema.org/draft/2019-09/meta/validation
Official Tests draft2019-09/dependentRequired.json
Default {}
Annotation None
Affected By None
Affects None
Also See