{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aon-pro/json-schema/aon-pro-post-v1-developer-reports-offers-batch-response-schema.json",
  "title": "PostV1DeveloperReportsOffersBatchResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/aon-pro-openapi-generated.yml#/components/schemas/PostV1DeveloperReportsOffersBatchResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Response status code."
    },
    "message": {
      "type": "string",
      "description": "Human‑readable message."
    },
    "data.results": {
      "type": "array",
      "description": "Array of per‑item results."
    },
    "data.results[].input_index": {
      "type": "integer",
      "description": "Zero‑based index of the input item."
    },
    "data.results[].status": {
      "type": "string",
      "description": "Result status."
    },
    "data.results[].data": {
      "type": "object",
      "description": "Performance data for the item, including currency‑specific earnings."
    },
    "data.results[].data.estimated_earnings": {
      "type": "array",
      "description": "Array of earnings objects grouped by original settlement currency."
    },
    "data.results[].data.estimated_earnings[].currency": {
      "type": "string",
      "description": "Currency code of the earnings bucket."
    },
    "data.results[].data.estimated_earnings[].amount": {
      "type": "string",
      "description": "Earnings amount for the currency."
    },
    "data.coverage": {
      "type": "object",
      "description": "Legacy coverage object (always present in v1)."
    },
    "data.succeeded_count": {
      "type": "integer",
      "description": "Number of successfully processed items."
    },
    "data.failed_count": {
      "type": "integer",
      "description": "Number of items that failed."
    },
    "extra.timezone": {
      "type": "string",
      "description": "Timezone of the response."
    }
  }
}