maxLength property

int? maxLength
getter/setter pair

The value of this keyword MUST be a non-negative integer.

The value of this keyword MUST be an integer. This integer MUST be greater than, or equal to, 0.

A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.

The length of a string instance is defined as the number of its characters as defined by RFC 7159 RFC7159.

Implementation

int? maxLength;