Validity Checks¶
Validity checks ensure that data conforms to expected formats, ranges, and patterns. These checks are essential for data type validation, format verification, and business rule compliance.
Follow these best practices for validity checks:
Start with common patterns available in the UI before creating custom ones.
Test regex patterns on sample data before implementing checks.
Consider case sensitivity in pattern matching.
Allow flexibility where appropriate (e.g., international phone formats).
Use percentage-based thresholds for large datasets that may have some exceptions.
Available Metrics¶
Invalid Count: Count of values not matching validation rules.
Invalid Percentage: Percentage of invalid values.
Valid Format: Validates against a regex pattern.
Valid Values: Validates against a list of allowed values.
Configuration Examples¶
Check Description |
Configuration Steps |
Example Check |
---|---|---|
Validate email format |
|
|
Ensure valid status values |
|
|
Validate phone number format |
|
|
Common Validation Patterns¶
Data Type |
Regex Pattern |
Description |
---|---|---|
|
Standard email validation |
|
US Phone |
|
US phone number format |
Date (YYYY-MM-DD) |
|
|
ZIP Code |
|
US ZIP code with optional |
URL |
|
Web URL validation |