errors
property, providing detailed information about any data quality issues or schema violations.
Error Structure
The validation errors are organized in a tree structure where each path represents a field or nested object in your data. Each leaf node contains an array ofValidationErrorDetail
objects:
Error Types
The system recognizes several categories of validation errors:-
Basic Validation
pattern
: Value doesn’t match the required patternrequired
: Required field is missingtype
: Value doesn’t match the expected typeenum
: Value isn’t one of the allowed optionsarray
: Array validation failuresduplicate
: Duplicate value where uniqueness is required
-
Custom Validation
custom
: Custom validation rule failuresunknown
: Unrecognized validation issues
-
Unsupported Cases
- Various
unsupported_*
types for special handling
- Various