maxLength caps the number of characters in a string.
{"type": "string", "maxLength": 10}
Use maxLength for usernames, codes and other bounded text fields.