JSON Schema Draft 2020-12 Description Length Info (Edit)

The description for any JSON Schema object should be concise, ensuring it remains easy to read and understand for anyone using or interpreting it. This approach helps keep the schema self-contained while still providing enough context to inform its application wherever it is used.

JSON SchemaMetadata

Rule Definition

json-schema-2020-12-description-length-info.yaml
{"json-schema-2020-12-description-length-info":{"description":"The description for any JSON Schema object should be concise, ensuring it remains easy to read and understand for anyone using or interpreting it. This approach helps keep the schema self-contained while still providing enough context to inform its application wherever it is used.","given":"$","severity":"info","then":{"field":"description","function":"length","functionOptions":{"max":25}}}}

Back to All of the Rules