enum : Array<Any>
enum
Array<Any>Validation succeeds if the instance is equal to one of the elements in this keyword’s array value.
Kind | Assertion |
---|---|
Applies To | Any |
Dialect | 2020-12 |
Introduced In | Draft 1 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft/2020-12/json-schema-validation.html#section-6.1.2 |
Metaschema | https://json-schema.org/draft/2020-12/meta/validation |
Also see |
|