grubhub · Schema

MenuSection

A grouping of menu items such as appetizers, entrees, or desserts.

Properties

Name Type Description
external_id string A unique external identifier for diff-based ingestion.
name string The display name of the section.
items array Menu items within this section.
View JSON Schema on GitHub

JSON Schema

grubhub-menusection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MenuSection",
  "title": "MenuSection",
  "type": "object",
  "description": "A grouping of menu items such as appetizers, entrees, or desserts.",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A unique external identifier for diff-based ingestion."
    },
    "name": {
      "type": "string",
      "description": "The display name of the section."
    },
    "items": {
      "type": "array",
      "description": "Menu items within this section.",
      "items": {
        "$ref": "#/components/schemas/MenuItem"
      }
    }
  },
  "required": [
    "external_id",
    "name",
    "items"
  ]
}