JSON Schema minLength Keyword

minLength sets the minimum number of characters.

Syntax

{"type": "string", "minLength": 3}

Explanation

Use minLength for passwords, slugs and required text inputs.