{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-structure/pos-pos-order-structure.json", "name": "PosOrder", "description": "PosOrder schema from Lunchbox POS API", "type": "object", "properties": { "pos_store_id": { "type": "string", "example": "123456" }, "order_id": { "type": "string", "example": 1234 }, "ready_ts": { "type": "datetime", "example": "2023-07-25T06:00:00-04:00" }, "service_type_id": { "type": "int32", "example": 1234 }, "service_type": { "type": "string", "example": "string" }, "status": { "type": "object", "properties": { "is_finalized": { "type": "boolean" }, "is_completed": { "type": "boolean" }, "is_canceled": { "type": "boolean" } }, "example": {} }, "customer": { "type": "object", "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "phone": { "type": "string" }, "company_name": { "type": "string" }, "customer_id": { "type": "int32" }, "email": { "type": "string" } }, "example": {} }, "location": { "$ref": "#/components/schemas/PosOrderLocation" }, "charges": { "type": "object", "properties": { "total_cents": { "type": "int32" }, "subtotal_cents": { "type": "int32" }, "tax_cents": { "type": "int32" }, "delivery_cents": { "type": "int32" }, "tip_cents": { "type": "int32" }, "remaining_cents": { "type": "int32" } }, "example": {} } } }