{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "/schemas/3.1.0-rc.4/core/async-response-data.json",
  "title": "AdCP Async Response Data",
  "description": "Union of all possible data payloads for async task webhook responses. For completed/failed statuses, use the main task response schema. For working/input-required/submitted, use the status-specific schemas.",
  "anyOf": [
    {
      "title": "GetProductsResponse",
      "description": "Response for completed or failed get_products",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/get-products-response.json"
    },
    {
      "title": "GetProductsAsyncWorking",
      "description": "Progress data for working get_products",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/get-products-async-response-working.json"
    },
    {
      "title": "GetProductsAsyncInputRequired",
      "description": "Input requirements for get_products needing clarification",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/get-products-async-response-input-required.json"
    },
    {
      "title": "GetProductsAsyncSubmitted",
      "description": "Acknowledgment for submitted get_products (custom curation)",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/get-products-async-response-submitted.json"
    },
    {
      "title": "CreateMediaBuyResponse",
      "description": "Response for completed or failed create_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/create-media-buy-response.json"
    },
    {
      "title": "CreateMediaBuyAsyncWorking",
      "description": "Progress data for working create_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/create-media-buy-async-response-working.json"
    },
    {
      "title": "CreateMediaBuyAsyncInputRequired",
      "description": "Input requirements for create_media_buy needing user input",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/create-media-buy-async-response-input-required.json"
    },
    {
      "title": "CreateMediaBuyAsyncSubmitted",
      "description": "Acknowledgment for submitted create_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/create-media-buy-async-response-submitted.json"
    },
    {
      "title": "UpdateMediaBuyResponse",
      "description": "Response for completed or failed update_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/update-media-buy-response.json"
    },
    {
      "title": "UpdateMediaBuyAsyncWorking",
      "description": "Progress data for working update_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/update-media-buy-async-response-working.json"
    },
    {
      "title": "UpdateMediaBuyAsyncInputRequired",
      "description": "Input requirements for update_media_buy needing user input",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/update-media-buy-async-response-input-required.json"
    },
    {
      "title": "UpdateMediaBuyAsyncSubmitted",
      "description": "Acknowledgment for submitted update_media_buy",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/update-media-buy-async-response-submitted.json"
    },
    {
      "title": "MediaBuyDeliveryWebhookResult",
      "description": "Delivery-report payload for media_buy_delivery webhook notifications. This is the inner result object carried by mcp-webhook-payload.json, not the full top-level get_media_buy_delivery task response envelope.",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/media-buy-delivery-webhook-result.json"
    },
    {
      "title": "BuildCreativeResponse",
      "description": "Response for completed or failed build_creative",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/build-creative-response.json"
    },
    {
      "title": "BuildCreativeAsyncWorking",
      "description": "Progress data for working build_creative",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/build-creative-async-response-working.json"
    },
    {
      "title": "BuildCreativeAsyncInputRequired",
      "description": "Input requirements for build_creative needing user input",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/build-creative-async-response-input-required.json"
    },
    {
      "title": "BuildCreativeAsyncSubmitted",
      "description": "Acknowledgment for submitted build_creative",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/build-creative-async-response-submitted.json"
    },
    {
      "title": "SyncCreativesResponse",
      "description": "Response for completed or failed sync_creatives",
      "$ref": "/schemas/3.1.0-rc.4/creative/sync-creatives-response.json"
    },
    {
      "title": "SyncCreativesAsyncWorking",
      "description": "Progress data for working sync_creatives",
      "$ref": "/schemas/3.1.0-rc.4/creative/sync-creatives-async-response-working.json"
    },
    {
      "title": "SyncCreativesAsyncInputRequired",
      "description": "Input requirements for sync_creatives needing user input",
      "$ref": "/schemas/3.1.0-rc.4/creative/sync-creatives-async-response-input-required.json"
    },
    {
      "title": "SyncCreativesAsyncSubmitted",
      "description": "Acknowledgment for submitted sync_creatives",
      "$ref": "/schemas/3.1.0-rc.4/creative/sync-creatives-async-response-submitted.json"
    },
    {
      "title": "SyncCatalogsResponse",
      "description": "Response for completed or failed sync_catalogs",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/sync-catalogs-response.json"
    },
    {
      "title": "SyncCatalogsAsyncWorking",
      "description": "Progress data for working sync_catalogs",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/sync-catalogs-async-response-working.json"
    },
    {
      "title": "SyncCatalogsAsyncInputRequired",
      "description": "Input requirements for sync_catalogs needing buyer input",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/sync-catalogs-async-response-input-required.json"
    },
    {
      "title": "SyncCatalogsAsyncSubmitted",
      "description": "Acknowledgment for submitted sync_catalogs",
      "$ref": "/schemas/3.1.0-rc.4/media-buy/sync-catalogs-async-response-submitted.json"
    }
  ]
}
