JSON Schema Draft 2020-12 Description Error (Edit)

Each JSON Schema object MUST include a description that explains, in plain language, the purpose and function of the object. This description should provide a clear overview of how the object is intended to be used within operations.

JSON SchemaMetadata

Rule Definition

json-schema-2020-12-description-error.yaml
{"json-schema-2020-12-description-error":{"description":"Each JSON Schema object MUST include a description that explains, in plain language, the purpose and function of the object. This description should provide a clear overview of how the object is intended to be used within operations.","given":"$","severity":"error","then":{"field":"description","function":"truthy"}}}

Back to All of the Rules