maxLength : Integer
maxLength
IntegerA string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.
Value | This keyword must be set to a zero or positive integer |
---|---|
Kind | Assertion |
Applies To | String |
Dialect | Draft 3 |
Changed In | None |
Introduced In | Draft 1 |
Vocabulary | Core |
Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.18 |
Metaschema | http://json-schema.org/draft-03/schema# |
Official Tests | draft3/maxLength.json |
Default | None |
Annotation | None |
Affected By | None |
Affects | None |
Also See |