FlowDSL Node Catalog

JSON Schema Validate

Validate the packet against an inline JSON Schema; route valid/invalid.

Overview

PropertyValue
Node IDcore/json-schema-validate
Kindrouter
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.JSONSchemaValidate
Iconlucide:shield-check
Color#10b981
Tagsvalidation, 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

PropertyTypeRequiredDefaultUI GroupDescription
schemaobjectyesmap[]—JSON Schema
sourcePathstring———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