Sequenzy · Schema

SequenceStopCondition

Auto-stop condition, re-evaluated before every step including the first one. has_tag, added_to_list, entered_segment, field_changed, and event_received stop the run once the thing happens. event_received only counts events received after enrollment - the enrolling event and earlier history never satisfy the stop. does_not_have_tag and removed_from_list stop the run whenever the subscriber lacks that tag or list membership, so they act as a required-tag or required-list allowlist and cancel everyone else before any step sends. Guarded-out contacts still enroll and are then cancelled at the trigger node, so they appear as cancellations there rather than in the active or waiting enrollment counts. Clearing the guard does not retry them: they only receive the sequence if the trigger fires for them again, and on the one_time enrollment mode not even then.

Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools

Properties

Name Type Description
type string
value stringnull Tag name, list ID, segment ID, field path, or event name. For the does_not_have_tag and removed_from_list guards this is the tag or list a subscriber must have to keep receiving the sequence. Null wit
matchConfig object Optional typed match rule. event_received uses event_property_filter propertyFilters (stop only when an event received after enrollment matches every filter, e.g. quota_used greater_than 1) or event_p
View JSON Schema on GitHub

JSON Schema

sequenzy-sequence-stop-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-sequence-stop-condition-schema.json",
  "title": "SequenceStopCondition",
  "description": "Auto-stop condition, re-evaluated before every step including the first one. has_tag, added_to_list, entered_segment, field_changed, and event_received stop the run once the thing happens. event_received only counts events received after enrollment - the enrolling event and earlier history never satisfy the stop. does_not_have_tag and removed_from_list stop the run whenever the subscriber lacks that tag or list membership, so they act as a required-tag or required-list allowlist and cancel everyone else before any step sends. Guarded-out contacts still enroll and are then cancelled at the trigger node, so they appear as cancellations there rather than in the active or waiting enrollment counts. Clearing the guard does not retry them: they only receive the sequence if the trigger fires for them again, and on the one_time enrollment mode not even then.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sequenzy-sequences-api-openapi.yml#/components/schemas/SequenceStopCondition",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "none",
        "has_tag",
        "does_not_have_tag",
        "added_to_list",
        "removed_from_list",
        "entered_segment",
        "field_changed",
        "event_received"
      ]
    },
    "value": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tag name, list ID, segment ID, field path, or event name. For the does_not_have_tag and removed_from_list guards this is the tag or list a subscriber must have to keep receiving the sequence. Null with entry_audience matching means the tag or list that enrolled each contact is used."
    },
    "matchConfig": {
      "description": "Optional typed match rule. event_received uses event_property_filter propertyFilters (stop only when an event received after enrollment matches every filter, e.g. quota_used greater_than 1) or event_property rules (stop only when the stop event's field equals the same field captured on the enrolling event); field_changed uses a field_value comparison. Tag/list defaults use entry_audience to resolve the required tag or list per enrollment. Tag entry matching requires a tag_added trigger; list entry matching requires a contact_added trigger scoped to at least one specific list.",
      "anyOf": [
        {
          "oneOf": [
            {
              "type": "object",
              "required": [
                "mode",
                "propertyFilters"
              ],
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "event_property_filter"
                  ]
                },
                "propertyFilters": {
                  "type": "array",
                  "description": "Filters an event received after enrollment must all match for the stop to fire. Same shape as event trigger propertyFilters.",
                  "items": {
                    "type": "object",
                    "required": [
                      "path",
                      "operator"
                    ],
                    "properties": {
                      "path": {
                        "type": "string",
                        "description": "Dot-path into the stop event's properties."
                      },
                      "operator": {
                        "type": "string",
                        "enum": [
                          "exists",
                          "not_exists",
                          "equals",
                          "not_equals",
                          "one_of",
                          "contains",
                          "greater_than",
                          "less_than"
                        ]
                      },
                      "value": {
                        "description": "Comparison value (string, number, or boolean; array of values for one_of). Omit for exists/not_exists."
                      }
                    }
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "mode",
                "rules"
              ],
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "event_property"
                  ]
                },
                "rules": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "entryFieldPath",
                      "eventFieldPath"
                    ],
                    "properties": {
                      "entryFieldPath": {
                        "type": "string"
                      },
                      "eventFieldPath": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "mode",
                "operator",
                "value"
              ],
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "field_value"
                  ]
                },
                "operator": {
                  "type": "string",
                  "enum": [
                    "equals",
                    "not_equals",
                    "greater_than",
                    "less_than",
                    "contains",
                    "not_contains"
                  ]
                },
                "value": {
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "mode",
                "audience"
              ],
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "entry_audience"
                  ]
                },
                "audience": {
                  "type": "string",
                  "enum": [
                    "tag",
                    "list"
                  ],
                  "description": "Use the tag or list recorded when this contact enrolled."
                }
              }
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sequenzy-sequence-stop-condition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.