Restrict no of characters
subratastack opened this issue · 1 comments
subratastack commented
How can I restrict no of characters in an text field? Can we set maxLength
value
isharko commented
You can do exactly that in the schema... Take a look at the "Deep Recursive References" example.
"string": {
"type": "string",
"minLength": 0,
"maxLength": 10
}