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 3 |
Changed In | 2019-09 |
Introduced In | Draft 3 |
Vocabulary | Core |
Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.8 |
Metaschema | http://json-schema.org/draft-03/schema# |
Official Tests | draft3/dependencies.json |
Default |
{}
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |