grubhub · Schema

MenuSchedule

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

Properties

Name Type Description
external_id string A unique external identifier assigned by the partner for diff-based menu ingestion.
name string The display name of the schedule.
availability array Time windows when this schedule is active.
sections array Menu sections available during this schedule, such as appetizers or entrees.
View JSON Schema on GitHub

JSON Schema

grubhub-menuschedule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MenuSchedule",
  "title": "MenuSchedule",
  "type": "object",
  "description": "A schedule defining availability windows and the sections of menu items available during those periods.",
  "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"
  ]
}