Grubhub · JSON Structure

Grubhub Modifierprompt Structure

A modifier prompt for a menu item, allowing customization such as choice of dressing, extra toppings, or preparation preferences.

Type: object Properties: 6 Required: 3

ModifierPrompt is a JSON Structure definition published by Grubhub, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

external_id name required min_selections max_selections 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-modifierprompt-structure.json",
  "name": "ModifierPrompt",
  "description": "A modifier prompt for a menu item, allowing customization such as choice of dressing, extra toppings, or preparation preferences.",
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A unique external identifier for this modifier prompt."
    },
    "name": {
      "type": "string",
      "description": "The display name of the modifier prompt."
    },
    "required": {
      "type": "boolean",
      "description": "Whether a selection is required from this modifier prompt."
    },
    "min_selections": {
      "type": "int32",
      "description": "Minimum number of selections required.",
      "minimum": 0
    },
    "max_selections": {
      "type": "int32",
      "description": "Maximum number of selections allowed.",
      "minimum": 1
    },
    "options": {
      "type": "array",
      "description": "Available modifier options.",
      "items": {
        "$ref": "#/components/schemas/ModifierOption"
      }
    }
  },
  "required": [
    "external_id",
    "name",
    "options"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/grubhub-modifierprompt-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.