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

Schema properties should have descriptions that provide a narrative of the property contains, and how it can be used

JSON SchemaSchemaPropertiesMetadata

Rule Definition

json-schema-2020-12-properties-descriptions-error.yaml
{"json-schema-2020-12-properties-descriptions-error":{"description":"Schema properties should have descriptions that provide a narrative of the property contains, and how it can be used","message":"Schema Properties MUST Have Description","severity":"error","given":"$.properties[?(@.type == 'string')]","then":{"field":"description","function":"truthy"}}}

Back to All of the Rules