dependencies : Object<String, Array<String> | Schema>
dependencies
Object<String, Array<String> | Schema>Validation succeeds if, for each name that appears in both the instance and as a name within this keyword’s value, either every item in the corresponding array is also the name of a property in the instance or the corresponding subschema successfully evaluates against the instance.
Value | This keyword must be set to an object where each value is either an array of unique strings or a valid JSON Schema |
---|---|
Kind | Assertion |
Applies To | Object |
Dialect | Draft 6 |
Changed In | 2019-09 |
Introduced In | Draft 3 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.6.21 |
Metaschema | http://json-schema.org/draft-06/schema# |
Official Tests | draft6/dependencies.json |
Default |
{}
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|