{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.wherever.audio/schemas/webhooks/queue-removed/v1.json",
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "enum": [
        "user",
        "agent",
        "link",
        "system",
        "sync"
      ],
      "description": "Who caused the event."
    },
    "actionId": {
      "description": "Shared by every event one action produced.",
      "type": "string"
    },
    "test": {
      "description": "Present only on synthetic events from a test send.",
      "type": "boolean",
      "const": true
    },
    "episode": {
      "$ref": "https://docs.wherever.audio/schemas/webhooks/references/episode/v1.json"
    },
    "queueId": {
      "description": "The queue this happened in: `default`, or an opaque ID for a named queue.",
      "type": "string"
    }
  },
  "required": [
    "origin",
    "episode"
  ],
  "title": "queue.removed data",
  "description": "An episode left a queue without being played through.",
  "x-stability": "stable"
}
