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 a non-empty array of unique strings |
---|---|
Kind | Assertion |
Applies To | Object |
Dialect | Draft 4 |
Changed In | None |
Introduced In | Draft 3 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.5.4.3 |
Metaschema | http://json-schema.org/draft-04/schema# |
Official Tests | draft4/required.json |
Default |
As if it was set to the (invalid) value:
[]
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|