Otter · Schema

DefaultModifierSelection

A default modifier selection consists of a reference to the modifier and the default selected quantity of that modifier.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
itemId string The id of the modifier item that this default selection pertains to. This id must be present in the item ids of the modifier group.
selectionQuantity integer The default quantity of the modifier item to be selected.
View JSON Schema on GitHub

JSON Schema

public-api-default-modifier-selection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DefaultModifierSelection",
  "description": "A default modifier selection consists of a reference to the modifier and the default selected quantity of that modifier.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-default-modifier-selection-schema.json",
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string",
      "description": "The id of the modifier item that this default selection pertains to. This id must be present in the item ids of the modifier group.",
      "example": "da0e4e94-5670-4175-897a-3b7dde45bed5"
    },
    "selectionQuantity": {
      "minimum": 0,
      "type": "integer",
      "description": "The default quantity of the modifier item to be selected.",
      "format": "int32",
      "example": 0
    }
  },
  "required": [
    "itemId",
    "selectionQuantity"
  ]
}