Lavu · JSON Structure

Poslavu Api Menu Item Structure

A menu item from the menu_items table.

Type: object Properties: 32
RestaurantPoint of SalePaymentsInventoryMenu Management

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

Properties

id category_id menu_id name price description image image2 image3 misc_content options1 options2 options3 active print quick_item last_modified_date printer apply_taxrate custom_taxrate modifier_list_id forced_modifier_group_id ingredients open_item hidden_value hidden_value2 allow_deposit UPC hidden_value3 inv_count show_in_app super_group_id

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/lavu/refs/heads/main/json-structure/poslavu-api-menu-item-structure.json",
  "name": "MenuItem",
  "description": "A menu item from the menu_items table.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Menu item identifier.",
      "example": "813"
    },
    "category_id": {
      "type": "string",
      "description": "Identifier of the parent menu category.",
      "example": "113"
    },
    "menu_id": {
      "type": "string",
      "description": "Identifier of the menu this item belongs to.",
      "example": "11"
    },
    "name": {
      "type": "string",
      "description": "Item name.",
      "example": "Grox"
    },
    "price": {
      "type": "string",
      "description": "Item price.",
      "example": "25"
    },
    "description": {
      "type": "string",
      "description": "Item description.",
      "example": ""
    },
    "image": {
      "type": "string",
      "description": "Primary item image filename.",
      "example": "ann_smith_robot_dino.jpg"
    },
    "image2": {
      "type": "string",
      "description": "Secondary item image filename.",
      "example": ""
    },
    "image3": {
      "type": "string",
      "description": "Tertiary item image filename.",
      "example": ""
    },
    "misc_content": {
      "type": "string",
      "description": "Miscellaneous content.",
      "example": ""
    },
    "options1": {
      "type": "string",
      "description": "Option set one.",
      "example": ""
    },
    "options2": {
      "type": "string",
      "description": "Option set two.",
      "example": ""
    },
    "options3": {
      "type": "string",
      "description": "Option set three.",
      "example": ""
    },
    "active": {
      "type": "string",
      "description": "Whether the item is active (1) or not (0).",
      "example": "1"
    },
    "print": {
      "type": "string",
      "description": "Whether the item prints (1) or not (0).",
      "example": "1"
    },
    "quick_item": {
      "type": "string",
      "description": "Whether the item is a quick item (1) or not (0).",
      "example": "0"
    },
    "last_modified_date": {
      "type": "string",
      "description": "Last modification timestamp.",
      "example": "0000-00-00 00:00:00"
    },
    "printer": {
      "type": "string",
      "description": "Assigned printer identifier.",
      "example": "0"
    },
    "apply_taxrate": {
      "type": "string",
      "description": "Tax rate application mode (e.g. Default).",
      "example": "Default"
    },
    "custom_taxrate": {
      "type": "string",
      "description": "Custom tax rate when not using the default.",
      "example": ""
    },
    "modifier_list_id": {
      "type": "string",
      "description": "Associated modifier list identifier.",
      "example": "0"
    },
    "forced_modifier_group_id": {
      "type": "string",
      "description": "Forced modifier group identifier.",
      "example": "C"
    },
    "ingredients": {
      "type": "string",
      "description": "Associated ingredients.",
      "example": ""
    },
    "open_item": {
      "type": "string",
      "description": "Whether the item is an open item (1) or not (0).",
      "example": "0"
    },
    "hidden_value": {
      "type": "string",
      "description": "Hidden value field one.",
      "example": ""
    },
    "hidden_value2": {
      "type": "string",
      "description": "Hidden value field two.",
      "example": ""
    },
    "allow_deposit": {
      "type": "string",
      "description": "Whether deposits are allowed (1) or not (0).",
      "example": "0"
    },
    "UPC": {
      "type": "string",
      "description": "Universal Product Code.",
      "example": ""
    },
    "hidden_value3": {
      "type": "string",
      "description": "Hidden value field three.",
      "example": ""
    },
    "inv_count": {
      "type": "string",
      "description": "Inventory count.",
      "example": "0"
    },
    "show_in_app": {
      "type": "string",
      "description": "Whether the item shows in the app (1) or not (0).",
      "example": "1"
    },
    "super_group_id": {
      "type": "string",
      "description": "Parent super group identifier.",
      "example": ""
    }
  }
}