{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/concur/refs/heads/main/json-schema/concur-expense-api-expense-report-schema.json",
  "title": "ExpenseReport",
  "description": "An expense report containing expense entries.",
  "type": "object",
  "properties": {
    "reportId": { "type": "string", "description": "Unique identifier for the expense report.", "example": "500123" },
    "reportName": { "type": "string", "description": "Name of the expense report.", "example": "Q1 Travel Expenses" },
    "ownerName": { "type": "string", "description": "Full name of the report owner.", "example": "Jane Smith" },
    "businessPurpose": { "type": "string", "description": "Business purpose for the expenses." },
    "submitDate": { "type": "string", "format": "date-time", "description": "Date the report was submitted." },
    "approvalStatus": { "type": "string", "enum": ["NOT_SUBMITTED", "SUBMITTED", "APPROVED", "SENT_BACK", "RECALLED"] },
    "total": { "type": "number", "format": "double", "description": "Total amount of all expenses." },
    "currencyCode": { "type": "string", "description": "ISO 4217 currency code." },
    "countryCode": { "type": "string", "description": "ISO country code." },
    "reportDate": { "type": "string", "format": "date", "description": "Date of the report." }
  }
}
