Otter · JSON Structure

Public Api Modifier Item Structure

ModifierItem schema from Public API (Otter Public API).

Type: object Properties: 5
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

modifierId name price quantity modifiers

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/otter/refs/heads/main/json-structure/public-api-modifier-item-structure.json",
  "name": "ModifierItem",
  "description": "ModifierItem schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "modifierId": {
      "type": "string",
      "nullable": true,
      "description": "ID for this modifier.",
      "example": "store_123"
    },
    "name": {
      "type": "string",
      "nullable": true,
      "description": "Human-readable name for this modifier.",
      "example": "Sample Name"
    },
    "price": {
      "type": "double",
      "nullable": true,
      "description": "Per-unit price of this modifier.",
      "example": 1.0
    },
    "quantity": {
      "type": "double",
      "nullable": true,
      "description": "Number of units of this modifier being added to the item.",
      "example": 1.0
    },
    "modifiers": {
      "type": "array",
      "nullable": true,
      "description": "Nested modifier items.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-modifier-item-schema.json"
      }
    }
  }
}