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 array of unique strings |
---|---|
Kind | Assertion |
Applies To | Object |
Dialect | 2019-09 |
Changed In | Draft 4 |
Introduced In | Draft 3 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.5.3 |
Metaschema | https://json-schema.org/draft/2019-09/meta/validation |
Official Tests | draft2019-09/required.json |
Default |
[]
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|