{ "type": "object", "title": "Expense claim as submitted", "properties": { "employee_id": { "type": "string", "description": "Who is claiming.", "examples": [ "E-4471" ] }, "amount": { "type": "number", "minimum": 0, "description": "Amount in the currency below." }, "currency": { "type": "string", "enum": [ "USD", "EUR", "GBP", "INR" ] }, "category": { "type": "string", "enum": [ "travel", "meals", "lodging", "software", "other" ] }, "description": { "type": "string", "description": "What was bought, in the claimant's words." }, "receipt_attached": { "type": "boolean", "default": false, "description": "Whether an itemised receipt is attached. Absent means no receipt." } }, "required": [ "employee_id", "amount", "currency", "category" ] }