{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/DataQualityRule", "title": "DataQualityRule", "type": "object", "description": "A data quality rule definition", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "ruleType": { "type": "string", "enum": [ "Completeness", "Uniqueness", "Freshness", "Accuracy", "Consistency", "Validity" ] }, "expression": { "type": "string" }, "dimension": { "type": "string" }, "severity": { "type": "string", "enum": [ "Low", "Medium", "High", "Critical" ] }, "isEnabled": { "type": "boolean" }, "targetAssets": { "type": "array", "items": { "type": "string" } }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } } }