Otter · JSON Structure

Public Api Item Selector Structure

Used to select a specific item.

Type: object Properties: 2 Required: 1
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

ItemSelector is a JSON Structure definition published by Otter, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id isModifier

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-item-selector-structure.json",
  "name": "ItemSelector",
  "description": "Used to select a specific item.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier of the item.",
      "example": "06ef2722-cbf2-11ec-9d64-0242ac120002"
    },
    "isModifier": {
      "type": "boolean",
      "description": "True, if the item is used as a modifier.",
      "example": true
    }
  },
  "required": [
    "id"
  ]
}