{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-trta-athena-models-api-v4-reports-report-output-schema.json",
  "title": "TRTA.Athena.Models.Api.V4.Reports.ReportOutput",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-onesource-indirect-tax-compliance-reports-api-openapi.yml#/components/schemas/TRTA.Athena.Models.Api.V4.Reports.ReportOutput",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Report Id",
      "format": "int32"
    },
    "name": {
      "type": "string",
      "description": "Report Name"
    },
    "runId": {
      "type": "string",
      "description": "Runid of report.",
      "format": "uuid"
    },
    "parameters": {
      "type": "array",
      "description": "Parameter supplied as input for the report",
      "items": {
        "$ref": "#/$defs/TRTA.Athena.Models.Api.V4.Reports.ReportParameterInput"
      }
    },
    "status": {
      "type": "string",
      "description": "Status of report (In-Progress/Ready/Invalid)"
    },
    "items": {
      "type": "array",
      "description": "Report data, It will only have data when status is Ready.",
      "items": {
        "type": "object"
      }
    },
    "count": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "TRTA.Athena.Models.Api.V4.Reports.ReportParameterInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of parameter"
        },
        "value": {
          "type": "string",
          "description": "Value of parameter"
        }
      }
    }
  }
}