npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-deeptech-data-validation

v1.0.5

Published

n8n node for JSON Schema validation with Ajv

Readme

n8n-nodes-deeptech-data-validation

n8n Community Node License

A powerful n8n node to validate, clean, and route your data using the JSON Schema standard. Ideal for securing your workflows and ensuring data quality before processing.

Developed by DeepTech IA.


✨ Key Features

  • Robust Validation: Uses the standard Ajv engine (supports JSON Schema Draft 7+).
  • Data Cleaning (Coercion): Can automatically convert types (e.g., "123" string becomes 123 number) using "Lenient" mode.
  • Smart Routing: Automatically separates data:
    • Output 1: Valid Items.
    • Output 2: Invalid Items (with full error details).
  • Advanced Formats: Natively validates emails, dates, URLs, IPs, etc.

🚀 Installation

Via Community Node Repository (Recommended)

  1. In your n8n instance, go to Settings > Community Nodes.
  2. Click on Install.
  3. Search for the package name: n8n-nodes-deeptech-data-validation.
  4. Install and wait for the reload.

Via Docker (Manual)

Add this command to your Dockerfile or install it in the ~/.n8n volume:

npm install n8n-nodes-deeptech-data-validation

🛠 Usage Guide

  1. Add the Data Validation node to your workflow.
  2. Connect your data source (e.g., Webhook, Typeform, Google Sheets).
  3. Configure your validation rules in the node panel.

Configuration Parameters

| Parameter | Option | Description | | :--- | :--- | :--- | | JSON Schema | JSON | The schema defining the expected structure of your data. | | Validation Mode | Strict | Data must match exactly (e.g., a number must be a number). | | Validation Mode | Lenient | Attempts to coerce types (e.g., "true" string becomes boolean true). | | On Error | Route | Sends invalid items to the "Invalid" output (does not stop the workflow). | | On Error | Stop | Stops the workflow immediately if an error is detected. |


📚 Schema Cookbook

Copy and paste these schemas directly into the node.

1. Basic User (Email + Name)

Checks that an email is valid and the name exists.

{
  "type": "object",
  "properties": {
    "name": { "type": "string", "minLength": 2 },
    "email": { "type": "string", "format": "email" },
    "age": { "type": "integer", "minimum": 18 }
  },
  "required": ["name", "email"]
}

2. E-commerce Product

Validates a product with tags and a positive price.

{
  "type": "object",
  "properties": {
    "sku": { "type": "string", "pattern": "^[A-Z]{3}-\\d{3}$" },
    "price": { "type": "number", "exclusiveMinimum": 0 },
    "tags": {
      "type": "array",
      "items": { "type": "string" },
      "minItems": 1
    },
    "inStock": { "type": "boolean" }
  },
  "required": ["sku", "price"]
}

3. Nested Complex Data

An address object inside a profile.

{
  "type": "object",
  "properties": {
    "username": { "type": "string" },
    "contact": {
      "type": "object",
      "properties": {
        "phone": { "type": "string" },
        "address": {
            "type": "object",
            "properties": {
                "city": { "type": "string" },
                "zip": { "type": "string", "pattern": "^\\d{5}$" }
            },
            "required": ["city"]
        }
      }
    }
  }
}

❓ Troubleshooting & Support

Why do my items go to "Invalid"?

Check the output of the "Invalid Items" branch. Each object contains a special _validationErrors field explaining exactly why:

{
  "name": "Bob",
  "email": "bob-at-gmail.com",
  "_validationErrors": [
    {
      "path": "/email",
      "message": "must match format \"email\""
    }
  ]
}

Contact

For any questions, suggestions, or enterprise support: 📧 Email: [email protected]


Generated with ❤️ by DeepTech IA for the n8n community.