Microsoft Purview · Schema
DataQualityRule
A data quality rule definition
ComplianceData CatalogData ClassificationData GovernanceData Loss PreventionInformation Protection
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| description | string | |
| ruleType | string | |
| expression | string | |
| dimension | string | |
| severity | string | |
| isEnabled | boolean | |
| targetAssets | array | |
| createdAt | string | |
| updatedAt | string |
JSON Schema
{
"$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"
}
}
}