JSON Schema Draft 2020-12 Properties String Minlength Info (Edit)

Schema properties that are of the string type have the min length applied defining the shape of the property

JSON SchemaSchemaPropertiesTypes

Rule Definition

json-schema-2020-12-properties-string-minlength-info.yaml
{"json-schema-2020-12-properties-string-minlength-info":{"description":"Schema properties that are of the string type have the min length applied defining the shape of the property","message":"Schema String Properties Has Minimum Length","severity":"info","given":"$properties[?(@.type == 'string')]","then":{"field":"minLength","function":"falsy"}}}

Back to All of the Rules