{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ExpenseReport", "title": "ExpenseReport", "type": "object", "properties": { "id": { "type": "string", "description": "Workday ID (WID) for the expense report" }, "reportNumber": { "type": "string", "description": "System-generated report number" }, "memo": { "type": "string", "description": "Expense report memo or description" }, "worker": { "$ref": "#/components/schemas/WorkerRef" }, "expenseDate": { "type": "string", "format": "date", "description": "Primary expense date" }, "totalAmount": { "type": "number", "format": "double", "description": "Total expense amount" }, "currency": { "$ref": "#/components/schemas/CurrencyRef" }, "status": { "type": "string", "enum": [ "Draft", "Submitted", "Approved", "Paid", "Returned", "Canceled" ], "description": "Current status of the expense report" }, "company": { "$ref": "#/components/schemas/CompanyRef" }, "createdOn": { "type": "string", "format": "date-time", "description": "When the report was created" } } }