addedInput schema / $defs
Added value: +{
+ "CompletenessRule": {
+ "description": "Rule for checking data completeness.",
+ "properties": {
+ "columns": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Specific columns to check (None for all columns)"
+ },
+ "threshold": {
+ "default": 0.95,
+ "description": "Minimum completeness ratio required (0.0-1.0)",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "completeness",
+ "default": "completeness",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ConsistencyRule": {
+ "description": "Rule for checking data consistency between columns.",
+ "properties": {
+ "columns": {
+ "description": "Column pairs to check for consistency",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "consistency",
+ "default": "consistency",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DataTypesRule": {
+ "description": "Rule for checking data type consistency.",
+ "properties": {
+ "type": {
+ "const": "data_types",
+ "default": "data_types",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DuplicatesRule": {
+ "description": "Rule for checking duplicate rows.",
+ "properties": {
+ "columns": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Columns to consider for duplicate detection (None for all columns)"
+ },
+ "threshold": {
+ "default": 0.01,
+ "description": "Maximum allowable duplicate ratio (0.0-1.0)",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "duplicates",
+ "default": "duplicates",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OutliersRule": {
+ "description": "Rule for checking outliers in numeric columns.",
+ "properties": {
+ "threshold": {
+ "default": 0.05,
+ "description": "Maximum allowable outlier ratio (0.0-1.0)",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "outliers",
+ "default": "outliers",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UniquenessRule": {
+ "description": "Rule for checking column uniqueness.",
+ "properties": {
+ "column": {
+ "description": "Column name to check for uniqueness",
+ "type": "string"
+ },
+ "expected_unique": {
+ "default": true,
+ "description": "Whether column values are expected to be unique",
+ "type": "boolean"
+ },
+ "type": {
+ "const": "uniqueness",
+ "default": "uniqueness",
+ "description": "Rule type identifier",
+ "type": "string"
+ }
+ },
+ "required": [
+ "column"
+ ],
+ "type": "object"
+ }
+}