{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phone-com/json-schema/phone-com-events-listener-subscription-schema.json",
  "title": "EventsListenerSubscription",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phone-com-events-listeners-subscriptions-api-openapi.yml#/components/schemas/EventsListenerSubscription",
  "type": "object",
  "properties": {
    ":tags": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "inbound",
          "outbound",
          "call",
          "new-call",
          "connecting-call",
          "connected-call",
          "completed-call",
          "first-leg",
          "not-first-leg",
          "to-did",
          "from-did",
          "to-extension",
          "from-extension",
          "message",
          "sms-message",
          "mms-message",
          "*ms-message",
          "api-error",
          "api-error-trusted",
          "call-log",
          "recording",
          "call-recording",
          "message-status",
          "voicemail-recording"
        ]
      },
      "description": "Array of tags for the subscription (&& logic is being applied)"
    }
  },
  "required": [
    ":tags"
  ]
}