grubhub · JSON Structure

Grubhub Posnormalizedmenu Structure

A complete normalized menu structure containing schedules, sections, items, and modifiers. Each object must have an external_id for diff-based ingestion.

Type: object Properties: 2 Required: 2

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

Properties

merchant_id schedules

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-posnormalizedmenu-structure.json",
  "name": "PosNormalizedMenu",
  "description": "A complete normalized menu structure containing schedules, sections, items, and modifiers. Each object must have an external_id for diff-based ingestion.",
  "type": "object",
  "properties": {
    "merchant_id": {
      "type": "string",
      "description": "The Grubhub merchant identifier this menu belongs to."
    },
    "schedules": {
      "type": "array",
      "description": "Top-level menu schedules that define what items are available during specific periods of the days and week.",
      "items": {
        "$ref": "#/components/schemas/MenuSchedule"
      }
    }
  },
  "required": [
    "merchant_id",
    "schedules"
  ]
}