Schema validation checks incoming JSON or XML files against a formal schema definition before processing. This catches structural issues, missing required fields, and type mismatches early in the pipeline.Documentation Index
Fetch the complete documentation index at: https://docs.datris.ai/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- The source file must be JSON or XML format.
- The validation schema file must be stored in MinIO in the
{environment}-configbucket undervalidation-schema/{filename}.
Configuration
Set thevalidationSchema field in the dataQuality block to the filename of the schema. The pipeline resolves the file from the MinIO config bucket at {environment}-config/validation-schema/{filename}.
Example Schema
A JSON Schema file stored in MinIO at{environment}-config/validation-schema/product_catalog_schema.json:
Behavior
- The pipeline loads the schema file from the configured path in the environment’s config bucket.
- Each record in the source file is validated against the schema.
- If any record fails validation, the file is rejected and processing stops.
- Validation errors are logged with details about which fields failed and why.
