JSON Schema Draft 2020-12 Properties Array Maxitems Info (Edit)

Schema properties that are of the type array should have a max items property defined

JSON SchemaSchemaPropertiesTypes

Rule Definition

json-schema-2020-12-properties-array-maxitems-info.yaml
{"json-schema-2020-12-properties-array-maxitems-info":{"description":"Schema properties that are of the type array should have a max items property defined","message":"Schema Array Properties Have Max Items","severity":"info","given":"$.properties[?(@.type==\"array\")]","then":[{"field":"maxItems","function":"truthy"}]}}

Back to All of the Rules