FlowDSL Node Catalog
JSON Schema Validate
Validate the packet against an inline JSON Schema; route valid/invalid.
Overview
| Property | Value |
|---|---|
| Node ID | core/json-schema-validate |
| Kind | router |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.JSONSchemaValidate |
| Icon | lucide:shield-check |
| Color | #10b981 |
| Tags | validation, schema |
Description
Lightweight JSON Schema validator (draft 2020-12 subset — type, required, properties, enum, minimum, maximum, minLength, maxLength, pattern, items). Route Valid/Invalid.
Outputs
valid— (no description)invalid— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
schema | object | yes | map[] | — | JSON Schema |
sourcePath | string | — | — | — | Path to validate (default = whole packet). |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: router
action_ref: core/json-schema-validate
config:
schema: {}
sourcePath: some.packet.path