{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/albertsons/refs/heads/main/json-schema/retail-media-api-report-response-schema.json",
  "title": "Report Response",
  "description": "Response containing the generated report details.",
  "type": "object",
  "properties": {
    "reportId": {
      "type": "string",
      "description": "Unique identifier for the generated report.",
      "example": "rpt-abc123"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "processing",
        "completed",
        "failed"
      ],
      "description": "Current status of the report generation.",
      "example": "completed"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the report was created.",
      "example": "2026-04-19T10:30:00Z"
    },
    "downloadUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to download the completed report.",
      "example": "https://api.albertsons.com/reports/rpt-abc123/download"
    }
  }
}