Package Information
Released: 5/18/2025
Downloads: 1 weekly / 5 monthly
Latest Version: 0.2.0
Author: vvonkledge
Available Nodes
Documentation
n8n-nodes-veritheia
This is a collection of n8n nodes developed by Veritheia.
YAML Validator Node
The YAML Validator node allows you to validate data against a schema defined in YAML format. The node uses Zod for schema definition and validation.
Features
- Define complex validation schemas using YAML
- Two output branches: one for valid data, one for invalid data
- Comprehensive error reporting
Installation
npm install n8n-nodes-veritheia
Usage
- Add the YAML Validator node to your workflow
- Configure the schema using the YAML Schema field
- Specify the input data field name
- Connect your data source to the node's input
- Connect the "Valid" output to nodes that handle valid data
- Connect the "Invalid" output to nodes that handle invalid data
YAML Schema Examples
Simple Object Schema
type: object
properties:
name:
type: string
min: 2
max: 50
age:
type: number
min: 0
max: 120
email:
type: string
email: true
Array Schema
type: array
items:
type: object
properties:
id:
type: string
uuid: true
name:
type: string
min: 1
max: 10
Complex Schema with Nested Objects
type: object
properties:
user:
type: object
properties:
id:
type: string
profile:
type: object
properties:
firstName:
type: string
lastName:
type: string
age:
type: number
int: true
contact:
type: object
properties:
email:
type: string
email: true
phone:
type: string
regex: "^\\+[0-9]{1,3}[0-9]{6,14}$"
settings:
type: object
properties:
theme:
type: enum
values:
- light
- dark
- system
notifications:
type: boolean
Supported Schema Types
string- Validates strings with options like min/max length, email, URL, UUID, regexnumber- Validates numbers with options like min/max value, integer, positiveboolean- Validates boolean valuesarray- Validates arrays with item validation and min/max lengthobject- Validates objects with property validationenum- Validates against a set of allowed valuesdate- Validates date objectsany- Accepts any valueunion- Validates against multiple schema optionsnullable- Makes a schema accept null valuesoptional- Makes a schema accept undefined values
License
MIT