required : Array<String>
required
Array<String>An object instance is valid against this keyword if every item in the array is the name of a property in the instance.
Value | This keyword must be set to an array of unique strings |
---|---|
Kind | Assertion |
Applies To | Object |
Dialect | Draft 7 |
Changed In | Draft 4 |
Introduced In | Draft 3 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.5.3 |
Metaschema | http://json-schema.org/draft-07/schema# |
Official Tests | draft7/required.json |
Default |
[]
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|