grubhub · JSON Structure

Grubhub Menuschedule Structure

A schedule defining availability windows and the sections of menu items available during those periods.

Type: object Properties: 4 Required: 3

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

Properties

external_id name availability sections

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-menuschedule-structure.json",
  "name": "MenuSchedule",
  "description": "A schedule defining availability windows and the sections of menu items available during those periods.",
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A unique external identifier assigned by the partner for diff-based menu ingestion."
    },
    "name": {
      "type": "string",
      "description": "The display name of the schedule."
    },
    "availability": {
      "type": "array",
      "description": "Time windows when this schedule is active.",
      "items": {
        "$ref": "#/components/schemas/Availability"
      }
    },
    "sections": {
      "type": "array",
      "description": "Menu sections available during this schedule, such as appetizers or entrees.",
      "items": {
        "$ref": "#/components/schemas/MenuSection"
      }
    }
  },
  "required": [
    "external_id",
    "name",
    "sections"
  ]
}