JSON Schema Draft 2020-12 Description Info (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-info.yaml
{"json-schema-2020-12-description-info":{"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":"falsy"}}}

Back to All of the Rules