{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.wherever.audio/schemas/webhooks/show-episodes-found/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
    },
    "show": {
      "$ref": "https://docs.wherever.audio/schemas/webhooks/references/show/v1.json"
    },
    "episodes": {
      "type": "array",
      "items": {
        "$ref": "https://docs.wherever.audio/schemas/webhooks/references/episode/v1.json"
      },
      "description": "Newest first."
    }
  },
  "required": [
    "origin",
    "show",
    "episodes"
  ],
  "title": "show.episodesFound data",
  "description": "A refresh found episodes that were not there before.",
  "x-stability": "stable"
}
