Array syntax not powerful enough
did:plc:3mdq56yhyqq5k6d4guztheaf opened this Apr 9, 2026 5 comments
did:plc:3mdq56yhyqq5k6d4guztheaf opened Apr 9, 2026
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.
No activity yet.