Lavu · JSON Structure

Poslavu Api Table Structure

A floor layout table from the tables table.

Type: object Properties: 8
RestaurantPoint of SalePaymentsInventoryMenu Management

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

Properties

id loc_id coord_x coord_y shapes widths heights names

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-table-structure.json",
  "name": "Table",
  "description": "A floor layout table from the tables table.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Table layout identifier.",
      "example": "3"
    },
    "loc_id": {
      "type": "string",
      "description": "Location identifier.",
      "example": "9"
    },
    "coord_x": {
      "type": "string",
      "description": "Pipe-delimited X coordinates of each table on the floor layout.",
      "example": "138|258|372"
    },
    "coord_y": {
      "type": "string",
      "description": "Pipe-delimited Y coordinates of each table on the floor layout.",
      "example": "82|82|82"
    },
    "shapes": {
      "type": "string",
      "description": "Pipe-delimited shape of each table (e.g. square, circle).",
      "example": "square|square|circle"
    },
    "widths": {
      "type": "string",
      "description": "Pipe-delimited widths of each table.",
      "example": "74|70|70"
    },
    "heights": {
      "type": "string",
      "description": "Pipe-delimited heights of each table.",
      "example": "69|70|70"
    },
    "names": {
      "type": "string",
      "description": "Pipe-delimited display names of each table (e.g. Booth 1, Table 5).",
      "example": "Booth 1|Booth 2|Table 1"
    }
  }
}