Otter · Schema

Item-4

Item-4 schema from Public API (Otter Public API).

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
name string Human-readable name for this item.
price number Per-unit price. This value excludes modifier prices.
quantity number Number of units of this item being ordered.
itemId string ID for this item.
modifiers array Any modifiers attached to this item.
View JSON Schema on GitHub

JSON Schema

public-api-item-4-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Item-4",
  "description": "Item-4 schema from Public API (Otter Public API).",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-item-4-schema.json",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "nullable": true,
      "description": "Human-readable name for this item.",
      "example": "Sample Name"
    },
    "price": {
      "type": "number",
      "nullable": true,
      "description": "Per-unit price. This value excludes modifier prices.",
      "example": 1.0
    },
    "quantity": {
      "type": "number",
      "nullable": true,
      "description": "Number of units of this item being ordered.",
      "example": 1.0
    },
    "itemId": {
      "type": "string",
      "nullable": true,
      "description": "ID for this item.",
      "example": "store_123"
    },
    "modifiers": {
      "type": "array",
      "nullable": true,
      "description": "Any modifiers attached to this item.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-modifier-item-schema.json"
      }
    }
  }
}