{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipe0-com/json-schema/pipe0-com-effects-request-schema.json",
  "title": "EffectsRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/pipe0-com-openapi-openapi.json#/components/schemas/EffectsRequest",
  "type": "object",
  "properties": {
    "run_if_all": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "target": {
                "type": "string",
                "enum": [
                  "count_rows"
                ]
              },
              "operator": {
                "type": "string",
                "enum": [
                  "eq",
                  "neq",
                  "gt",
                  "gte",
                  "lt",
                  "lte"
                ]
              },
              "value": {
                "type": "integer",
                "minimum": 0
              },
              "where": {
                "type": "object",
                "properties": {
                  "logic": {
                    "type": "string",
                    "enum": [
                      "and",
                      "or"
                    ],
                    "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                  },
                  "conditions": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string",
                              "enum": [
                                "value"
                              ],
                              "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                            },
                            "field_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Name of a field from the input data or produced by another pipe in the payload."
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "eq",
                                "neq",
                                "gt",
                                "gte",
                                "lt",
                                "lte",
                                "contains",
                                "not_contains",
                                "matches",
                                "older_than_days",
                                "within_last_days"
                              ],
                              "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                            },
                            "value": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "boolean"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                            }
                          },
                          "required": [
                            "property",
                            "field_name",
                            "operator",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string",
                              "enum": [
                                "status"
                              ],
                              "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                            },
                            "field_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Name of a field from the input data or produced by another pipe in the payload."
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "eq",
                                "neq"
                              ],
                              "description": "Status comparison operator: \"eq\" or \"neq\"."
                            },
                            "value": {
                              "type": "string",
                              "enum": [
                                "failed",
                                "no_result",
                                "completed",
                                "skipped",
                                "pending",
                                "yielded"
                              ],
                              "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                            }
                          },
                          "required": [
                            "property",
                            "field_name",
                            "operator",
                            "value"
                          ]
                        }
                      ]
                    },
                    "minItems": 1,
                    "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                  }
                },
                "required": [
                  "logic",
                  "conditions"
                ],
                "description": "Which rows to count, in the sheet's condition format. Omit to count every row."
              }
            },
            "required": [
              "target",
              "operator",
              "value"
            ]
          }
        ]
      },
      "minItems": 1,
      "description": "Run the whole chain only if every check passes; otherwise the run is skipped (status \"skipped\", reason RunIfAllUnmet). count_rows counts this sheet's rows matching `where` (all rows if omitted) once, before the first effect, and compares the count with operator/value. Pace intake with it: search only while fewer than N rows are still pending. Status \"pending\" = never ran; queued/processing rows are already in progress and do not count. Not the pipe run_if shape. Example: [{ \"target\": \"count_rows\", \"operator\": \"lt\", \"value\": 50, \"where\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"enrollment\", \"operator\": \"eq\", \"value\": \"pending\" }] } }]"
    },
    "config": {
      "type": "object",
      "properties": {
        "diff": {
          "type": "object",
          "properties": {
            "limit": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000,
              "default": 100,
              "description": "How many per-record diff entries to keep on the result. `counts` stays exact regardless."
            }
          }
        },
        "run_added_rows": {
          "type": "boolean",
          "description": "When true, after this run's effects complete, run the sheet's pipes over exactly the rows the run appended (the contiguous tail). Off by default. Durable on schedules: a scheduled chain that adds rows then enriches them on every fire."
        }
      }
    },
    "effects": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EffectPayloadSchema"
      },
      "minItems": 1
    }
  },
  "required": [
    "effects"
  ],
  "$defs": {
    "EffectPayloadSchema": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:dedupe@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                },
                "match": {
                  "type": "string",
                  "default": "all"
                },
                "strategy": {
                  "type": "string",
                  "default": "keep_oldest"
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:duplicate@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:enrich@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "pipes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/PipePayload"
                  },
                  "default": []
                },
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "run_statuses": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "failed",
                      "no_result",
                      "skipped",
                      "completed",
                      "yielded"
                    ]
                  }
                },
                "cascade": {
                  "type": "string",
                  "description": "\"lazy\" (default): cells whose input this run recomputes turn stale and re-run on a later run. \"eager\": this run re-runs them too, in dependency order. Eager spends credits on paid pipes again and repeats external writes."
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:adopt@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "pipes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/PipePayload"
                  },
                  "default": []
                },
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "adopt_statuses": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "failed",
                      "no_result",
                      "skipped",
                      "completed"
                    ]
                  }
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:add@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/PipesInput"
                  },
                  "minItems": 1,
                  "maxItems": 100
                },
                "allow_field_creation": {
                  "type": "boolean",
                  "default": false
                },
                "allow_empty": {
                  "type": "boolean",
                  "default": false
                }
              },
              "required": [
                "input"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:add:run@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "run_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "minItems": 1,
                  "maxItems": 10
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "allow_field_creation": {
                  "type": "boolean",
                  "default": true
                }
              },
              "required": [
                "run_ids"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:import@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "staging_group_id": {
                  "type": "string",
                  "minLength": 1
                },
                "allow_field_creation": {
                  "type": "boolean",
                  "default": false
                },
                "event_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "staging_group_id"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "row:update@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "record_id": {
                  "type": "string",
                  "minLength": 1
                },
                "record": {
                  "$ref": "#/$defs/PipesInput"
                }
              },
              "required": [
                "record_id",
                "record"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:remove@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:removeempty@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:copy:sheet@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "target_sheet": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Slug of the destination sheet. Created if missing (see below). Slugs are org-unique — for a NEW sheet use a short descriptive slug plus a few random chars (e.g. \"ceos-x7k2\") so it can't hit an unrelated existing sheet."
                },
                "create_if_missing": {
                  "type": "boolean",
                  "default": true,
                  "description": "When the target sheet does not exist, create it in this sheet's project. Off ⇒ fail."
                },
                "write_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "alias": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "default": []
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:filter:prompt@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "prompt": {
                  "type": "string"
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "google-medium",
                    "google-low",
                    "openai-high",
                    "openai-medium",
                    "anthropic-high",
                    "anthropic-medium",
                    "anthropic-low"
                  ],
                  "default": "openai-medium"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "default": []
                }
              },
              "required": [
                "prompt"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "rows:sort@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string",
                        "minLength": 1
                      },
                      "direction": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc"
                        ],
                        "default": "asc"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "pipe:add@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "pipe_payload": {
                  "$ref": "#/$defs/PipePayload"
                }
              },
              "required": [
                "pipe_payload"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "pipe:update@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "config_hash": {
                  "type": "string",
                  "minLength": 1
                },
                "pipe_payload": {
                  "$ref": "#/$defs/PipePayload"
                }
              },
              "required": [
                "config_hash"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "pipe:remove@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "config_hash": {
                  "type": "string"
                },
                "hard": {
                  "type": "boolean",
                  "default": false
                }
              },
              "required": [
                "config_hash"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:remove@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "field_names": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "minItems": 1
                }
              },
              "required": [
                "field_names"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:patch@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "field_name": {
                  "type": "string",
                  "minLength": 1
                },
                "new_name": {
                  "type": "string",
                  "minLength": 1
                },
                "new_format": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "json_object",
                    "json_list",
                    "json_list_string",
                    "url",
                    "website_url",
                    "profile_url",
                    "email",
                    "datetime",
                    "currency",
                    "date",
                    "phone",
                    "markdown",
                    "long_text",
                    "text",
                    "int",
                    "decimal",
                    "address_line_1",
                    "zip_code",
                    "percent",
                    "domain",
                    null
                  ]
                },
                "new_type": {
                  "type": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "json",
                    "unknown"
                  ]
                },
                "new_label": {
                  "type": "string"
                }
              },
              "required": [
                "field_name"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:duplicate@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:index:add@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:index:remove@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:add@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "json",
                    "unknown"
                  ]
                },
                "format": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "json_object",
                    "json_list",
                    "json_list_string",
                    "url",
                    "website_url",
                    "profile_url",
                    "email",
                    "datetime",
                    "currency",
                    "date",
                    "phone",
                    "markdown",
                    "long_text",
                    "text",
                    "int",
                    "decimal",
                    "address_line_1",
                    "zip_code",
                    "percent",
                    "domain",
                    null
                  ]
                },
                "label": {
                  "type": "string"
                },
                "insert_relative_to": {
                  "type": "string",
                  "minLength": 1
                },
                "insert_position": {
                  "type": "string",
                  "enum": [
                    "before",
                    "after"
                  ]
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:order:reset@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {}
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:values:reset@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "fields:deletesparse:input@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                },
                "probe_size": {
                  "description": "How many rows to sample when measuring column density."
                },
                "threshold_in_percent": {
                  "description": "Candidates populated in strictly fewer than this percent of probed rows are deleted."
                }
              },
              "required": [
                "fields"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "env:change@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "environment": {
                  "type": "string",
                  "enum": [
                    "production",
                    "sandbox"
                  ]
                }
              },
              "required": [
                "environment"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "timetravel:create@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {}
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "timetravel:travel@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "schema_id": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "schema_id"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "sheet:export@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "window"
                          ]
                        },
                        "count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 1,
                          "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                        },
                        "cursor": {
                          "type": "string",
                          "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                        }
                      },
                      "required": [
                        "type",
                        "count"
                      ],
                      "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "search:run@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "search_payload": {
                  "type": "object",
                  "properties": {
                    "search_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "search_id"
                  ],
                  "additionalProperties": {},
                  "description": "Pick and configure the search to run."
                },
                "max_number_of_results": {
                  "description": "How many results to fetch in total, across all pages. The search's own limit is only the page size. The TOTAL fetch budget, and the field the user's count belongs in: search:run@1 keeps requesting pages until it has fetched this many (or the source runs out). search_payload.config.limit is only the size of EACH page — \"find 25\" is max_number_of_results: 25, never limit: 25 (that pages 25 at a time up to this budget). It also caps each page's size. Duplicates are not re-fetched, so this bounds raw results, not final rows: for EXACTLY N new rows set stop_at_unique_rows_count to N and this to 1000000. For a plain fetch, set this to the number of rows wanted."
                },
                "deduplicate": {
                  "type": "boolean",
                  "default": true,
                  "description": "Skip results that already exist in the sheet. Dedup key is the search's own declared key — that key field must stay ENABLED in the search's output_fields: rows fetched without it can never match anything, so dedup (and every stop condition built on it) silently stops working. Discards are NOT topped up with extra pages, so to reliably collect N unique rows pair this with `stop_at_unique_rows_count` and a large `max_number_of_results`."
                },
                "stop_at_unique_rows_count": {
                  "description": "Stop after this many new rows have been added. Leave empty for no early stop. Bounded by Max results. Set this to the exact unique-row count you want (only works with `deduplicate` on). It paginates full pages until this many NEW rows are added, so set `max_number_of_results` to the maximum (1000000) to give it room — `max_number_of_results` then just acts as a safety backstop."
                },
                "stop_when_no_new_unique_rows": {
                  "type": "boolean",
                  "default": false,
                  "description": "Stop paginating once a fetched page adds nothing new (every result already exists in the sheet). The incremental-fetch stop (only works with `deduplicate` on): on sources ordered newest-first — X followers, recency-sorted post searches — a page of all-known rows proves everything newer has been collected, so a SCHEDULED run fetches only what arrived since last time. Pair with a SMALL page size (the all-known boundary page still bills) and a large `max_number_of_results` as the safety backstop; the first run on an empty sheet knows nothing yet and backfills up to that max. Do NOT use on sources that interleave old and new results (relevance-sorted searches) — an all-known page there does not mean the rest is known."
                },
                "continue_from_last_run": {
                  "type": "boolean",
                  "default": false,
                  "description": "Fetch the next page after where the last run of this search on this sheet stopped, instead of starting at page one. Each run continues where the last run of this search on this sheet stopped. Same search_id and filters; editing them starts over at page one. Use on a schedule that should keep fetching NEW pages instead of refetching page one. Keep `deduplicate` on: a run may re-fetch a partly used page."
                },
                "fail_when_no_results": {
                  "type": "boolean",
                  "default": false,
                  "description": "Fail the run when the provider returns no results. On a schedule this pauses it right away. Fails the run when the provider returns 0 results, which pauses a schedule immediately: the search is used up. Set it with `continue_from_last_run`. Never set it on monitoring searches (newest-first, date windows) where an empty day is normal. Later steps of the same run are skipped, so keep the search in its own schedule."
                }
              },
              "required": [
                "search_payload",
                "max_number_of_results"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "stream:subscribe@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "stream": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The stream's org-unique slug. Its events land as rows on this sheet. Create the stream first — unlike `bucket:claim@1`, this cannot mint its target on first write, because a stream needs credentials and provider config that do not fit in flat effect config. Subscribing the same sheet twice is a no-op rather than a way to land every event twice."
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null,
                  "description": "Opaque token describing the columns this stream writes."
                },
                "run_added_rows": {
                  "type": "boolean",
                  "default": true,
                  "description": "After each batch of events lands, run this sheet's pipes over exactly the rows it added. ON by default: a sheet that has pipes is a program the landed rows are meant to go through (enrich the poster, qualify the booking), and rows that sit there unenriched read as a stream that is not working. Set it FALSE when the sheet is an archive you read or filter by hand. The cost is real and unbounded — a stream lands rows continuously and unattended, so this commits the org to per-row enrichment spend on every event for as long as the stream runs, bounded only by the stream's own volume. A no-op on a sheet with no pipes. Per SUBSCRIPTION, so one stream can feed a raw archive sheet with this off and a qualified-leads sheet with it on."
                },
                "allow_entity_creation": {
                  "type": "boolean",
                  "default": true,
                  "description": "Create the stream's columns on this sheet if they do not exist yet. Leave it on. Set false ONLY when the user explicitly forbids creating columns — a sheet you just created still needs it, because the stream's columns are entities too. With it off and the columns absent, every delivery fails the projection instead of landing."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "stream:unsubscribe@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "stream": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The stream's org-unique slug. This sheet stops consuming it."
                }
              }
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "sheet:reset@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {}
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "yields:wake@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "window"
                      ]
                    },
                    "count": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "minimum": 1,
                      "description": "Up to N rows — claims fewer if fewer have work. `null` = no upper bound: every actionable row from the cursor to the end of the sheet."
                    },
                    "cursor": {
                      "type": "string",
                      "description": "Opaque resume cursor returned by a prior window response. Omitted ⇒ start at the first actionable row. Rarely set — for schedules the work set itself is the implicit, auto-advancing cursor."
                    }
                  },
                  "required": [
                    "type",
                    "count"
                  ],
                  "description": "The next `count` rows the effect still has work for, in row order. Attempted rows leave the work set, so successive runs auto-advance with no stored offset — on a schedule this drips through a finite list N rows per fire (\"the next 2 leads every day\") until it is exhausted."
                },
                "config_hash": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "selection",
                "config_hash"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "effect_id": {
              "type": "string",
              "enum": [
                "yields:resolve@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "selection": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "rows"
                          ]
                        },
                        "record_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "record_ids"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "all"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    }
                  ]
                },
                "field_name": {
                  "type": "string",
                  "minLength": 1
                },
                "resolution": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "answer"
                          ]
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "value"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "cancel"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ]
                    }
                  ]
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "selection",
                "field_name",
                "resolution"
              ]
            }
          },
          "required": [
            "effect_id",
            "config"
          ]
        }
      ]
    },
    "PipePayload": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "prompt:run@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "prompt": {
                  "type": "object",
                  "properties": {
                    "template": {
                      "type": "string",
                      "minLength": 10,
                      "description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
                    },
                    "json_schemas": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
                    }
                  },
                  "required": [
                    "template"
                  ]
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "google-medium",
                    "google-low",
                    "openai-high",
                    "openai-medium",
                    "anthropic-high",
                    "anthropic-medium",
                    "anthropic-low"
                  ],
                  "default": "openai-medium"
                }
              },
              "required": [
                "prompt"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "classify:boolean@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "prompt": {
                  "type": "object",
                  "properties": {
                    "template": {
                      "type": "string",
                      "minLength": 10,
                      "description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
                    },
                    "json_schemas": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
                    }
                  },
                  "required": [
                    "template"
                  ]
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "typesafe-medium"
                  ],
                  "default": "typesafe-medium"
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "boolean_classification": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'boolean_classification'"
                    },
                    "boolean_classification_confidence": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'boolean_classification_confidence'"
                    }
                  }
                }
              },
              "required": [
                "prompt"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "classify:choice@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "prompt": {
                  "type": "object",
                  "properties": {
                    "template": {
                      "type": "string",
                      "minLength": 10,
                      "description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
                    },
                    "json_schemas": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
                    }
                  },
                  "required": [
                    "template"
                  ]
                },
                "choices": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 2,
                  "maxItems": 255
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "typesafe-medium"
                  ],
                  "default": "typesafe-medium"
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "choice_classification": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'choice_classification'"
                    },
                    "choice_classification_confidence": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'choice_classification_confidence'"
                    }
                  }
                }
              },
              "required": [
                "prompt",
                "choices"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "agent:run@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "agent_type": {
                  "type": "string",
                  "default": "web_researcher"
                },
                "prompt": {
                  "type": "object",
                  "properties": {
                    "template": {
                      "type": "string",
                      "minLength": 10,
                      "description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
                    },
                    "json_schemas": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
                    }
                  },
                  "required": [
                    "template"
                  ]
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "google-medium",
                    "google-low",
                    "openai-high",
                    "openai-medium",
                    "anthropic-high",
                    "anthropic-medium",
                    "anthropic-low"
                  ],
                  "default": "openai-medium"
                }
              },
              "required": [
                "prompt"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:newssummary:website@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_news_summary": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_news_summary'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:newssummary:domain@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:newssummary:domain@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_news_summary": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_news_summary'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:techstack:builtwith@2"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "technologies": {
                  "type": "string",
                  "default": "",
                  "description": "`currently_in_use` keeps what BuiltWith detected after its latest full crawl (its own definition of live); `last_12_months` also keeps technologies last seen within a year (e.g. on rarely crawled subpages); `ever_detected` (or empty) includes removed ones — a shop that moved from Magento to Shopify years ago still lists Magento. Filter on a technology only with `currently_in_use` or `last_12_months`."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "technology_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'technology_list'"
                    },
                    "technology_match_builtwith": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'technology_match_builtwith'"
                    },
                    "spending_trend": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'spending_trend'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:websiteurl:email@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_website_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:domain:workemail@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:domain:workemail@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_domain'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:funding:leadmagic@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "funding_history": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'funding_history'"
                    },
                    "funding_total_usd": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'funding_total_usd'"
                    },
                    "leadmagic_competitor_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'leadmagic_competitor_list'"
                    },
                    "leadmagic_acquisition_history": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'leadmagic_acquisition_history'"
                    },
                    "leadmagic_company_news_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'leadmagic_company_news_list'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:funding:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:funding:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "amplemarket",
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "funding_history": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'funding_history'"
                    },
                    "funding_total_usd": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'funding_total_usd'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:workemail:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic",
                          "prospeo",
                          "amplemarket",
                          "hunter",
                          "icypeas",
                          "findymail"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "prospeo"
                    },
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "hunter"
                    }
                  ]
                },
                "allow_catch_all_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "Catch-alls appear valid but remain undeliverable-risk."
                },
                "allow_risky_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "DNS configuration and spam reputation may flag emails as high-risk."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'work_email'"
                    },
                    "email_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:workemail:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:workemail:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic",
                          "wiza",
                          "prospeo",
                          "amplemarket",
                          "hunter",
                          "icypeas",
                          "findymail"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "wiza"
                    },
                    {
                      "provider": "prospeo"
                    },
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "hunter"
                    }
                  ]
                },
                "allow_catch_all_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "Catch-all emails appear valid but remain undeliverable-risk."
                },
                "allow_risky_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "DNS configuration and spam reputation may flag an email as high-risk."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'work_email'"
                    },
                    "email_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:email:iswork@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "is_work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'is_work_email'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use email:iswork@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:iswork@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "is_work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'is_work_email'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:name:split@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "first_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'first_name'"
                    },
                    "last_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'last_name'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:name:split@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:name:split@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "first_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'first_name'"
                    },
                    "last_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'last_name'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:email:validate:zerobounce@2"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "zerobounce_validation_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'zerobounce_validation_match'"
                    },
                    "zerobounce_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'zerobounce_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use email:validate:zerobounce@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:validate:zerobounce@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "zerobounce_validation_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'zerobounce_validation_match'"
                    },
                    "zerobounce_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'zerobounce_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:name:join@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "first_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "last_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'name'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:overview@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_social_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_description": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_description'"
                    },
                    "company_industry": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_industry'"
                    },
                    "company_region": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_region'"
                    },
                    "headcount": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'headcount'"
                    },
                    "estimated_revenue": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'estimated_revenue'"
                    },
                    "founded_year": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'founded_year'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:identity@2 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:overview@2"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_description": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_description'"
                    },
                    "company_industry": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_industry'"
                    },
                    "company_region": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_region'"
                    },
                    "headcount": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'headcount'"
                    },
                    "estimated_revenue": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'estimated_revenue'"
                    },
                    "founded_year": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'founded_year'"
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_name'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:overview@3 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:overview@3"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_description": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_description'"
                    },
                    "company_industry": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_industry'"
                    },
                    "company_region": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_region'"
                    },
                    "headcount": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'headcount'"
                    },
                    "estimated_revenue": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'estimated_revenue'"
                    },
                    "founded_year": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'founded_year'"
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_name'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "json:extract:multi@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "json_extraction": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string",
                      "minLength": 1
                    },
                    "extractions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string",
                            "minLength": 1
                          },
                          "output_field": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "minLength": 1
                              },
                              "format": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "enum": [
                                  "json_object",
                                  "json_list",
                                  "json_list_string",
                                  "url",
                                  "website_url",
                                  "profile_url",
                                  "email",
                                  "datetime",
                                  "currency",
                                  "date",
                                  "phone",
                                  "markdown",
                                  "long_text",
                                  "text",
                                  "int",
                                  "decimal",
                                  "address_line_1",
                                  "zip_code",
                                  "percent",
                                  "domain",
                                  null
                                ],
                                "default": null
                              },
                              "label": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "string",
                                  "number",
                                  "boolean",
                                  "json",
                                  "unknown"
                                ]
                              }
                            },
                            "required": [
                              "name",
                              "type"
                            ]
                          }
                        },
                        "required": [
                          "path",
                          "output_field"
                        ]
                      },
                      "minItems": 1
                    }
                  },
                  "required": [
                    "field_name",
                    "extractions"
                  ],
                  "description": "Extract values from a json field into new columns. Set each output_field.format where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; leave it null only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format."
                },
                "read_fingerprint_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "default": {
                    "field_name": ""
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "A field whose value joins this pipe's input fingerprint and is never sent: when it changes, the pipe runs again. To fetch fresh data before each poll@1 check, pick the poll's stamp_fingerprint_field here, on every pipe from the fetch to the poll."
                }
              },
              "required": [
                "json_extraction"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:write@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "template": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Liquid template with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Filters are hard-whitelisted — ONLY: json, escape, escape_once, default, upcase, downcase, size, join, first, last, replace, truncate, strip, newline_to_br, url_encode; anything else (split, slice, …) fails validation. Example: \"Write to {{ name }} about {{ topic | default: \\\"the project\\\" }}.\""
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "google-medium",
                    "google-low",
                    "openai-high",
                    "openai-medium",
                    "anthropic-high",
                    "anthropic-medium",
                    "anthropic-low"
                  ],
                  "default": "openai-medium"
                },
                "signature": {
                  "type": "string",
                  "minLength": 5
                },
                "persona": {
                  "type": "string"
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "email_subject": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_subject'"
                    },
                    "email_body": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_body'"
                    }
                  }
                }
              },
              "required": [
                "template",
                "signature",
                "persona"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "fields:merge@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "merge_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "minItems": 1
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "merge_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'merge_result'"
                    }
                  }
                }
              },
              "required": [
                "merge_fields"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "field:slugify@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "string_input": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "slugified": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'slugified'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "field:domainify@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "url_input": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'domain'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "field:timestamp@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "offset_days": {},
                "granularity": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "\"datetime\" (default) keeps the full instant; \"date\" truncates to midnight UTC for stable date-only comparisons and cohort labels."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "timestamp": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'timestamp'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "wait@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "duration_minutes": {
                  "description": "Counted from the row's first run. The row resumes on the first wake after this, never before."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "waited": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'waited'"
                    }
                  }
                }
              },
              "required": [
                "duration_minutes"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "poll@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "ready_when": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "interval_minutes": {},
                "backoff_rate": {},
                "max_interval_minutes": {},
                "max_attempts": {},
                "stamp_fingerprint_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "default": {
                    "field_name": ""
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "An input column for this poll alone (fields:add@1, type string), never a pipe's output. Before each check a wake writes a new value into it, so the pipes that take it as their read_fingerprint_field fetch again."
                },
                "cascade": {
                  "type": "string",
                  "default": "lazy",
                  "description": "Keep \"lazy\"; don't use \"eager\" yet. Refresh each check's data through the stamp: every pipe from the fetch to this poll takes stamp_fingerprint_field as its read_fingerprint_field."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "ready": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'ready'"
                    }
                  }
                }
              },
              "required": [
                "interval_minutes",
                "backoff_rate",
                "max_interval_minutes",
                "max_attempts"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "confirm@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "confirmation": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'confirmation'"
                    },
                    "approved": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'approved'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "choice@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "choices": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 2,
                  "maxItems": 50
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "user_selection": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'user_selection'"
                    },
                    "choice": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'choice'"
                    }
                  }
                }
              },
              "required": [
                "choices"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "formula:run@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 10000
                },
                "formula_inputs": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "default": []
                },
                "result_type": {
                  "type": "string",
                  "default": "string"
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "formula_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'formula_result'"
                    }
                  }
                }
              },
              "required": [
                "code"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "signals:personprofilematch@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "signals": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "joined_company",
                      "left_company",
                      "returned_to_company",
                      "promotion_to_senior_ic",
                      "promotion_to_manager",
                      "promotion_to_leadership",
                      "promotion_to_c_suite",
                      "changed_role",
                      "work_anniversary",
                      "graduated"
                    ]
                  },
                  "default": []
                },
                "default_window": {
                  "type": "string",
                  "default": "l90d"
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "person_profile_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "signal_window_start": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "signal_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'signal_list'"
                    },
                    "signal_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'signal_count'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "http:request@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "method": {
                  "type": "string",
                  "default": "GET"
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 2048,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. http and https URLs only."
                },
                "query_params": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {}
                },
                "body": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 1000000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Sent verbatim as the request body. Set Content-Type via config.headers."
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {}
                },
                "expected_response_schema": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "rate_limit": {
                  "type": "string",
                  "default": "",
                  "description": "Caps the request rate to the endpoint. Pick the tier at or below the target API's documented limit. Empty = no limit. Changing it re-runs completed rows."
                },
                "retry_limit": {
                  "type": "string",
                  "default": "",
                  "description": "Retries non-2xx responses and network errors with backoff. Retrying non-GET requests can repeat side effects. Empty = no retries, except a 429, which is always retried at least twice. Changing it re-runs completed rows."
                },
                "read_fingerprint_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "default": {
                    "field_name": ""
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "A field whose value joins this pipe's input fingerprint and is never sent: when it changes, the pipe runs again. To fetch fresh data before each poll@1 check, pick the poll's stamp_fingerprint_field here, on every pipe from the fetch to the poll."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "http_response_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'http_response_status'"
                    },
                    "http_response_body": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'http_response_body'"
                    },
                    "http_response_headers": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'http_response_headers'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:send:resend@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "from": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "reply_to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 998,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "body": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 1000000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Markdown; rendered to HTML at send time."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "resend_email_success": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'resend_email_success'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "contact:create:resend@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "segment_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "add_as_subscribed": {
                  "type": "boolean",
                  "default": true
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "resend_contact_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'resend_contact_id'"
                    }
                  }
                }
              },
              "required": [
                "segment_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:enroll:lemlist@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "campaign_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "custom_variables": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "lemlist variables, sent with the lead. Keys must match what the sequence references (e.g. `{{ firstName }}`, `{{ companyName }}`, `{{ painPoint }}`) — case-sensitive, no spaces; lemlist's own fields go here too. An empty value skips that variable. The email and LinkedIn URL are set via input_fields, not here."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "lemlist_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'lemlist_lead_id'"
                    },
                    "lemlist_enrollment_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'lemlist_enrollment_result'"
                    }
                  }
                }
              },
              "required": [
                "campaign_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:enroll:instantly@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "campaign_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "skip_if_in_other_campaigns": {
                  "type": "boolean",
                  "default": true,
                  "description": "true (default): skip a lead already in any Instantly campaign in the workspace. Set false only when the user wants people enrolled in parallel campaigns."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "custom_variables": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Instantly variables, sent with the lead. Keys must match what the campaign references (e.g. `{{firstName}}`, `{{companyName}}`) — case-sensitive; letters, digits, and underscores only. Every variable the campaign uses is required: Instantly would email a blank, so a row whose value renders empty fails before it is sent — give a value that can be empty a default, e.g. `{{ company | default: \"your team\" }}`."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "instantly_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'instantly_lead_id'"
                    },
                    "instantly_enrollment_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'instantly_enrollment_result'"
                    }
                  }
                }
              },
              "required": [
                "campaign_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:enroll:nooks@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "sequence_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "owner_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. A Nooks user id: pick one for a fixed owner, or reference a column (e.g. {{ nooks_user_id }} from user:match:nooks@1) to give each row its own owner. A private sequence only accepts its own owner."
                },
                "mailbox_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Optional; leave empty for the owner's default mailbox. Only allowed with a fixed (non-templated) owner_id."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "nooks_prospect_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "nooks_sequence_state_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_sequence_state_id'"
                    }
                  }
                }
              },
              "required": [
                "sequence_id",
                "mailbox_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:assert:emailbison@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "custom_variables": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Every lead value goes here. Keys first_name (required by Email Bison), last_name, title, company and notes are the lead's own fields; every other key must be an existing custom variable in the workspace, spelled exactly as Email Bison lists it (get_provider_context lists them). The email comes from the input — never set it here. Each value is a Liquid template over the sheet's columns; give a value that can be empty a default, e.g. `{{ company_name | default: \"your team\" }}`."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "emailbison_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_lead_id'"
                    },
                    "emailbison_lead_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_lead_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:enroll:emailbison@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "campaign_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "allow_parallel_sending": {
                  "type": "boolean",
                  "default": false,
                  "description": "false (default): Email Bison doesn't add a lead that is in sequence in another campaign. Set true only when the user wants people in parallel campaigns."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "emailbison_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "emailbison_campaign_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_campaign_id'"
                    },
                    "emailbison_enrollment_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_enrollment_result'"
                    }
                  }
                }
              },
              "required": [
                "campaign_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:match:emailbison@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "emailbison_lead_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_lead_found'"
                    },
                    "emailbison_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_lead_id'"
                    },
                    "emailbison_lead_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'emailbison_lead_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "prospect:match:nooks@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "nooks_prospect_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_prospect_found'"
                    },
                    "nooks_prospect_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_prospect_id'"
                    },
                    "nooks_prospect_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_prospect_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:intro:happenstance@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "include_my_connections": {
                  "type": "boolean",
                  "default": true,
                  "description": "Only with this on does the pipe answer 'is this person already in the key owner's own network?'."
                },
                "include_friends_connections": {
                  "type": "boolean",
                  "default": true
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "connection_degree": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'connection_degree'"
                    },
                    "best_intro_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'best_intro_name'"
                    },
                    "happenstance_intro_paths": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'happenstance_intro_paths'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:contacts:happenstance@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "include_my_connections": {
                  "type": "boolean",
                  "default": true
                },
                "include_friends_connections": {
                  "type": "boolean",
                  "default": true
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "network_contacts_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'network_contacts_count'"
                    },
                    "best_intro_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'best_intro_name'"
                    },
                    "happenstance_network_contacts": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'happenstance_network_contacts'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "user:match:nooks@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "nooks_user_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_user_id'"
                    },
                    "nooks_user_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'nooks_user_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:enroll:amplemarket@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "sequence_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The sequence must be active or paused."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "custom_variables": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Amplemarket dynamic fields, sent as the lead's data. Keys must match what the sequence references (e.g. `{{ pain_point }}`) — case-sensitive; letters, digits, and underscores only. An empty value skips that variable. Amplemarket rejects the enrollment when the sequence references a dynamic field that is missing."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "amplemarket_sequence_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'amplemarket_sequence_id'"
                    }
                  }
                }
              },
              "required": [
                "sequence_id"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:lookalikes:companyenrich@2"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "companyenrich_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'companyenrich_matches'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:posts:content:crustdata@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "post_list_string": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_list_string'"
                    },
                    "crustdata_post_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'crustdata_post_list'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "profile:posts:x@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "x_username": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "post_list_string": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_list_string'"
                    },
                    "x_post_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'x_post_list'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "reactors:post:crustdata@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "max_reactors": {},
                "reaction_type": {
                  "type": "string"
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "post_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "share_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "post_reactor_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_reactor_matches'"
                    },
                    "reactor_profile_urls": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'reactor_profile_urls'"
                    }
                  }
                }
              },
              "required": [
                "max_reactors",
                "reaction_type"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "posts:crustdata@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "limit": {},
                "filters": {
                  "type": "object",
                  "properties": {
                    "keywords": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 6,
                      "default": []
                    },
                    "keyword_operator": {
                      "type": "string",
                      "default": "OR"
                    },
                    "posted_within": {
                      "type": "string",
                      "default": ""
                    },
                    "content_types": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "photos",
                          "jobs",
                          "collaborativeArticles",
                          "videos",
                          "documents",
                          "liveVideos"
                        ]
                      },
                      "default": []
                    },
                    "authoring_company_profile_urls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "mentioned_company_profile_urls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "mentioned_person_profile_urls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "author_company_profile_urls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "author_profile_urls": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "author_titles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "default": []
                    },
                    "author_industries": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 100,
                      "default": []
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "post_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_matches'"
                    },
                    "post_list_string": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_list_string'"
                    }
                  }
                }
              },
              "required": [
                "filters"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "place:reviews:dataforseo@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "sort_by": {
                  "type": "string",
                  "default": "relevant",
                  "description": "Applied by the provider before the limit, so it decides WHICH reviews are fetched: `lowest_rating` with limit 50 fetches the 50 worst reviews (complaints), `highest_rating` the 50 best, `newest` the 50 most recent."
                },
                "limit": {},
                "keywords": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 20,
                  "default": []
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "place_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "dataforseo_review_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'dataforseo_review_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "place:match:dataforseo@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "address_city": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "address_line_1": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "zip_code": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "place_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'place_id'"
                    },
                    "dataforseo_business_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'dataforseo_business_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:searchrankings:dataforseo@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "country": {
                  "type": "string",
                  "default": ""
                },
                "language": {
                  "type": "string",
                  "default": "",
                  "description": "Leave empty unless the country has several indexed languages (e.g. Switzerland: de, fr, it); a language the country doesn't index is rejected. Without a country, a language narrows all markets to that language."
                },
                "exclude_keywords_containing": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 8,
                  "default": [],
                  "description": "Searches containing any of these terms are left out of the summary AND the keyword list, case-insensitive. Use the short brand name, e.g. [\"john reed\", \"johnreed\"] — a full listing name like \"JOHN REED Fitness Berlin Kreuzberg\" never appears inside a search and excludes nothing. Each entry is plain text or one `{{ field }}` reference to a string column."
                },
                "sort_by": {
                  "type": "string",
                  "default": "estimated_monthly_visits"
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "dataforseo_search_rankings": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'dataforseo_search_rankings'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:aioverviews:dataforseo@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "country": {
                  "type": "string",
                  "default": ""
                },
                "language": {
                  "type": "string",
                  "default": "",
                  "description": "Leave empty unless the country has several indexed languages (e.g. Switzerland: de, fr, it); a language the country doesn't index is rejected. Without a country, a language narrows all markets to that language."
                },
                "exclude_keywords_containing": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 8,
                  "default": [],
                  "description": "Searches containing any of these terms are left out of the summary AND the keyword list, case-insensitive. Use the short brand name, e.g. [\"john reed\", \"johnreed\"] — a full listing name like \"JOHN REED Fitness Berlin Kreuzberg\" never appears inside a search and excludes nothing. Each entry is plain text or one `{{ field }}` reference to a string column."
                },
                "sort_by": {
                  "type": "string",
                  "default": "monthly_searches"
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "dataforseo_ai_overview_citations": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'dataforseo_ai_overview_citations'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "posts:x@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "limit": {},
                "filters": {
                  "type": "object",
                  "properties": {
                    "keywords": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 6,
                      "default": []
                    },
                    "keyword_operator": {
                      "type": "string",
                      "default": "OR"
                    },
                    "author_usernames": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 10,
                      "default": []
                    },
                    "mentioned_usernames": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 10,
                      "default": []
                    },
                    "links_to": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 10,
                      "default": []
                    },
                    "posted_within": {
                      "type": "string",
                      "default": ""
                    },
                    "language": {
                      "type": "string",
                      "default": ""
                    },
                    "location_countries": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "AF",
                          "AL",
                          "DZ",
                          "AD",
                          "AO",
                          "AG",
                          "AR",
                          "AM",
                          "AU",
                          "AT",
                          "AZ",
                          "BS",
                          "BH",
                          "BD",
                          "BB",
                          "BY",
                          "BE",
                          "BZ",
                          "BJ",
                          "BT",
                          "BO",
                          "BA",
                          "BW",
                          "BR",
                          "BN",
                          "BG",
                          "BF",
                          "BI",
                          "CV",
                          "KH",
                          "CM",
                          "CA",
                          "CF",
                          "TD",
                          "CL",
                          "CN",
                          "CO",
                          "KM",
                          "CG",
                          "CD",
                          "CR",
                          "CI",
                          "HR",
                          "CU",
                          "CY",
                          "CZ",
                          "DK",
                          "DJ",
                          "DM",
                          "DO",
                          "EC",
                          "EG",
                          "SV",
                          "GQ",
                          "ER",
                          "EE",
                          "SZ",
                          "ET",
                          "FJ",
                          "FI",
                          "FR",
                          "GA",
                          "GM",
                          "GE",
                          "DE",
                          "GH",
                          "GR",
                          "GD",
                          "GT",
                          "GN",
                          "GW",
                          "GY",
                          "HT",
                          "HN",
                          "HK",
                          "HU",
                          "IS",
                          "IN",
                          "ID",
                          "IR",
                          "IQ",
                          "IE",
                          "IL",
                          "IT",
                          "JM",
                          "JP",
                          "JO",
                          "KZ",
                          "KE",
                          "KI",
                          "KW",
                          "KG",
                          "LA",
                          "LV",
                          "LB",
                          "LS",
                          "LR",
                          "LY",
                          "LI",
                          "LT",
                          "LU",
                          "MO",
                          "MG",
                          "MW",
                          "MY",
                          "MV",
                          "ML",
                          "MT",
                          "MH",
                          "MR",
                          "MU",
                          "MX",
                          "FM",
                          "MD",
                          "MC",
                          "MN",
                          "ME",
                          "MA",
                          "MZ",
                          "MM",
                          "NA",
                          "NR",
                          "NP",
                          "NL",
                          "NZ",
                          "NI",
                          "NE",
                          "NG",
                          "KP",
                          "MK",
                          "NO",
                          "OM",
                          "PK",
                          "PW",
                          "PS",
                          "PA",
                          "PG",
                          "PY",
                          "PE",
                          "PH",
                          "PL",
                          "PT",
                          "PR",
                          "QA",
                          "RO",
                          "RU",
                          "RW",
                          "KN",
                          "LC",
                          "VC",
                          "WS",
                          "SM",
                          "ST",
                          "SA",
                          "SN",
                          "RS",
                          "SC",
                          "SL",
                          "SG",
                          "SK",
                          "SI",
                          "SB",
                          "SO",
                          "ZA",
                          "KR",
                          "SS",
                          "ES",
                          "LK",
                          "SD",
                          "SR",
                          "SE",
                          "CH",
                          "SY",
                          "TW",
                          "TJ",
                          "TZ",
                          "TH",
                          "TL",
                          "TG",
                          "TO",
                          "TT",
                          "TN",
                          "TR",
                          "TM",
                          "TV",
                          "UG",
                          "UA",
                          "AE",
                          "GB",
                          "US",
                          "UY",
                          "UZ",
                          "VU",
                          "VA",
                          "VE",
                          "VN",
                          "YE",
                          "ZM",
                          "ZW"
                        ]
                      },
                      "default": []
                    },
                    "include_reposts": {
                      "type": "boolean",
                      "default": false
                    },
                    "include_replies": {
                      "type": "boolean",
                      "default": true
                    },
                    "min_like_count": {},
                    "min_reply_count": {},
                    "min_repost_count": {}
                  },
                  "required": [
                    "min_like_count",
                    "min_reply_count",
                    "min_repost_count"
                  ]
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "x_post_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'x_post_matches'"
                    },
                    "post_list_string": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'post_list_string'"
                    }
                  }
                }
              },
              "required": [
                "filters"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "post:create:x@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "text": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 25000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Standard X accounts cap posts at 280 characters (URLs count as 23) — over-limit rows fail. A link anywhere in the rendered text bills 10 credits instead of 1."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "x_post_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'x_post_id'"
                    },
                    "x_post_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'x_post_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "ads:linkedin:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "ad_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'ad_list'"
                    },
                    "ad_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'ad_count'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "ads:google:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "google_ad_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'google_ad_list'"
                    },
                    "google_ad_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'google_ad_count'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "ads:meta:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "meta_ad_list": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'meta_ad_list'"
                    },
                    "meta_ad_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'meta_ad_count'"
                    }
                  }
                }
              },
              "required": [
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:identity:email:waterfall@2"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "hunter",
                          "surfe",
                          "crustdata",
                          "mixrank",
                          "aviato"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "mixrank"
                    },
                    {
                      "provider": "aviato"
                    },
                    {
                      "provider": "surfe"
                    },
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile_url'"
                    },
                    "person_profile_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'person_profile_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:identity:socialurl:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "mixrank"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "mixrank"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "social_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile_url'"
                    },
                    "person_identity_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'person_identity_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:match:crustdata@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "crustdata_companyenrich_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'crustdata_companyenrich_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:match:crustdata@2 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:match:crustdata@2"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "crustdata_companyenrich_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'crustdata_companyenrich_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:match:amplemarket@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "amplemarket_company_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'amplemarket_company_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:jobs:amplemarket@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "job_functions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "Account Management",
                      "Accounting",
                      "Acquisitions",
                      "Advertising",
                      "Anesthesiology",
                      "Application Development",
                      "Artificial Intelligence / Machine Learning",
                      "Bioengineering & Biometrics",
                      "Brand Management",
                      "Business Development",
                      "Business Intelligence",
                      "Business Service Management / ITSM",
                      "Call Center",
                      "Channel Sales",
                      "Chemical Engineering",
                      "Chiropractics",
                      "Clinical Systems",
                      "Cloud / Mobility",
                      "Collaboration & Web App",
                      "Compensation & Benefits",
                      "Compliance",
                      "Construction",
                      "Consultant",
                      "Content Marketing",
                      "Contracts",
                      "Corporate Secretary",
                      "Corporate Strategy",
                      "Culture, Diversity & Inclusion",
                      "Customer Experience",
                      "Customer Marketing",
                      "Customer Retention & Development",
                      "Customer Service / Support",
                      "Customer Success",
                      "Data Center",
                      "Data Science",
                      "Data Warehouse",
                      "Database Administration",
                      "Demand Generation",
                      "Dentistry",
                      "Dermatology",
                      "DevOps",
                      "Digital Marketing",
                      "Digital Transformation",
                      "Doctors / Physicians",
                      "eCommerce Development",
                      "eCommerce Marketing",
                      "eDiscovery",
                      "Emerging Technology / Innovation",
                      "Employee & Labor Relations",
                      "Engineering & Technical",
                      "Enterprise Architecture",
                      "Enterprise Resource Planning",
                      "Epidemiology",
                      "Ethics",
                      "Event Marketing",
                      "Executive",
                      "Facilities Management",
                      "Field / Outside Sales",
                      "Field Marketing",
                      "Finance",
                      "Finance Executive",
                      "Financial Planning & Analysis",
                      "Financial Reporting",
                      "Financial Risk",
                      "Financial Strategy",
                      "Financial Systems",
                      "First Responder",
                      "Founder",
                      "Governance",
                      "Governmental Affairs & Regulatory Law",
                      "Graphic / Visual / Brand Design",
                      "Growth",
                      "Health & Safety",
                      "Help Desk / Desktop Services",
                      "HR / Financial / ERP Systems",
                      "HR Business Partner",
                      "Human Resource Information System",
                      "Human Resources",
                      "Human Resources Executive",
                      "Industrial Engineering",
                      "Infectious Disease",
                      "Information Security",
                      "Information Technology",
                      "Information Technology Executive",
                      "Infrastructure",
                      "Inside Sales",
                      "Intellectual Property & Patent",
                      "Internal Audit & Control",
                      "Investor Relations",
                      "IT Asset Management",
                      "IT Audit / IT Compliance",
                      "IT Operations",
                      "IT Procurement",
                      "IT Strategy",
                      "IT Training",
                      "Labor & Employment",
                      "Lawyer / Attorney",
                      "Lead Generation",
                      "Learning & Development",
                      "Leasing",
                      "Legal",
                      "Legal Counsel",
                      "Legal Executive",
                      "Legal Operations",
                      "Litigation",
                      "Logistics",
                      "Marketing",
                      "Marketing Analytics / Insights",
                      "Marketing Communications",
                      "Marketing Executive",
                      "Marketing Operations",
                      "Mechanic",
                      "Medical & Health Executive",
                      "Medical Administration",
                      "Medical Education & Training",
                      "Medical Research",
                      "Medicine",
                      "Mergers & Acquisitions",
                      "Mobile Development",
                      "Networking",
                      "Neurology",
                      "Nursing",
                      "Nutrition & Dietetics",
                      "Obstetrics / Gynecology",
                      "Office Operations",
                      "Oncology",
                      "Operations",
                      "Operations Executive",
                      "Ophthalmology",
                      "Optometry",
                      "Organizational Development",
                      "Orthopedics",
                      "Partnerships",
                      "Pathology",
                      "Pediatrics",
                      "People Operations",
                      "Pharmacy",
                      "Physical Security",
                      "Physical Therapy",
                      "Principal",
                      "Privacy",
                      "Product Development",
                      "Product Management",
                      "Product Marketing",
                      "Product or UI/UX Design",
                      "Professor",
                      "Project & Program Management",
                      "Project Development",
                      "Project Management",
                      "Psychiatry",
                      "Psychology",
                      "Public Health",
                      "Public Relations",
                      "Quality Assurance",
                      "Quality Management",
                      "Radiology",
                      "Real Estate",
                      "Real Estate Finance",
                      "Recruiting & Talent Acquisition",
                      "Research & Development",
                      "Retail / Store Systems",
                      "Revenue Operations",
                      "Safety",
                      "Sales",
                      "Sales Enablement",
                      "Sales Engineering",
                      "Sales Executive",
                      "Sales Operations",
                      "Sales Training",
                      "Scrum Master / Agile Coach",
                      "Search Engine Optimization / Pay Per Click",
                      "Servers",
                      "Shared Services",
                      "Social Media Marketing",
                      "Social Work",
                      "Software Development",
                      "Sourcing / Procurement",
                      "Storage & Disaster Recovery",
                      "Store Operations",
                      "Strategic Communications",
                      "Superintendent",
                      "Supply Chain",
                      "Support / Technical Services",
                      "Talent Management",
                      "Tax",
                      "Teacher",
                      "Technical Marketing",
                      "Technician",
                      "Technology Operations",
                      "Telecommunications",
                      "Test / Quality Assurance",
                      "Treasury",
                      "UI / UX",
                      "Virtualization",
                      "Web Development",
                      "Workforce Management"
                    ]
                  },
                  "default": []
                },
                "job_departments": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "Senior Leadership",
                      "Consulting",
                      "Design",
                      "Education",
                      "Engineering & Technical",
                      "Finance",
                      "Human Resources",
                      "Information Technology",
                      "Legal",
                      "Marketing",
                      "Medical & Health",
                      "Operations",
                      "Product",
                      "Revenue"
                    ]
                  },
                  "default": []
                },
                "job_seniorities": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "Owner",
                      "Founder",
                      "C-Suite",
                      "Partner",
                      "VP",
                      "Head",
                      "Director",
                      "Manager",
                      "Senior",
                      "Entry",
                      "Intern",
                      "Other",
                      "Non-Manager",
                      "Founder / Owner"
                    ]
                  },
                  "default": []
                },
                "find_remote_opportunities_only": {
                  "type": "boolean",
                  "default": false,
                  "description": "Counts only postings Amplemarket classifies as remote. This is the endpoint's only location filter — it cannot narrow to a country or city."
                },
                "limit": {
                  "description": "Maximum postings returned per company. Billing is per company, not per posting."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "open_job_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'open_job_matches'"
                    },
                    "open_job_match_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'open_job_match_count'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "contact:match:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "check_additional_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "When the primary-email lookup misses, also searches `hs_additional_emails`. Uses the portal's shared 5 req/s search budget."
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "HubSpot internal property names (e.g. `lifecyclestage`), custom properties included. Picked properties nest under `custom_properties` in the match output. Empty = a standard identity set."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_contact_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_found'"
                    },
                    "hubspot_contact_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_id'"
                    },
                    "hubspot_contact_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "companies:match:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "check_additional_domains": {
                  "type": "boolean",
                  "default": true,
                  "description": "Also finds companies whose `hs_additional_domains` holds one of the domains."
                },
                "exclude_company_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 20,
                  "default": [],
                  "description": "Company IDs never returned as matches. Each entry is plain text or one `{{ field }}`."
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Added to the match JSON under `custom_properties` — internal names, custom properties included. Standard-set names are already top-level."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_companies_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_companies_found_count'"
                    },
                    "hubspot_company_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_company_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "deals:match:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "pipeline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Only match deals in this pipeline. Empty = all pipelines."
                },
                "status": {
                  "type": "string",
                  "default": "any",
                  "description": "Filters on HubSpot's computed hs_is_closed / hs_is_closed_won — portal-invariant, unlike stage names."
                },
                "sort": {
                  "type": "string",
                  "default": "created_desc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Added to the match JSON under `custom_properties` — internal names, custom properties included. Standard-set names are already top-level."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_deals_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_deals_found_count'"
                    },
                    "hubspot_deal_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_deal_matches'"
                    }
                  }
                }
              },
              "required": [
                "pipeline"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "object:update:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this portal's custom objects. Custom objects need HubSpot Enterprise."
                },
                "properties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are HubSpot internal property names (e.g. `jobtitle`), custom properties included."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "",
                  "description": "Only affects multi-value properties (multiple checkboxes, e.g. hs_additional_domains). Single-value properties are always replaced."
                },
                "ignore_blank_values": {
                  "type": "boolean",
                  "default": true
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_update_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_update_result'"
                    }
                  }
                }
              },
              "required": [
                "object_type"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "object:delete:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_object_id. HubSpot record IDs are unique only within one object type."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_delete_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_delete_result'"
                    }
                  }
                }
              },
              "required": [
                "object_type"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "object:merge:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of both records. HubSpot record IDs are unique only within one object type."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "hubspot_duplicate_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_merged_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_merged_object_id'"
                    },
                    "hubspot_merge_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_merge_result'"
                    }
                  }
                }
              },
              "required": [
                "object_type"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "objects:match:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this portal's custom objects, by objectTypeId (companies = 0-2)."
                },
                "property": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The internal name of the property compared with the values, custom properties included."
                },
                "operator": {
                  "type": "string",
                  "default": "eq"
                },
                "values": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 1,
                  "maxItems": 20,
                  "description": "Each entry is plain text or one `{{ field }}`. A field holding a list adds each item as its own value. Referenced fields are required; rows without them are skipped."
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "return_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Internal property names added to each match's `record` beside the matched property."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_objects_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_objects_found_count'"
                    },
                    "hubspot_object_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_object_matches'"
                    }
                  }
                }
              },
              "required": [
                "object_type",
                "property",
                "values"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "object:associations:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "from_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "to_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "association_label": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "HubSpot internal property names of the TARGET object, included per associated record. Empty = HubSpot's default property set."
                },
                "limit": {},
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_associated_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_associated_count'"
                    },
                    "hubspot_associated_objects": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_associated_objects'"
                    }
                  }
                }
              },
              "required": [
                "from_object_type",
                "to_object_type",
                "association_label"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "activity:log:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "default": "note"
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "body": {
                  "type": "string"
                },
                "timestamp": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. ISO timestamp or epoch ms — HubSpot requires one on every engagement. Empty = now."
                },
                "record_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "owner": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Assigns hubspot_owner_id. Empty = unassigned."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Blank values are skipped."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_activity_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_activity_result'"
                    }
                  }
                }
              },
              "required": [
                "body",
                "record_object_type",
                "owner"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "contact:assert:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "check_additional_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "When the primary-email lookup misses, also searches `hs_additional_emails` before creating. Uses the portal's shared 5 req/s search budget."
                },
                "properties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are HubSpot internal property names (e.g. `jobtitle`), custom properties included. Blank values are skipped, never cleared. The email comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `properties` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_contact_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_id'"
                    },
                    "hubspot_contact_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_created'"
                    },
                    "hubspot_contact_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_contact_match'"
                    },
                    "hubspot_written_properties": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_written_properties'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "object:assert:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this portal's custom objects. Activities (notes, tasks, calls, meetings, emails) are not supported — use activity:log:hubspot@1."
                },
                "match_property": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Only properties HubSpot marks unique (hasUniqueValue) qualify — contact `email` is one. An object with none needs one created in HubSpot."
                },
                "match_value": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. The value to match and create on — a literal or a `{{ field }}` tag. Written to the match property on create."
                },
                "properties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are HubSpot internal property names, custom properties included. Include every property the object requires at create. Blank values are skipped, never cleared."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `properties` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_object_id'"
                    },
                    "hubspot_object_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_object_created'"
                    },
                    "hubspot_assert_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_assert_result'"
                    },
                    "hubspot_written_properties": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_written_properties'"
                    }
                  }
                }
              },
              "required": [
                "object_type",
                "match_property"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:assert:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "check_additional_domains": {
                  "type": "boolean",
                  "default": true,
                  "description": "Also matches companies whose `hs_additional_domains` holds one of the domains before creating."
                },
                "properties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are HubSpot internal property names (e.g. `name`), custom properties included. Blank values are skipped, never cleared. The domain comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `properties` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_company_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_company_id'"
                    },
                    "hubspot_company_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_company_created'"
                    },
                    "hubspot_company_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_company_match'"
                    },
                    "hubspot_written_properties": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_written_properties'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "association:assert:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "from_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_object_id (the from side)."
                },
                "to_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_associated_object_id (the to side)."
                },
                "association_label": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The label the link gets; options are the portal's labels for the chosen pair, Unlabeled included. Existing links and labels are kept."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "hubspot_associated_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_association_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_association_result'"
                    }
                  }
                }
              },
              "required": [
                "from_object_type",
                "to_object_type",
                "association_label"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "association:remove:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "from_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_object_id (the from side)."
                },
                "to_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_associated_object_id (the to side)."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "hubspot_associated_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_association_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_association_result'"
                    }
                  }
                }
              },
              "required": [
                "from_object_type",
                "to_object_type"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "deal:create:hubspot@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "record_object_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object type of the record in hubspot_object_id — the deal is linked to it on create. Usually company (0-2) or contact (0-1)."
                },
                "pipeline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The deal pipeline id the new deal starts in (from get_provider_context or autocomplete)."
                },
                "stage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The stage id (within the selected pipeline) the new deal starts in — stage ids are numeric outside the default pipeline."
                },
                "properties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are HubSpot internal deal property names (e.g. `dealname`, `amount`), custom properties included. Blank values are skipped. Pipeline and stage come from their own fields."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_object_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "hubspot_deal_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_deal_id'"
                    },
                    "hubspot_deal_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'hubspot_deal_match'"
                    }
                  }
                }
              },
              "required": [
                "record_object_type",
                "pipeline",
                "stage"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:match:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "match_scope": {
                  "type": "string",
                  "default": "contacts_and_leads",
                  "description": "Which Salesforce person shapes to probe. Person Accounts are included automatically when the org has them."
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Field API names added to the match JSON under `custom_properties` — standard-set names are already top-level. Dotted parent paths like `Account.Industry` work."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_person_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_person_found'"
                    },
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_id'"
                    },
                    "salesforce_person_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_person_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "accounts:match:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "website_field": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": "Website",
                  "description": "The Account field the domain is matched against (default `Website`). Salesforce has no domain field; orgs that keep clean domains in a custom field, e.g. `Domain__c`, name it here."
                },
                "exclude_account_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 20,
                  "default": [],
                  "description": "Account IDs never returned as matches. Each entry is plain text or one `{{ field }}`."
                },
                "include_counts": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "contacts",
                      "open_opportunities",
                      "opportunities"
                    ]
                  },
                  "default": []
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Field API names added to each match JSON under `custom_properties` — standard-set names are already top-level."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_accounts_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_accounts_found_count'"
                    },
                    "salesforce_account_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_account_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "opportunities:match:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "default": "any",
                  "description": "Filters on Salesforce's computed IsClosed / IsWon — org-invariant, unlike stage names."
                },
                "stage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "website_field": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": "Website",
                  "description": "The Account field the domain is matched against (default `Website`). Salesforce has no domain field; orgs that keep clean domains in a custom field, e.g. `Domain__c`, name it here."
                },
                "sort": {
                  "type": "string",
                  "default": "created_desc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Field API names added to each match JSON under `custom_properties` — standard-set names are already top-level."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_opportunities_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_opportunities_found_count'"
                    },
                    "salesforce_opportunity_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_opportunity_matches'"
                    }
                  }
                }
              },
              "required": [
                "stage"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:lookup:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard and custom objects the connected user can query."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_found'"
                    },
                    "salesforce_record_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_match'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:update:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard and custom objects the connected user can update."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names (`Title`, custom fields like `Lead_Score__c`). Blank values are skipped, never cleared. For a multi-select picklist, map a list field; multiselect_mode decides add vs replace."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "",
                  "description": "Only affects multi-select picklist fields. Single-value fields are always replaced."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_update_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_update_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:delete:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Objects the connected user can delete. The record in salesforce_record_id must belong to this object."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_delete_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_delete_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:merge:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object of both records: one Salesforce can merge, e.g. Account, Contact or Lead."
                },
                "fill_empty_fields": {
                  "type": "boolean",
                  "default": true,
                  "description": "Fields empty on the kept record take the duplicate's value. Off, Salesforce keeps only the kept record's values. Lookup, checkbox and address fields are never filled."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "salesforce_duplicate_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_merged_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_merged_record_id'"
                    },
                    "salesforce_merge_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_merge_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "records:match:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard and custom objects the connected user can query, by API name."
                },
                "field": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The API name of the field compared with the values, custom fields included. Long text areas can't be filtered; Salesforce's error is shown as is."
                },
                "operator": {
                  "type": "string",
                  "default": "eq"
                },
                "values": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 1,
                  "maxItems": 20,
                  "description": "Each entry is plain text or one `{{ field }}`. A field holding a list adds each item as its own value. Referenced fields are required; rows without them are skipped."
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "return_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Field API names added to each match's `record` beside the matched field."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_records_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_records_found_count'"
                    },
                    "salesforce_record_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_matches'"
                    }
                  }
                }
              },
              "required": [
                "object",
                "field",
                "values"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:assert:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard and custom objects the connected user can create/update."
                },
                "external_id_field": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Only fields marked External ID in Setup qualify. An object with none needs one created in Setup, ideally marked Unique."
                },
                "external_id_value": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. The value to match/create on — a literal or a `{{ field }}` tag."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names. Include every field required at create — e.g. Name on Account, LastName+Company on Lead. The External ID comes from `external_id_value`."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Acknowledges the org's ALERT-mode duplicate rules and saves anyway. BLOCK-mode rules can never be bypassed; their error lists the matching records."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_id'"
                    },
                    "salesforce_record_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_created'"
                    },
                    "salesforce_record_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_record_match'"
                    },
                    "salesforce_written_fields": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_written_fields'"
                    }
                  }
                }
              },
              "required": [
                "object",
                "external_id_field"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "contact:assert:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names. LastName is required at create; AccountId links the account. The email comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Acknowledges the org's ALERT-mode duplicate rules and saves anyway. BLOCK-mode rules can never be bypassed; their error lists the matching records."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_contact_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_contact_id'"
                    },
                    "salesforce_contact_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_contact_created'"
                    },
                    "salesforce_contact_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_contact_match'"
                    },
                    "salesforce_written_fields": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_written_fields'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "lead:assert:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names. LastName and Company are required at create. The email comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Acknowledges the org's ALERT-mode duplicate rules and saves anyway. BLOCK-mode rules can never be bypassed; their error lists the matching records."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_lead_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_lead_id'"
                    },
                    "salesforce_lead_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_lead_created'"
                    },
                    "salesforce_lead_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_lead_match'"
                    },
                    "salesforce_written_fields": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_written_fields'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "account:assert:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "website_field": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": "Website",
                  "description": "The Account field the domain is matched against (default `Website`). Salesforce has no domain field; orgs that keep clean domains in a custom field, e.g. `Domain__c`, name it here."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names. Name is required at create. The website comes from the company domain input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Acknowledges the org's ALERT-mode duplicate rules and saves anyway. BLOCK-mode rules can never be bypassed; their error lists the matching records."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_account_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_account_id'"
                    },
                    "salesforce_account_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_account_created'"
                    },
                    "salesforce_account_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_account_match'"
                    },
                    "salesforce_written_fields": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_written_fields'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "opportunity:create:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "stage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "StageName of the new opportunity — an OpportunityStage ApiName of this org."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Salesforce field API names. Name and CloseDate (YYYY-MM-DD) are required; AccountId links the account. The stage comes from `stage`."
                },
                "bypass_duplicate_alerts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Acknowledges the org's ALERT-mode duplicate rules and saves anyway. BLOCK-mode rules can never be bypassed; their error lists the matching records."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_opportunity_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_opportunity_id'"
                    },
                    "salesforce_opportunity_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_opportunity_match'"
                    }
                  }
                }
              },
              "required": [
                "stage"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "activities:find:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "default": "all"
                },
                "status": {
                  "type": "string",
                  "default": "all"
                },
                "occurred_within": {
                  "type": "string",
                  "default": ""
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Task/Event field API names added to each activity JSON under `custom_properties` — standard timeline keys are already top-level."
                },
                "limit": {
                  "description": "Maximum activities returned in the list output. The found count is always the true total before this cap."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_activities_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_activities_found_count'"
                    },
                    "salesforce_last_activity_date": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_last_activity_date'"
                    },
                    "salesforce_activities": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_activities'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "activity:log:salesforce@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "body": {
                  "type": "string"
                },
                "subtype": {
                  "type": "string",
                  "default": "task"
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "related_record": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "activity_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Due/logged date, YYYY-MM-DD. Empty = today."
                },
                "owner": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Assigns OwnerId. Empty = the connected user."
                },
                "external_id_field": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "external_id_value": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are Task field API names (e.g. `Priority`), custom fields included. Blank values are skipped."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "salesforce_activity_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'salesforce_activity_result'"
                    }
                  }
                }
              },
              "required": [
                "body",
                "status",
                "owner",
                "external_id_field"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:match:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Attribute api_slugs (e.g. `job_title`), custom attributes included. Picked attributes nest under `custom_properties` in the match output. Empty = a standard identity set."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_person_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_found'"
                    },
                    "attio_person_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_id'"
                    },
                    "attio_person_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "companies:match:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "match_on": {
                  "type": "string",
                  "default": "domain",
                  "description": "Exact domain values are unique in Attio (at most one company). Root domain also matches subdomain records (app.acme.com, shop.acme.com) — several results are normal."
                },
                "exclude_company_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 20,
                  "default": [],
                  "description": "Company record IDs never returned as matches. Each entry is plain text or one `{{ field }}`."
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Attribute api_slugs (e.g. `categories`), custom attributes included. Picked attributes nest under `custom_properties` in each match. Empty = a standard identity set."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_companies_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_companies_found_count'"
                    },
                    "attio_company_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_company_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "deals:match:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "stage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "sort": {
                  "type": "string",
                  "default": "created_desc"
                },
                "custom_properties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Attribute api_slugs (e.g. `value`), custom attributes included. Picked attributes nest under `custom_properties` in each match. Empty = a standard deal set."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_deals_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_deals_found_count'"
                    },
                    "attio_deal_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_deal_matches'"
                    }
                  }
                }
              },
              "required": [
                "stage"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:match:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "matching_attribute": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Only the object's UNIQUE attributes qualify — one value maps to at most one record. Deals have none by default; find deals via deals:match:attio@1 instead."
                },
                "value": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. The value to match — a literal or a `{{ field }}` tag. Matched exactly against the unique attribute."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_found'"
                    },
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_id'"
                    },
                    "attio_record_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_match'"
                    }
                  }
                }
              },
              "required": [
                "object",
                "matching_attribute"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:lookup:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_found'"
                    },
                    "attio_record_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_match'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:update:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this workspace's custom objects — all objects work."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are attribute api_slugs (e.g. `job_title`), custom attributes included."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "append",
                  "description": "Only affects multiselect attributes (e.g. domains, email_addresses, multi-selects): append adds the written values to the existing ones; overwrite replaces the full list."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_update_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_update_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:delete:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object of the record in attio_record_id. Standard and custom objects work."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_delete_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_delete_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:merge:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Object of both records. Standard and custom objects work."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "attio_duplicate_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_merged_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_merged_record_id'"
                    },
                    "attio_merge_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_merge_result'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "records:match:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this workspace's custom objects, by api_slug."
                },
                "attribute": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The api_slug of the attribute compared with the values, custom attributes included. The attribute type decides the allowed operators."
                },
                "operator": {
                  "type": "string",
                  "default": "eq"
                },
                "values": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 1,
                  "maxItems": 20,
                  "description": "Each entry is plain text or one `{{ field }}`. A field holding a list adds each item as its own value. Referenced fields are required; rows without them are skipped."
                },
                "sort": {
                  "type": "string",
                  "default": "created_asc"
                },
                "return_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Attribute api_slugs added to each match's `record` beside the matched attribute."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_records_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_records_found_count'"
                    },
                    "attio_record_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_matches'"
                    }
                  }
                }
              },
              "required": [
                "object",
                "attribute",
                "values"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "row:append:googlesheets@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "spreadsheet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "A Google Sheets URL or spreadsheet ID; a URL's #gid picks the tab when `tab` is empty. autocomplete_field resolves a URL to its title and ID."
                },
                "tab": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "",
                  "description": "The tab's numeric sheetId (stable when the tab is renamed); a tab title also works. Empty = the URL's #gid tab, else the first tab."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are the tab's column names (get_provider_context lists them); values are templates such as `{{ email }}`. Unmapped columns stay empty."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "googlesheets_appended": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_appended'"
                    }
                  }
                }
              },
              "required": [
                "spreadsheet"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:update:googlesheets@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "spreadsheet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "A Google Sheets URL or spreadsheet ID; a URL's #gid picks the tab when `tab` is empty. autocomplete_field resolves a URL to its title and ID."
                },
                "tab": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "",
                  "description": "The tab's numeric sheetId (stable when the tab is renamed); a tab title also works. Empty = the URL's #gid tab, else the first tab."
                },
                "where": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are the tab's column names (get_provider_context lists them); values are templates such as `{{ job_title }}`. Only mapped columns are written; blank values are skipped, never cleared."
                },
                "if_missing": {
                  "type": "string",
                  "default": "skip",
                  "description": "Add a row appends the mapped values as a new row — map the match columns too if the new row should carry them."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "googlesheets_rows_updated": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_rows_updated'"
                    }
                  }
                }
              },
              "required": [
                "spreadsheet",
                "where"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "row:findfirst:googlesheets@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "spreadsheet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "A Google Sheets URL or spreadsheet ID; a URL's #gid picks the tab when `tab` is empty. autocomplete_field resolves a URL to its title and ID."
                },
                "tab": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "",
                  "description": "The tab's numeric sheetId (stable when the tab is renamed); a tab title also works. Empty = the URL's #gid tab, else the first tab."
                },
                "where": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."
                },
                "direction": {
                  "type": "string",
                  "default": "asc",
                  "description": "Which matching rows come first. Bottom to top returns the newest rows first when rows are appended at the bottom."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "googlesheets_row_found": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_row_found'"
                    },
                    "googlesheets_rows_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_rows_found_count'"
                    },
                    "googlesheets_row_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_row_match'"
                    }
                  }
                }
              },
              "required": [
                "spreadsheet",
                "where"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:find:googlesheets@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "spreadsheet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "A Google Sheets URL or spreadsheet ID; a URL's #gid picks the tab when `tab` is empty. autocomplete_field resolves a URL to its title and ID."
                },
                "tab": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "",
                  "description": "The tab's numeric sheetId (stable when the tab is renamed); a tab title also works. Empty = the URL's #gid tab, else the first tab."
                },
                "where": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."
                },
                "direction": {
                  "type": "string",
                  "default": "asc",
                  "description": "Which matching rows come first. Bottom to top returns the newest rows first when rows are appended at the bottom."
                },
                "limit": {},
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "googlesheets_rows_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_rows_found_count'"
                    },
                    "googlesheets_row_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'googlesheets_row_matches'"
                    }
                  }
                }
              },
              "required": [
                "spreadsheet",
                "where"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:assert:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are attribute api_slugs (e.g. `job_title`, `company`), custom attributes included. The email comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "append",
                  "description": "Only affects multiselect attributes (e.g. domains, email_addresses, multi-selects): append adds the written values to the existing ones; overwrite replaces the full list."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_person_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_id'"
                    },
                    "attio_person_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_created'"
                    },
                    "attio_person_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_person_match'"
                    },
                    "attio_written_attributes": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_written_attributes'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:assert:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are attribute api_slugs (e.g. `name`, `description`), custom attributes included. The domain comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "append",
                  "description": "Only affects multiselect attributes (e.g. domains, email_addresses, multi-selects): append adds the written values to the existing ones; overwrite replaces the full list."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_company_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_company_id'"
                    },
                    "attio_company_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_company_created'"
                    },
                    "attio_company_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_company_match'"
                    },
                    "attio_written_attributes": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_written_attributes'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "record:assert:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Standard objects plus this workspace's custom objects — all objects work."
                },
                "matching_attribute": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Only the object's UNIQUE attributes qualify — one value maps to at most one record. Deals have none by default; create deals with deal:create:attio@1."
                },
                "value": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. The value to match — a literal or a `{{ field }}` tag. Matched exactly against the unique attribute and written to it on create."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are attribute api_slugs (e.g. `job_title`, `company`), custom attributes included. The email comes from the input."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "append",
                  "description": "Only affects multiselect attributes (e.g. domains, email_addresses, multi-selects): append adds the written values to the existing ones; overwrite replaces the full list."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_id'"
                    },
                    "attio_record_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_created'"
                    },
                    "attio_record_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_record_match'"
                    },
                    "attio_written_attributes": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_written_attributes'"
                    }
                  }
                }
              },
              "required": [
                "object",
                "matching_attribute"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "deal:create:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "stage": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Title of the deal stage the new deal starts in — workspace-defined."
                },
                "owner": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "Workspace member ID of the deal owner — Attio requires one on every deal."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are attribute api_slugs. `name` is required; `associated_company` and `associated_people` link records. Stage and owner come from `stage` and `owner`."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_deal_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_deal_id'"
                    },
                    "attio_deal_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_deal_match'"
                    }
                  }
                }
              },
              "required": [
                "stage",
                "owner"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "listentry:assert:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "list": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The list's api_slug. The record in attio_record_id must belong to the list's parent object (people, companies, deals or a custom object)."
                },
                "values": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "default": {},
                  "description": "Keys are the LIST's entry attribute api_slugs (e.g. `stage`), not the record's attributes. Status values by title."
                },
                "update_existing": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "property"
                    ]
                  },
                  "default": [],
                  "description": "Names from `values` that are also written when the record already exists. Empty, the default, leaves existing records unchanged."
                },
                "multiselect_mode": {
                  "type": "string",
                  "default": "append",
                  "description": "Only affects multiselect attributes (e.g. domains, email_addresses, multi-selects): append adds the written values to the existing ones; overwrite replaces the full list."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_entry_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_entry_id'"
                    },
                    "attio_entry_created": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_entry_created'"
                    },
                    "attio_entry_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_entry_match'"
                    },
                    "attio_written_attributes": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_written_attributes'"
                    }
                  }
                }
              },
              "required": [
                "list"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "listentry:remove:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "list": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "description": "The list's api_slug. The record in attio_record_id belongs to the list's parent object."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_entry_remove_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_entry_remove_result'"
                    }
                  }
                }
              },
              "required": [
                "list"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "activities:find:attio@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "object": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "attio_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "include": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "notes",
                      "meetings",
                      "tasks"
                    ]
                  },
                  "default": [
                    "notes",
                    "meetings",
                    "tasks"
                  ]
                },
                "occurred_within": {
                  "type": "string",
                  "default": "",
                  "description": "Only include activities whose timestamp falls within this window (resolved at run time). 'Any time' returns the most recent activities regardless of age."
                },
                "limit": {
                  "description": "Maximum activities returned in the timeline, newest first. The found count covers at most 25 (or this limit, if higher) per activity type, so treat it as a floor."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "attio_activities_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_activities_found_count'"
                    },
                    "attio_last_activity_date": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_last_activity_date'"
                    },
                    "attio_activities": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'attio_activities'"
                    }
                  }
                }
              },
              "required": [
                "object"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "message:send:slack@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "channel_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. The connection must be authorized to post to this channel."
                },
                "message": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 40000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "slack_message_success": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'slack_message_success'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "message:send-direct:slack@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "slack_user_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "message": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 40000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "slack_direct_message_success": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'slack_direct_message_success'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:send:gmail@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "reply_to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 998,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "body": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 1000000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Markdown; rendered to HTML at send time."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "gmail_email_success": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'gmail_email_success'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "event:create:googlecalendar@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "calendar_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "primary",
                  "description": "Calendar id (autocomplete_field lists them); default `primary`. Only calendars the connected account OWNS accept new events."
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 1024,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "start": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 64,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "end": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 64,
                  "default": "",
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "duration_minutes": {},
                "time_zone": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ],
                  "default": "",
                  "description": "IANA time zone name (e.g. `Europe/Berlin`; autocomplete_field lists them). Applies to start/end without an offset; empty = the calendar's own time zone."
                },
                "attendees": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 100,
                  "default": [],
                  "description": "Each entry is one email address or one `{{ field }}`. A field holding a list adds each address. Referenced fields are required."
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 8000,
                  "default": "",
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "location": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 1024,
                  "default": "",
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "add_meet_link": {
                  "type": "boolean",
                  "default": false,
                  "description": "Attach a new Google Meet video call to the event."
                },
                "send_updates": {
                  "type": "string",
                  "default": "all",
                  "description": "Who Google emails the invitation to. With None, attendees only see the event if their calendar shows it."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "google_calendar_event_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'google_calendar_event_id'"
                    },
                    "calendar_event_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'calendar_event_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "email:draft:gmail@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "reply_to": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 320,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 998,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "body": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 1,
                  "maxLength": 1000000,
                  "description": "Multi-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants. Markdown; rendered to HTML when the draft is created."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "gmail_draft_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'gmail_draft_id'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "message:write@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "template": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Liquid template with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Filters are hard-whitelisted — ONLY: json, escape, escape_once, default, upcase, downcase, size, join, first, last, replace, truncate, strip, newline_to_br, url_encode; anything else (split, slice, …) fails validation. Example: \"Write to {{ name }} about {{ topic | default: \\\"the project\\\" }}.\""
                },
                "model": {
                  "type": "string",
                  "enum": [
                    "google-medium",
                    "google-low",
                    "openai-high",
                    "openai-medium",
                    "anthropic-high",
                    "anthropic-medium",
                    "anthropic-low"
                  ],
                  "default": "openai-medium"
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'message'"
                    }
                  }
                }
              },
              "required": [
                "template"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "template:fill@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "template": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Liquid template with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Filters are hard-whitelisted — ONLY: json, escape, escape_once, default, upcase, downcase, size, join, first, last, replace, truncate, strip, newline_to_br, url_encode; anything else (split, slice, …) fails validation. Example: \"Write to {{ name }} about {{ topic | default: \\\"the project\\\" }}.\""
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "template_output": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'template_output'"
                    }
                  }
                }
              },
              "required": [
                "template"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "website:extract:parallel@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "objective": {
                  "type": "string",
                  "minLength": 10,
                  "description": "Template tags are not supported."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "parallel_extract_result": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'parallel_extract_result'"
                    }
                  }
                }
              },
              "required": [
                "objective"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "website:markdown:parallel@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "website_markdown": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'website_markdown'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "row:append:sheet@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "project": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "sheet": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "run_added_rows": {
                  "type": "boolean",
                  "default": true,
                  "description": "Auto-run the destination sheet's pipes over the row this pipe appended. A bounded onward chain is fine (the destination's own write pipes cascade further); auto-run is suppressed only when the destination's write chain could loop back into a sheet on the path."
                },
                "allow_entity_creation": {
                  "type": "boolean",
                  "default": true,
                  "description": "Leave this on (the default): missing fields, sheets, and projects are created as needed (unknown fields become columns). Set false ONLY when the user explicitly forbids creating anything — never as a precaution; when in doubt, leave it on. A destination sheet existing (even one you just created) does not make false safe: its columns are entities too. With it off a missing sheet/project fails the run, and with write_fields set the destination must already have every written column (the pipe fails fast with the missing names)."
                },
                "write_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "alias": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "default": []
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "sheet_record_id": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_record_id'"
                    },
                    "created_sheet": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'created_sheet'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "bucket:claim@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "bucket": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "entry_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "entry_field": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  }
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "new_bucket_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120,
                  "default": ""
                },
                "new_bucket_ttl_in_seconds": {
                  "description": "Claims expire after this many seconds. Empty = never."
                },
                "new_bucket_own_entry_behavior": {
                  "type": "string",
                  "default": "block",
                  "description": "What happens when a row re-claims an entry it already wrote."
                },
                "new_bucket_missing_value_behavior": {
                  "type": "string",
                  "default": "proceed",
                  "description": "Proceed treats missing values as part of the entry; Block skips the row."
                },
                "allow_bucket_creation": {
                  "type": "boolean",
                  "default": false,
                  "description": "Create the bucket (typed as a claim bucket from this pipe's fields) on first write if it does not already exist. Off by default."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "is_claim_successful": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'is_claim_successful'"
                    }
                  }
                }
              },
              "required": [
                "bucket",
                "entry_fields"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "stream:enroll@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "stream": {
                  "type": "string"
                },
                "entity_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "The column holding the identifier the stream watches. Which one that is comes from the stream: get_stream_schema returns it as `entities_field`."
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "is_enrolled": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'is_enrolled'"
                    }
                  }
                }
              },
              "required": [
                "stream",
                "entity_field"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "stream:unenroll@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "stream": {
                  "type": "string"
                },
                "entity_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "The column holding the identifier the stream watches — the same one you enrolled by. get_stream_schema returns it as `entities_field`."
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "is_unenrolled": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'is_unenrolled'"
                    }
                  }
                }
              },
              "required": [
                "stream",
                "entity_field"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "bucket:count@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "bucket": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "entry_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "entry_field": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  }
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "new_bucket_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120,
                  "default": ""
                },
                "new_bucket_start": {
                  "description": "First number the counter assigns."
                },
                "new_bucket_step": {
                  "description": "Increment between assigned numbers."
                },
                "allow_bucket_creation": {
                  "type": "boolean",
                  "default": false,
                  "description": "Create the bucket (typed as a counter bucket from this pipe's fields) on first write if it does not already exist. Off by default."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "bucket_counter": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'bucket_counter'"
                    }
                  }
                }
              },
              "required": [
                "bucket",
                "entry_fields"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "bucket:check@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "bucket": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "entry_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "entry_field": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  }
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "found_in_bucket": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'found_in_bucket'"
                    }
                  }
                }
              },
              "required": [
                "bucket",
                "entry_fields"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "bucket:countif@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "bucket": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "entry_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "entry_field": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  }
                },
                "contract": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": ""
                },
                "where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                },
                "new_bucket_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120,
                  "default": ""
                },
                "allow_bucket_creation": {
                  "type": "boolean",
                  "default": false,
                  "description": "Create the bucket (typed as an event-counter bucket from this pipe's fields) on first write if it does not already exist. Off by default."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "bucket_event_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'bucket_event_count'"
                    },
                    "bucket_event_last_at": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'bucket_event_last_at'"
                    }
                  }
                }
              },
              "required": [
                "bucket",
                "entry_fields"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "row:expandappend:sheet@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "project": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "sheet": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "run_added_rows": {
                  "type": "boolean",
                  "default": true,
                  "description": "Auto-run the destination sheet's pipes over the rows this pipe appended. A bounded onward chain is fine (the destination's own write pipes cascade further); auto-run is suppressed only when the destination's write chain could loop back into a sheet on the path."
                },
                "write_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "alias": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name"
                    ]
                  },
                  "default": []
                },
                "allow_entity_creation": {
                  "type": "boolean",
                  "default": true,
                  "description": "Leave this on (the default): a missing sheet or project is created as needed, along with the destination column and any write_fields columns. Set false ONLY when the user explicitly forbids creating anything — never as a precaution; when in doubt, leave it on. A destination sheet existing (even one you just created) does not make false safe: the destination column is an entity too. With it off the pipe fails fast when the destination lacks any column it writes."
                },
                "destination_field_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": "",
                  "description": "Destination field name"
                },
                "destination_field_type": {
                  "type": "string",
                  "default": ""
                },
                "destination_field_format": {
                  "type": "string",
                  "default": ""
                },
                "destination_field_label": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": "",
                  "description": "Destination field label"
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "input_objects": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "sheet_record_ids": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_record_ids'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "row:roundrobin:sheet@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "sheet": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "sheet_where": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "default": null,
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row. `null` means no filtering."
                },
                "sheet_unique_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "Reference to a single sheet column by name (`{ field_name }`)."
                },
                "sheet_copy_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "string",
                          "number",
                          "boolean",
                          "json",
                          "unknown"
                        ]
                      },
                      "format": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "enum": [
                          "json_object",
                          "json_list",
                          "json_list_string",
                          "url",
                          "website_url",
                          "profile_url",
                          "email",
                          "datetime",
                          "currency",
                          "date",
                          "phone",
                          "markdown",
                          "long_text",
                          "text",
                          "int",
                          "decimal",
                          "address_line_1",
                          "zip_code",
                          "percent",
                          "domain",
                          null
                        ]
                      },
                      "alias": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "field_name",
                      "type"
                    ]
                  },
                  "minItems": 1
                },
                "sheet_weight_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "default": {
                    "field_name": ""
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "Reference to a single sheet column by name (`{ field_name }`)."
                },
                "counter_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "Reference to a single sheet column by name (`{ field_name }`)."
                }
              },
              "required": [
                "sheet",
                "sheet_unique_field",
                "sheet_copy_fields",
                "counter_field"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:find:sheet@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "sheet": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "where": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."
                },
                "limit": {},
                "read_fingerprint_field": {
                  "type": "object",
                  "properties": {
                    "field_name": {
                      "type": "string"
                    }
                  },
                  "default": {
                    "field_name": ""
                  },
                  "required": [
                    "field_name"
                  ],
                  "description": "A field whose value joins this pipe's input fingerprint and is never sent: when it changes, the pipe runs again. To fetch fresh data before each poll@1 check, pick the poll's stamp_fingerprint_field here, on every pipe from the fetch to the poll."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "sheet_rows_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_rows_found_count'"
                    },
                    "sheet_found_rows": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_found_rows'"
                    },
                    "sheet_found_row_ids": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_found_row_ids'"
                    }
                  }
                }
              },
              "required": [
                "where",
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:delete:sheet@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "sheet": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "minLength": 3,
                  "description": "Single-line string value, optionally containing `{{ field }}` Liquid input refs (use `| default: \"\"` for optional refs), `{{ SECRETS.KEY }}` for encrypted secrets, and `{{ CONSTANTS.KEY }}` for plaintext constants."
                },
                "where": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string",
                            "enum": [
                              "value"
                            ],
                            "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                          },
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Name of a field from the input data or produced by another pipe in the payload."
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "eq",
                              "neq",
                              "gt",
                              "gte",
                              "lt",
                              "lte",
                              "contains",
                              "not_contains",
                              "matches",
                              "older_than_days",
                              "within_last_days"
                            ],
                            "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                          }
                        },
                        "required": [
                          "property",
                          "field_name",
                          "operator",
                          "value"
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of value conditions to evaluate."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "sheet_deleted_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'sheet_deleted_count'"
                    }
                  }
                }
              },
              "required": [
                "where"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:find:postgres@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "query": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20000,
                  "description": "Liquid template with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Filters are hard-whitelisted — ONLY: json, escape, escape_once, default, upcase, downcase, size, join, first, last, replace, truncate, strip, newline_to_br, url_encode; anything else (split, slice, …) fails validation. Example: \"Write to {{ name }} about {{ topic | default: \\\"the project\\\" }}.\""
                },
                "limit": {},
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "db_rows_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'db_rows_found_count'"
                    },
                    "db_found_rows": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'db_found_rows'"
                    }
                  }
                }
              },
              "required": [
                "query",
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "rows:find:databricks@1"
              ]
            },
            "connector": {
              "type": "object",
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "minItems": 1
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "query": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20000,
                  "description": "Liquid template with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Filters are hard-whitelisted — ONLY: json, escape, escape_once, default, upcase, downcase, size, join, first, last, replace, truncate, strip, newline_to_br, url_encode; anything else (split, slice, …) fails validation. Example: \"Write to {{ name }} about {{ topic | default: \\\"the project\\\" }}.\""
                },
                "limit": {},
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "db_rows_found_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'db_rows_found_count'"
                    },
                    "db_found_rows": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'db_found_rows'"
                    }
                  }
                }
              },
              "required": [
                "query",
                "limit"
              ]
            }
          },
          "required": [
            "pipe_id",
            "connector",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "role:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "amplemarket",
                          "leadmagic",
                          "surfe"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "surfe"
                    },
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "titles": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 1,
                  "maxItems": 3
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "role_finder_person_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'role_finder_person_match'"
                    }
                  }
                }
              },
              "required": [
                "titles"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "roles:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "amplemarket",
                          "surfe"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "surfe"
                    }
                  ]
                },
                "titles": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "minItems": 1,
                  "maxItems": 5,
                  "description": "All titles are searched at once, so a broad list can come back weighted towards a single title."
                },
                "limit": {
                  "description": "Maximum people returned per company. Billing is per company, not per person."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "role_finder_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'role_finder_matches'"
                    },
                    "role_finder_match_count": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'role_finder_match_count'"
                    }
                  }
                }
              },
              "required": [
                "titles"
              ]
            }
          },
          "required": [
            "pipe_id",
            "config"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:identity@2"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_profile_url'"
                    },
                    "cleaned_company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'cleaned_company_name'"
                    },
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_website_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:identity@3 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:identity@3"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_profile_url'"
                    },
                    "cleaned_company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'cleaned_company_name'"
                    },
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_domain'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:domains@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "include": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "forwarding",
                      "country_sites",
                      "name_variants",
                      "brand_sites",
                      "parents_subsidiaries"
                    ]
                  },
                  "default": [
                    "forwarding",
                    "country_sites",
                    "name_variants"
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_alternative_domains": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_alternative_domains'"
                    },
                    "company_domain_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_domain_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:identity:crustdata@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "crustdata_company_identity_matches": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'crustdata_company_identity_matches'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:phone:profile:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic",
                          "prospeo",
                          "amplemarket",
                          "findymail",
                          "clado"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "prospeo"
                    },
                    {
                      "provider": "amplemarket"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "mobile": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'mobile'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:mobile:profileurl:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:mobile:profileurl:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "wiza",
                          "leadmagic",
                          "surfe",
                          "prospeo",
                          "amplemarket",
                          "crustdata",
                          "findymail"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "wiza"
                    },
                    {
                      "provider": "surfe"
                    },
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "mobile": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'mobile'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:devprofileurl:profileurl:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "crustdata"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "developer_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'developer_profile_url'"
                    },
                    "alternative_developer_profile_urls": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'alternative_developer_profile_urls'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:personalemail:profile:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "clado",
                          "leadmagic",
                          "mixrank"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "mixrank"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "personal_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'personal_email'"
                    },
                    "alternate_personal_emails": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'alternate_personal_emails'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:personalemail:profileurl:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:personalemail:profileurl:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic",
                          "mixrank",
                          "wiza",
                          "aviato",
                          "surfe",
                          "forager"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "wiza"
                    },
                    {
                      "provider": "aviato"
                    },
                    {
                      "provider": "mixrank"
                    },
                    {
                      "provider": "forager"
                    },
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "personal_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'personal_email'"
                    },
                    "alternate_personal_emails": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'alternate_personal_emails'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:profile:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "prospeo",
                          "icypeas",
                          "amplemarket",
                          "clado"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "prospeo"
                    },
                    {
                      "provider": "icypeas"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:profile:waterfall@2 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:profile:waterfall@2"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "crustdata",
                          "amplemarket",
                          "prospeo"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "crustdata"
                    },
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "prospeo"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "person_profile_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'person_profile_match'"
                    },
                    "primary_job_title": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'primary_job_title'"
                    },
                    "primary_seniority": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'primary_seniority'"
                    },
                    "primary_company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'primary_company_domain'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:profileurl:email:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:profileurl:email:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:profileurl:email:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic",
                          "aviato"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "aviato"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:profileurl:name@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "location_hint": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'profile_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:email:validate:millionverifier@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "email_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_validation_status'"
                    },
                    "million_validation_match": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'million_validation_match'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:mobile:workemail:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "wiza",
                          "leadmagic",
                          "amplemarket",
                          "crustdata"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "wiza"
                    },
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "mobile": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'mobile'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:workemail:profileurl:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "hunter",
                          "amplemarket",
                          "findymail",
                          "leadmagic",
                          "crustdata",
                          "clado"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "hunter"
                    },
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "leadmagic"
                    },
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "allow_catch_all_emails": {
                  "type": "boolean",
                  "default": true
                },
                "allow_risky_emails": {
                  "type": "boolean",
                  "default": true
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'work_email'"
                    },
                    "email_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use person:workemail:profileurl:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "person:workemail:profileurl:waterfall@1"
              ]
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "hunter",
                          "amplemarket",
                          "wiza",
                          "findymail",
                          "leadmagic",
                          "crustdata",
                          "surfe"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "wiza"
                    },
                    {
                      "provider": "amplemarket"
                    },
                    {
                      "provider": "surfe"
                    },
                    {
                      "provider": "crustdata"
                    }
                  ]
                },
                "allow_catch_all_emails": {
                  "type": "boolean",
                  "default": true
                },
                "allow_risky_emails": {
                  "type": "boolean",
                  "default": true,
                  "description": "Risky emails carry a higher chance of bouncing or being marked as spam."
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "company_domain": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'work_email'"
                    },
                    "email_validation_status": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'email_validation_status'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "company:identity@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  },
                  "maxItems": 0
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "company_social_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_social_url'"
                    },
                    "cleaned_company_name": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'cleaned_company_name'"
                    },
                    "company_website_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'company_website_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use company:identity@2 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:professionalprofile:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "prospeo",
                          "icypeas"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "prospeo"
                    },
                    {
                      "provider": "icypeas"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "professional_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "professional_profile": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'professional_profile'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use people:profile:waterfall@1 instead."
        },
        {
          "type": "object",
          "properties": {
            "pipe_id": {
              "type": "string",
              "enum": [
                "people:professionalprofileurl:email:waterfall@1"
              ]
            },
            "run_if": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "run"
                  ],
                  "default": "run",
                  "description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
                },
                "when": {
                  "type": "object",
                  "properties": {
                    "logic": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ],
                      "description": "\"and\" = all conditions must match. \"or\" = any condition matches."
                    },
                    "conditions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "value"
                                ],
                                "description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq",
                                  "gt",
                                  "gte",
                                  "lt",
                                  "lte",
                                  "contains",
                                  "not_contains",
                                  "matches",
                                  "older_than_days",
                                  "within_last_days"
                                ],
                                "description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "boolean"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "status"
                                ],
                                "description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
                              },
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Name of a field from the input data or produced by another pipe in the payload."
                              },
                              "operator": {
                                "type": "string",
                                "enum": [
                                  "eq",
                                  "neq"
                                ],
                                "description": "Status comparison operator: \"eq\" or \"neq\"."
                              },
                              "value": {
                                "type": "string",
                                "enum": [
                                  "failed",
                                  "no_result",
                                  "completed",
                                  "skipped",
                                  "pending",
                                  "yielded"
                                ],
                                "description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
                              }
                            },
                            "required": [
                              "property",
                              "field_name",
                              "operator",
                              "value"
                            ]
                          }
                        ]
                      },
                      "minItems": 1,
                      "description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
                    }
                  },
                  "required": [
                    "logic",
                    "conditions"
                  ],
                  "description": "Condition block. All conditions are combined with the chosen logic (and/or)."
                }
              },
              "required": [
                "when"
              ],
              "description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
            },
            "connector": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "strategy": {
                  "type": "string",
                  "enum": [
                    "first"
                  ],
                  "default": "first"
                },
                "connections": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "vault"
                        ]
                      },
                      "connection": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "connection"
                    ]
                  }
                }
              },
              "required": [
                "connections"
              ]
            },
            "config": {
              "type": "object",
              "properties": {
                "providers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "enum": [
                          "leadmagic"
                        ]
                      }
                    },
                    "required": [
                      "provider"
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 99,
                  "default": [
                    {
                      "provider": "leadmagic"
                    }
                  ]
                },
                "input_fields": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    },
                    "work_email": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "description": "Override field name mapping. Leave empty to use default."
                        }
                      },
                      "default": {
                        "alias": ""
                      },
                      "required": [
                        "alias"
                      ]
                    }
                  }
                },
                "output_fields": {
                  "type": "object",
                  "properties": {
                    "professional_profile_url": {
                      "type": "object",
                      "properties": {
                        "alias": {
                          "type": "string",
                          "default": "",
                          "description": "Rename this output field. Leave empty to use default name."
                        },
                        "enabled": {
                          "type": "boolean",
                          "default": true,
                          "description": "Whether to include this field in the output."
                        }
                      },
                      "default": {
                        "alias": "",
                        "enabled": true
                      },
                      "description": "Output field 'professional_profile_url'"
                    }
                  }
                }
              }
            }
          },
          "required": [
            "pipe_id"
          ],
          "deprecated": true,
          "description": "Deprecated since 2026-06-13; do not use in new work. Use people:profileurl:email:waterfall@1 instead."
        }
      ]
    },
    "PipesInput": {
      "type": "object",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "object",
            "additionalProperties": {}
          },
          {
            "type": "array",
            "items": {}
          },
          {
            "type": "object",
            "properties": {
              "value": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  },
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "array",
                    "items": {}
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "completed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "pending"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "queued"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "processing"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "no_result"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "skipped"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "yielded"
                    ]
                  }
                ]
              },
              "reason": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "summary",
                  "message"
                ]
              },
              "type": {
                "type": "string",
                "enum": [
                  "string",
                  "number",
                  "boolean",
                  "json",
                  "unknown",
                  "yield"
                ]
              },
              "format": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "json_object",
                  "json_list",
                  "json_list_string",
                  "url",
                  "website_url",
                  "profile_url",
                  "email",
                  "datetime",
                  "currency",
                  "date",
                  "phone",
                  "markdown",
                  "long_text",
                  "text",
                  "int",
                  "decimal",
                  "address_line_1",
                  "zip_code",
                  "percent",
                  "domain",
                  "yield_confirm",
                  "yield_choice",
                  null
                ]
              },
              "claimed_by": {
                "type": "object",
                "properties": {
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "prompt:run@1",
                      "classify:boolean@1",
                      "classify:choice@1",
                      "agent:run@1",
                      "company:newssummary:website@1",
                      "company:newssummary:domain@1",
                      "company:techstack:builtwith@2",
                      "company:websiteurl:email@1",
                      "company:domain:workemail@1",
                      "company:funding:leadmagic@1",
                      "company:funding:waterfall@1",
                      "people:workemail:waterfall@1",
                      "person:workemail:waterfall@1",
                      "people:email:iswork@1",
                      "email:iswork@1",
                      "people:name:split@1",
                      "person:name:split@1",
                      "person:name:join@1",
                      "people:email:validate:zerobounce@2",
                      "email:validate:zerobounce@1",
                      "company:overview@1",
                      "company:overview@2",
                      "company:overview@3",
                      "json:extract:multi@1",
                      "email:write@1",
                      "message:write@1",
                      "email:send:resend@1",
                      "email:send:gmail@1",
                      "event:create:googlecalendar@1",
                      "email:draft:gmail@1",
                      "message:send:slack@1",
                      "message:send-direct:slack@1",
                      "template:fill@1",
                      "contact:create:resend@1",
                      "lead:enroll:lemlist@1",
                      "lead:enroll:instantly@1",
                      "lead:enroll:nooks@1",
                      "lead:assert:emailbison@1",
                      "lead:enroll:emailbison@1",
                      "lead:match:emailbison@1",
                      "prospect:match:nooks@1",
                      "person:intro:happenstance@1",
                      "company:contacts:happenstance@1",
                      "user:match:nooks@1",
                      "contact:match:hubspot@1",
                      "companies:match:hubspot@1",
                      "deals:match:hubspot@1",
                      "object:update:hubspot@1",
                      "object:delete:hubspot@1",
                      "object:merge:hubspot@1",
                      "objects:match:hubspot@1",
                      "object:associations:hubspot@1",
                      "activity:log:hubspot@1",
                      "contact:assert:hubspot@1",
                      "object:assert:hubspot@1",
                      "company:assert:hubspot@1",
                      "association:assert:hubspot@1",
                      "association:remove:hubspot@1",
                      "deal:create:hubspot@1",
                      "person:match:salesforce@1",
                      "accounts:match:salesforce@1",
                      "opportunities:match:salesforce@1",
                      "record:lookup:salesforce@1",
                      "record:update:salesforce@1",
                      "record:delete:salesforce@1",
                      "record:merge:salesforce@1",
                      "records:match:salesforce@1",
                      "record:assert:salesforce@1",
                      "contact:assert:salesforce@1",
                      "lead:assert:salesforce@1",
                      "account:assert:salesforce@1",
                      "opportunity:create:salesforce@1",
                      "activities:find:salesforce@1",
                      "activity:log:salesforce@1",
                      "person:match:attio@1",
                      "companies:match:attio@1",
                      "deals:match:attio@1",
                      "record:match:attio@1",
                      "record:lookup:attio@1",
                      "record:update:attio@1",
                      "record:delete:attio@1",
                      "record:merge:attio@1",
                      "records:match:attio@1",
                      "row:append:googlesheets@1",
                      "rows:update:googlesheets@1",
                      "row:findfirst:googlesheets@1",
                      "rows:find:googlesheets@1",
                      "person:assert:attio@1",
                      "company:assert:attio@1",
                      "record:assert:attio@1",
                      "deal:create:attio@1",
                      "listentry:assert:attio@1",
                      "listentry:remove:attio@1",
                      "activities:find:attio@1",
                      "lead:enroll:amplemarket@1",
                      "role:waterfall@1",
                      "roles:waterfall@1",
                      "company:identity@2",
                      "company:identity@3",
                      "company:domains@1",
                      "company:identity:crustdata@1",
                      "people:phone:profile:waterfall@1",
                      "person:mobile:profileurl:waterfall@1",
                      "people:personalemail:profile:waterfall@1",
                      "person:personalemail:profileurl:waterfall@1",
                      "people:profile:waterfall@1",
                      "person:profile:waterfall@2",
                      "people:profileurl:email:waterfall@1",
                      "person:profileurl:email:waterfall@1",
                      "person:profileurl:name@1",
                      "person:email:validate:millionverifier@1",
                      "person:mobile:workemail:waterfall@1",
                      "fields:merge@1",
                      "field:slugify@1",
                      "field:domainify@1",
                      "field:timestamp@1",
                      "wait@1",
                      "poll@1",
                      "confirm@1",
                      "choice@1",
                      "formula:run@1",
                      "signals:personprofilematch@1",
                      "website:extract:parallel@1",
                      "website:markdown:parallel@1",
                      "row:append:sheet@1",
                      "row:expandappend:sheet@1",
                      "row:roundrobin:sheet@1",
                      "bucket:claim@1",
                      "stream:enroll@1",
                      "stream:unenroll@1",
                      "bucket:count@1",
                      "bucket:check@1",
                      "bucket:countif@1",
                      "rows:find:sheet@1",
                      "rows:delete:sheet@1",
                      "rows:find:postgres@1",
                      "rows:find:databricks@1",
                      "company:lookalikes:companyenrich@2",
                      "person:posts:content:crustdata@1",
                      "profile:posts:x@1",
                      "reactors:post:crustdata@1",
                      "posts:crustdata@1",
                      "posts:x@1",
                      "place:reviews:dataforseo@1",
                      "place:match:dataforseo@1",
                      "company:searchrankings:dataforseo@1",
                      "company:aioverviews:dataforseo@1",
                      "post:create:x@1",
                      "ads:linkedin:waterfall@1",
                      "ads:google:waterfall@1",
                      "ads:meta:waterfall@1",
                      "company:match:crustdata@1",
                      "company:match:crustdata@2",
                      "company:match:amplemarket@1",
                      "company:jobs:amplemarket@1",
                      "people:workemail:profileurl:waterfall@1",
                      "person:workemail:profileurl:waterfall@1",
                      "person:identity:email:waterfall@2",
                      "person:identity:socialurl:waterfall@1",
                      "person:devprofileurl:profileurl:waterfall@1",
                      "http:request@1",
                      "company:identity@1",
                      "people:professionalprofile:waterfall@1",
                      "people:professionalprofileurl:email:waterfall@1",
                      "input",
                      null
                    ]
                  },
                  "config_hash": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "ref",
                  "config_hash"
                ]
              },
              "resolved_by": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "prompt:run@1",
                      "classify:boolean@1",
                      "classify:choice@1",
                      "agent:run@1",
                      "company:newssummary:website@1",
                      "company:newssummary:domain@1",
                      "company:techstack:builtwith@2",
                      "company:websiteurl:email@1",
                      "company:domain:workemail@1",
                      "company:funding:leadmagic@1",
                      "company:funding:waterfall@1",
                      "people:workemail:waterfall@1",
                      "person:workemail:waterfall@1",
                      "people:email:iswork@1",
                      "email:iswork@1",
                      "people:name:split@1",
                      "person:name:split@1",
                      "person:name:join@1",
                      "people:email:validate:zerobounce@2",
                      "email:validate:zerobounce@1",
                      "company:overview@1",
                      "company:overview@2",
                      "company:overview@3",
                      "json:extract:multi@1",
                      "email:write@1",
                      "message:write@1",
                      "email:send:resend@1",
                      "email:send:gmail@1",
                      "event:create:googlecalendar@1",
                      "email:draft:gmail@1",
                      "message:send:slack@1",
                      "message:send-direct:slack@1",
                      "template:fill@1",
                      "contact:create:resend@1",
                      "lead:enroll:lemlist@1",
                      "lead:enroll:instantly@1",
                      "lead:enroll:nooks@1",
                      "lead:assert:emailbison@1",
                      "lead:enroll:emailbison@1",
                      "lead:match:emailbison@1",
                      "prospect:match:nooks@1",
                      "person:intro:happenstance@1",
                      "company:contacts:happenstance@1",
                      "user:match:nooks@1",
                      "contact:match:hubspot@1",
                      "companies:match:hubspot@1",
                      "deals:match:hubspot@1",
                      "object:update:hubspot@1",
                      "object:delete:hubspot@1",
                      "object:merge:hubspot@1",
                      "objects:match:hubspot@1",
                      "object:associations:hubspot@1",
                      "activity:log:hubspot@1",
                      "contact:assert:hubspot@1",
                      "object:assert:hubspot@1",
                      "company:assert:hubspot@1",
                      "association:assert:hubspot@1",
                      "association:remove:hubspot@1",
                      "deal:create:hubspot@1",
                      "person:match:salesforce@1",
                      "accounts:match:salesforce@1",
                      "opportunities:match:salesforce@1",
                      "record:lookup:salesforce@1",
                      "record:update:salesforce@1",
                      "record:delete:salesforce@1",
                      "record:merge:salesforce@1",
                      "records:match:salesforce@1",
                      "record:assert:salesforce@1",
                      "contact:assert:salesforce@1",
                      "lead:assert:salesforce@1",
                      "account:assert:salesforce@1",
                      "opportunity:create:salesforce@1",
                      "activities:find:salesforce@1",
                      "activity:log:salesforce@1",
                      "person:match:attio@1",
                      "companies:match:attio@1",
                      "deals:match:attio@1",
                      "record:match:attio@1",
                      "record:lookup:attio@1",
                      "record:update:attio@1",
                      "record:delete:attio@1",
                      "record:merge:attio@1",
                      "records:match:attio@1",
                      "row:append:googlesheets@1",
                      "rows:update:googlesheets@1",
                      "row:findfirst:googlesheets@1",
                      "rows:find:googlesheets@1",
                      "person:assert:attio@1",
                      "company:assert:attio@1",
                      "record:assert:attio@1",
                      "deal:create:attio@1",
                      "listentry:assert:attio@1",
                      "listentry:remove:attio@1",
                      "activities:find:attio@1",
                      "lead:enroll:amplemarket@1",
                      "role:waterfall@1",
                      "roles:waterfall@1",
                      "company:identity@2",
                      "company:identity@3",
                      "company:domains@1",
                      "company:identity:crustdata@1",
                      "people:phone:profile:waterfall@1",
                      "person:mobile:profileurl:waterfall@1",
                      "people:personalemail:profile:waterfall@1",
                      "person:personalemail:profileurl:waterfall@1",
                      "people:profile:waterfall@1",
                      "person:profile:waterfall@2",
                      "people:profileurl:email:waterfall@1",
                      "person:profileurl:email:waterfall@1",
                      "person:profileurl:name@1",
                      "person:email:validate:millionverifier@1",
                      "person:mobile:workemail:waterfall@1",
                      "fields:merge@1",
                      "field:slugify@1",
                      "field:domainify@1",
                      "field:timestamp@1",
                      "wait@1",
                      "poll@1",
                      "confirm@1",
                      "choice@1",
                      "formula:run@1",
                      "signals:personprofilematch@1",
                      "website:extract:parallel@1",
                      "website:markdown:parallel@1",
                      "row:append:sheet@1",
                      "row:expandappend:sheet@1",
                      "row:roundrobin:sheet@1",
                      "bucket:claim@1",
                      "stream:enroll@1",
                      "stream:unenroll@1",
                      "bucket:count@1",
                      "bucket:check@1",
                      "bucket:countif@1",
                      "rows:find:sheet@1",
                      "rows:delete:sheet@1",
                      "rows:find:postgres@1",
                      "rows:find:databricks@1",
                      "company:lookalikes:companyenrich@2",
                      "person:posts:content:crustdata@1",
                      "profile:posts:x@1",
                      "reactors:post:crustdata@1",
                      "posts:crustdata@1",
                      "posts:x@1",
                      "place:reviews:dataforseo@1",
                      "place:match:dataforseo@1",
                      "company:searchrankings:dataforseo@1",
                      "company:aioverviews:dataforseo@1",
                      "post:create:x@1",
                      "ads:linkedin:waterfall@1",
                      "ads:google:waterfall@1",
                      "ads:meta:waterfall@1",
                      "company:match:crustdata@1",
                      "company:match:crustdata@2",
                      "company:match:amplemarket@1",
                      "company:jobs:amplemarket@1",
                      "people:workemail:profileurl:waterfall@1",
                      "person:workemail:profileurl:waterfall@1",
                      "person:identity:email:waterfall@2",
                      "person:identity:socialurl:waterfall@1",
                      "person:devprofileurl:profileurl:waterfall@1",
                      "http:request@1",
                      "company:identity@1",
                      "people:professionalprofile:waterfall@1",
                      "people:professionalprofileurl:email:waterfall@1",
                      "input",
                      "system",
                      null
                    ]
                  },
                  "environment": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "production",
                      "sandbox",
                      null
                    ]
                  },
                  "config_hash": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "input_hash": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "ref",
                  "environment",
                  "config_hash",
                  "input_hash"
                ]
              },
              "widgets": {
                "type": "object",
                "properties": {
                  "display_value": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "label": {
                        "type": "string"
                      },
                      "marks": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "bold",
                            "italic",
                            "underline",
                            "strikethrough"
                          ]
                        }
                      }
                    }
                  },
                  "entity_logo": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "image_url": {
                        "type": "string",
                        "format": "uri",
                        "description": "URL to the provider's logo image."
                      },
                      "entity": {
                        "type": "string",
                        "description": "The name of the entity."
                      }
                    },
                    "required": [
                      "image_url",
                      "entity"
                    ]
                  },
                  "external_link": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "description": "Destination opened when the external-link icon is clicked."
                      }
                    },
                    "required": [
                      "url"
                    ]
                  },
                  "location_indicator": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "emoji": {
                        "type": "string",
                        "description": "Country flag emoji."
                      }
                    },
                    "required": [
                      "emoji"
                    ]
                  },
                  "avatar": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "image_url": {
                        "type": "string",
                        "format": "uri",
                        "description": "URL to the provider's logo image."
                      },
                      "name": {
                        "type": "string",
                        "description": "The name of the avatar owner."
                      }
                    },
                    "required": [
                      "image_url",
                      "name"
                    ]
                  },
                  "waterfall": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "attempted_providers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "provider": {
                              "type": "string",
                              "enum": [
                                "pipe0",
                                "findymail",
                                "crustdata",
                                "hunter",
                                "zerobounce",
                                "millionverifier",
                                "googlemaps",
                                "gemini",
                                "anthropic",
                                "leadmagic",
                                "mixrank",
                                "builtwith",
                                "perplexity",
                                "serper",
                                "icypeas",
                                "prospeo",
                                "clado",
                                "resend",
                                "slack",
                                "gmail",
                                "googlecalendar",
                                "googlesheets",
                                "firecrawl",
                                "exa",
                                "dataforseo",
                                "openai",
                                "companyenrich",
                                "logodev",
                                "amplemarket",
                                "parallel",
                                "surfe",
                                "wiza",
                                "aviato",
                                "forager",
                                "luma",
                                "postgres",
                                "databricks",
                                "lemlist",
                                "instantly",
                                "nooks",
                                "emailbison",
                                "happenstance",
                                "typesafe",
                                "hubspot",
                                "salesforce",
                                "attio",
                                "x",
                                "hackernews",
                                "calcom"
                              ]
                            }
                          },
                          "required": [
                            "provider"
                          ]
                        }
                      },
                      "available_providers": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "pipe0",
                            "findymail",
                            "crustdata",
                            "hunter",
                            "zerobounce",
                            "millionverifier",
                            "googlemaps",
                            "gemini",
                            "anthropic",
                            "leadmagic",
                            "mixrank",
                            "builtwith",
                            "perplexity",
                            "serper",
                            "icypeas",
                            "prospeo",
                            "clado",
                            "resend",
                            "slack",
                            "gmail",
                            "googlecalendar",
                            "googlesheets",
                            "firecrawl",
                            "exa",
                            "dataforseo",
                            "openai",
                            "companyenrich",
                            "logodev",
                            "amplemarket",
                            "parallel",
                            "surfe",
                            "wiza",
                            "aviato",
                            "forager",
                            "luma",
                            "postgres",
                            "databricks",
                            "lemlist",
                            "instantly",
                            "nooks",
                            "emailbison",
                            "happenstance",
                            "typesafe",
                            "hubspot",
                            "salesforce",
                            "attio",
                            "x",
                            "hackernews",
                            "calcom"
                          ]
                        }
                      },
                      "successful_provider": {
                        "type": "string",
                        "enum": [
                          "pipe0",
                          "findymail",
                          "crustdata",
                          "hunter",
                          "zerobounce",
                          "millionverifier",
                          "googlemaps",
                          "gemini",
                          "anthropic",
                          "leadmagic",
                          "mixrank",
                          "builtwith",
                          "perplexity",
                          "serper",
                          "icypeas",
                          "prospeo",
                          "clado",
                          "resend",
                          "slack",
                          "gmail",
                          "googlecalendar",
                          "googlesheets",
                          "firecrawl",
                          "exa",
                          "dataforseo",
                          "openai",
                          "companyenrich",
                          "logodev",
                          "amplemarket",
                          "parallel",
                          "surfe",
                          "wiza",
                          "aviato",
                          "forager",
                          "luma",
                          "postgres",
                          "databricks",
                          "lemlist",
                          "instantly",
                          "nooks",
                          "emailbison",
                          "happenstance",
                          "typesafe",
                          "hubspot",
                          "salesforce",
                          "attio",
                          "x",
                          "hackernews",
                          "calcom"
                        ]
                      }
                    },
                    "required": [
                      "attempted_providers",
                      "available_providers"
                    ]
                  },
                  "icon": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "key": {
                        "type": "string",
                        "enum": [
                          "linkedin",
                          "job",
                          "seniority_c_suite",
                          "seniority_leadership",
                          "seniority_manager",
                          "seniority_senior_ic",
                          "seniority_ic",
                          "seniority_frontline",
                          "seniority_junior",
                          "seniority_unknown"
                        ]
                      }
                    },
                    "required": [
                      "key"
                    ]
                  },
                  "action_summary": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "result_status": {
                        "type": "string",
                        "enum": [
                          "completed",
                          "failed"
                        ]
                      }
                    },
                    "required": [
                      "result_status"
                    ]
                  },
                  "sources": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "list": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "source",
                            "url"
                          ]
                        }
                      }
                    },
                    "required": [
                      "list"
                    ]
                  },
                  "confidence": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "numeric": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 5
                      }
                    },
                    "required": [
                      "numeric"
                    ]
                  },
                  "emoji": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "static"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ]
                  }
                },
                "description": "A map of widgets associated with this field for UI display, keyed by widget type."
              }
            },
            "required": [
              "value",
              "status"
            ]
          }
        ]
      }
    }
  }
}