I'm trying to express tags. So I want to have an array of strings.
The syntax would be something like (playground link):
tags: string[] constrained {
maxLength: 100,
},
The maxLength now is on tags, but not on the individual items.
"tags": {
"type": "array",
"items": {
"type": "string"
},
"maxLength": 100
}
I can't find any syntax in the docs to express it on an individual items level. It also doesn't transform it correctly from Lexicon to MLF.