Lavu · Schema
OrderContent
A line item from the order_contents table.
RestaurantPoint of SalePaymentsInventoryMenu Management
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Row identifier. |
| loc_id | string | Location identifier. |
| order_id | string | Identifier of the parent order. |
| item | string | Item name. |
| price | string | Item price. |
| quantity | string | Quantity ordered. |
| options | string | Selected options/modifiers. |
| special | string | Special instructions. |
| modify_price | string | Modified price. |
| string | Whether the line prints (1) or not (0). | |
| check | string | Check number. |
| seat | string | Seat number. |
| item_id | string | Menu item identifier. |
| printer | string | Assigned printer identifier. |
| apply_taxrate | string | Applied tax rate. |
| custom_taxrate | string | Custom tax rate. |
| modifier_list_id | string | Associated modifier list identifier. |
| forced_modifier_group_id | string | Forced modifier group identifier. |
| forced_modifiers_price | string | Price of forced modifiers. |
| course | string | Course number. |
| print_order | string | Print ordering value. |
| open_item | string | Whether the line is an open item (1) or not (0). |
| subtotal | string | Line subtotal. |
| allow_deposit | string | Whether deposits are allowed (1) or not (0). |
| deposit_info | string | Deposit information. |
| discount_amount | string | Discount amount. |
| discount_value | string | Discount value. |
| discount_type | string | Discount type. |
| after_discount | string | Amount after discount. |
| subtotal_with_mods | string | Subtotal including modifiers. |
| tax_amount | string | Tax amount. |
| notes | string | Line notes. |
| total_with_tax | string | Total including tax. |
| itax_rate | string | Inclusive tax rate. |
| itax | string | Inclusive tax amount. |
| tax_rate1 | string | Tax rate one. |
| tax1 | string | Tax amount one. |
| tax_rate2 | string | Tax rate two. |
| tax2 | string | Tax amount two. |
| tax_rate3 | string | Tax rate three. |
| tax3 | string | Tax amount three. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OrderContent",
"description": "A line item from the order_contents table.",
"$id": "https://raw.githubusercontent.com/api-evangelist/lavu/refs/heads/main/json-schema/poslavu-api-order-content-schema.json",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Row identifier.",
"example": "1"
},
"loc_id": {
"type": "string",
"description": "Location identifier.",
"example": "9"
},
"order_id": {
"type": "string",
"description": "Identifier of the parent order.",
"example": "1"
},
"item": {
"type": "string",
"description": "Item name.",
"example": "Dynamite"
},
"price": {
"type": "string",
"description": "Item price.",
"example": "15"
},
"quantity": {
"type": "string",
"description": "Quantity ordered.",
"example": "1"
},
"options": {
"type": "string",
"description": "Selected options/modifiers.",
"example": "Shark - Bacon - Cheese"
},
"special": {
"type": "string",
"description": "Special instructions.",
"example": ""
},
"modify_price": {
"type": "string",
"description": "Modified price.",
"example": ""
},
"print": {
"type": "string",
"description": "Whether the line prints (1) or not (0).",
"example": "1"
},
"check": {
"type": "string",
"description": "Check number.",
"example": "1"
},
"seat": {
"type": "string",
"description": "Seat number.",
"example": "1"
},
"item_id": {
"type": "string",
"description": "Menu item identifier.",
"example": "120"
},
"printer": {
"type": "string",
"description": "Assigned printer identifier.",
"example": "1"
},
"apply_taxrate": {
"type": "string",
"description": "Applied tax rate.",
"example": "0.06875"
},
"custom_taxrate": {
"type": "string",
"description": "Custom tax rate.",
"example": "0.06875"
},
"modifier_list_id": {
"type": "string",
"description": "Associated modifier list identifier.",
"example": "0"
},
"forced_modifier_group_id": {
"type": "string",
"description": "Forced modifier group identifier.",
"example": "0"
},
"forced_modifiers_price": {
"type": "string",
"description": "Price of forced modifiers.",
"example": "5.25"
},
"course": {
"type": "string",
"description": "Course number.",
"example": "1"
},
"print_order": {
"type": "string",
"description": "Print ordering value.",
"example": "0"
},
"open_item": {
"type": "string",
"description": "Whether the line is an open item (1) or not (0).",
"example": "0"
},
"subtotal": {
"type": "string",
"description": "Line subtotal.",
"example": ""
},
"allow_deposit": {
"type": "string",
"description": "Whether deposits are allowed (1) or not (0).",
"example": "0"
},
"deposit_info": {
"type": "string",
"description": "Deposit information.",
"example": ""
},
"discount_amount": {
"type": "string",
"description": "Discount amount.",
"example": ""
},
"discount_value": {
"type": "string",
"description": "Discount value.",
"example": ""
},
"discount_type": {
"type": "string",
"description": "Discount type.",
"example": ""
},
"after_discount": {
"type": "string",
"description": "Amount after discount.",
"example": ""
},
"subtotal_with_mods": {
"type": "string",
"description": "Subtotal including modifiers.",
"example": ""
},
"tax_amount": {
"type": "string",
"description": "Tax amount.",
"example": ""
},
"notes": {
"type": "string",
"description": "Line notes.",
"example": ""
},
"total_with_tax": {
"type": "string",
"description": "Total including tax.",
"example": ""
},
"itax_rate": {
"type": "string",
"description": "Inclusive tax rate.",
"example": ""
},
"itax": {
"type": "string",
"description": "Inclusive tax amount.",
"example": ""
},
"tax_rate1": {
"type": "string",
"description": "Tax rate one.",
"example": ""
},
"tax1": {
"type": "string",
"description": "Tax amount one.",
"example": ""
},
"tax_rate2": {
"type": "string",
"description": "Tax rate two.",
"example": ""
},
"tax2": {
"type": "string",
"description": "Tax amount two.",
"example": ""
},
"tax_rate3": {
"type": "string",
"description": "Tax rate three.",
"example": ""
},
"tax3": {
"type": "string",
"description": "Tax amount three.",
"example": ""
}
}
}