grubhub · Schema

DaySchedule

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

Properties

Name Type Description
open boolean Whether the merchant is open on this day.
time_windows array Time windows when the merchant is available. Supports split shifts with multiple windows per day.
View JSON Schema on GitHub

JSON Schema

grubhub-dayschedule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DaySchedule",
  "title": "DaySchedule",
  "type": "object",
  "description": "Operating hours for a single day, supporting multiple time windows.",
  "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"
      }
    }
  }
}