grubhub · JSON Structure

Grubhub Dayschedule Structure

Operating hours for a single day, supporting multiple time windows.

Type: object Properties: 2

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

Properties

open time_windows

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-dayschedule-structure.json",
  "name": "DaySchedule",
  "description": "Operating hours for a single day, supporting multiple time windows.",
  "type": "object",
  "properties": {
    "open": {
      "type": "boolean",
      "description": "Whether the merchant is open on this day."
    },
    "time_windows": {
      "type": "array",
      "description": "Time windows when the merchant is available. Supports split shifts with multiple windows per day.",
      "items": {
        "$ref": "#/components/schemas/TimeWindow"
      }
    }
  }
}