Closed Leptopoda closed 6 months ago
According to jsonSchema validation the maxLength key only shows affect with String values. See: https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#name-maxlength
maxLength
String
For arrays the maxItems property should be used. https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#name-maxitems
maxItems
All occurrences like the following must be changed:
{ "type": "array", "maxLength": 0 }
Probably to late for 29 :(
According to jsonSchema validation the
maxLength
key only shows affect withString
values. See: https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#name-maxlengthFor arrays the
maxItems
property should be used. https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-01#name-maxitemsAll occurrences like the following must be changed:
Probably to late for 29 :(