{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TriggerResponse",
  "title": "TriggerResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the trigger."
    },
    "connectedAccountId": {
      "type": "string",
      "description": "The connected account this trigger is associated with."
    },
    "triggerName": {
      "type": "string",
      "description": "Name of the trigger event."
    },
    "webhookUrl": {
      "type": "string",
      "format": "uri",
      "description": "The webhook URL for receiving events."
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "paused",
        "disabled"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}