{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-order-status-history-structure.json", "name": "OrderStatusHistory", "description": "The Order Status Update History and extra data.", "type": "object", "properties": { "orderStatusHistory": { "type": "array", "description": "Array of OrderStatusEvent", "items": { "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-order-status-event-schema.json" } }, "orderAcceptedInfo": { "type": "object", "nullable": true, "description": "[NEW] Extra information added once the order was accepted by the restaurant. This field is nullable.", "properties": { "preparationTimeInMinutes": { "type": "int32", "description": "[NEW] The time in minutes the restaurant says it will take to prepare the order." } }, "required": [ "preparationTimeInMinutes" ] } } }