grubhub · JSON Structure

Grubhub Sizeprompt Structure

A size selection prompt for a menu item. Sizes can affect the price of both the item and its modifiers.

Type: object Properties: 3

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

Properties

external_id name options

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/grubhub/refs/heads/main/json-structure/grubhub-sizeprompt-structure.json",
  "name": "SizePrompt",
  "description": "A size selection prompt for a menu item. Sizes can affect the price of both the item and its modifiers.",
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A unique external identifier for this size prompt."
    },
    "name": {
      "type": "string",
      "description": "The display name for the size prompt."
    },
    "options": {
      "type": "array",
      "description": "Available size options.",
      "items": {
        "$ref": "#/components/schemas/SizeOption"
      }
    }
  }
}