JSON Schema Draft 2020-12 Properties Descriptions Length Error (Edit)

Schema property descriptions should have a length limit applied, applying constraints to writing descriptions, and keeping consistent across APIs

JSON SchemaSchemaPropertiesMetadata

Rule Definition

json-schema-2020-12-properties-descriptions-length-error.yaml
{"json-schema-2020-12-properties-descriptions-length-error":{"description":"Schema property descriptions should have a length limit applied, applying constraints to writing descriptions, and keeping consistent across APIs","message":"Schema Properties Description MUST Have 250 Characters","severity":"error","given":"$.properties[?(@.type == 'string')]","then":{"field":"description","function":"length","functionOptions":{"max":250}}}}

Back to All of the Rules