{
  "author": "Voodflow",
  "license": "MIT",
  "description": "Validate Schema: Validate webhook input fields",
  "version": "1.0.0",
  "nodes": [
    {
      "id": "dummy_data_node-vs-ex-001",
      "type": "dummy_data_node",
      "position": { "x": -600, "y": -50 },
      "data": {
        "label": "Webhook Payload",
        "description": "Simulated incoming webhook data",
        "data_type": "json",
        "content": "{\n  \"name\": \"Alice\",\n  \"email\": \"alice@example.com\",\n  \"amount\": 99.50,\n  \"currency\": \"EUR\"\n}",
        "icon": "heroicon-o-document-arrow-down",
        "iconType": "heroicon",
        "color": "emerald",
        "display_name": "Dummy Data",
        "isNew": true,
        "isExpanded": true,
        "positioning": { "input": false, "output": true },
        "config": {
          "label": "Webhook Payload",
          "data_type": "json",
          "content": "{\n  \"name\": \"Alice\",\n  \"email\": \"alice@example.com\",\n  \"amount\": 99.50,\n  \"currency\": \"EUR\"\n}",
          "positioning": { "input": false, "output": true },
          "isExpanded": true
        }
      },
      "measured": { "width": 450, "height": 380 }
    },
    {
      "id": "validate_schema_node-vs-ex-002",
      "type": "validate_schema_node",
      "position": { "x": 0, "y": -50 },
      "data": {
        "label": "Validate Input",
        "description": "Check required fields and types",
        "mode": "fail",
        "rules": [
          { "field": "name", "type": "string", "required": true, "min": "2", "max": "100", "pattern": "", "format": "" },
          { "field": "email", "type": "email", "required": true, "min": "", "max": "", "pattern": "", "format": "" },
          { "field": "amount", "type": "number", "required": true, "min": "0.01", "max": "", "pattern": "", "format": "" }
        ],
        "icon": "heroicon-o-check-badge",
        "iconType": "heroicon",
        "color": "emerald",
        "display_name": "Validate Schema",
        "isNew": true,
        "isExpanded": true,
        "config": {
          "label": "Validate Input",
          "description": "Check required fields and types",
          "mode": "fail",
          "rules": [
            { "field": "name", "type": "string", "required": true, "min": "2", "max": "100", "pattern": "", "format": "" },
            { "field": "email", "type": "email", "required": true, "min": "", "max": "", "pattern": "", "format": "" },
            { "field": "amount", "type": "number", "required": true, "min": "0.01", "max": "", "pattern": "", "format": "" }
          ],
          "isExpanded": true
        }
      },
      "measured": { "width": 500, "height": 400 }
    },
    {
      "id": "data_viewer_node-vs-ex-003",
      "type": "data_viewer_node",
      "position": { "x": 650, "y": -50 },
      "data": {
        "label": "Valid Data",
        "description": "Payload passed validation",
        "view_mode": "auto",
        "icon": "heroicon-o-table-cells",
        "iconType": "heroicon",
        "color": "slate",
        "display_name": "Data Viewer",
        "isNew": true,
        "config": { "label": "Valid Data", "view_mode": "auto" }
      },
      "measured": { "width": 450, "height": 300 }
    }
  ],
  "edges": [
    {
      "id": "edge-dummy-to-validate",
      "source": "dummy_data_node-vs-ex-001",
      "target": "validate_schema_node-vs-ex-002",
      "sourceHandle": null,
      "targetHandle": null,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    },
    {
      "id": "edge-validate-to-viewer",
      "source": "validate_schema_node-vs-ex-002",
      "target": "data_viewer_node-vs-ex-003",
      "sourceHandle": null,
      "targetHandle": null,
      "style": { "stroke": "#64748b", "strokeWidth": 2 }
    }
  ],
  "viewport": { "x": 700, "y": 300, "zoom": 0.8 },
  "exportedAt": "2026-03-31T18:00:00.000Z",
  "voodflowVersion": "1.0.0"
}
