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

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

JSON SchemaSchemaPropertiesTypes

Rule Definition

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

Back to All of the Rules