Lunchbox · JSON Structure

Core Order Item Structure

OrderItem schema from Lunchbox Core API

Type: object Properties: 8
RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

OrderItem is a JSON Structure definition published by Lunchbox, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

menu_id quantity item_id category_id comment style_id size_id child_items

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-structure/core-order-item-structure.json",
  "name": "OrderItem",
  "description": "OrderItem schema from Lunchbox Core API",
  "type": "object",
  "properties": {
    "menu_id": {
      "type": "int32",
      "example": 1234
    },
    "quantity": {
      "type": "int32",
      "example": 1
    },
    "item_id": {
      "type": "int32",
      "example": 1234
    },
    "category_id": {
      "type": "int32",
      "example": 1234
    },
    "comment": {
      "type": "string",
      "example": "string"
    },
    "style_id": {
      "type": "int32",
      "nullable": true,
      "example": 1234
    },
    "size_id": {
      "type": "int32",
      "nullable": true,
      "example": 1234
    },
    "child_items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderChildItem"
      },
      "example": []
    }
  }
}