minLength : Integer

minLength

Integer

A string instance is valid against this keyword if its length is greater 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 7
Changed In None
Introduced In Draft 1
Vocabulary Validation
Specification https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.3.2
Metaschema http://json-schema.org/draft-07/schema#
Official Tests draft7/minLength.json
Default 0
Annotation None
Affected By None
Affects None
Also See