Validator Component
Validate pipeline data against JSON Schema Draft 7, 2019-09, or 2020-12; inspect format errors and choose whether validation failures stop or pass through.
Last updated:
The Validator Component acts as a quality gate for your pipeline. It ensures that the data passing through matches a specific structure and format.
⚙️ Configuration
- JSON Schema: Define the schema using standard JSON Schema syntax.
- Pass-through Errors: If enabled, the pipeline continues even if validation fails (passing the original data). If disabled, the pipeline stops at this node on error.
✨ Features
- Draft Support: Supports JSON Schema Draft 7, Draft 2019-09, and Draft 2020-12.
- Format Validation: Validates specialized formats like
email,date-time,uri,uuid, andipv4. - Real-time Feedback: View detailed validation errors (including instance path and error message) directly in the node's output.
💡 Example Schema
{
"type": "array",
"items": {
"type": "object",
"required": ["id", "username"],
"properties": {
"id": { "type": "number" },
"username": { "type": "string", "minLength": 3 }
}
}
}