Minimum characters

"name": {
  "type": "string",
  "minLength": 1
},

does this also allow whitespacecharacters(e.g I’d have to use isEmpty()) or what exactly is even allowed for names?

1 Like

Hi

you do not need to validate that manually. You can use the .schema files in your resources folder and the SchemaLoader library.

Everything that is allowed for names is specified in the schema. A string also includes whitespaces.

2 Likes