{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Receipt", "type": "object", "description": "A goods receipt or service confirmation recorded against a purchase order", "properties": { "receiptId": { "type": "string", "description": "Unique receipt identifier" }, "purchaseOrderId": { "type": "string", "description": "Reference to the purchase order" }, "receiptDate": { "type": "string", "description": "Date goods were received or services confirmed" }, "receiptType": { "type": "string", "description": "Type of receipt" }, "status": { "type": "string" }, "lineItems": { "type": "array" }, "createdDate": { "type": "string" }, "createdBy": { "type": "string", "description": "User who created the receipt" } } }