{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-orderstatusupdate-structure.json", "name": "OrderStatusUpdate", "description": "Payload for updating an order's lifecycle status.", "type": "object", "properties": { "status": { "type": "string", "description": "The new status for the order.", "enum": [ "IN_PROGRESS", "READY", "OUT_FOR_DELIVERY", "COMPLETED", "CANCELLED" ] }, "reason": { "type": "string", "description": "Reason for the status change, particularly relevant for cancellations." } }, "required": [ "status" ] }