grubhub · Schema

ScheduleOverride

A schedule override with its assigned identifier.

Properties

Name Type Description
override_id string The unique identifier for this override.
start_date string The start date and time of the override.
end_date string The end date and time of the override.
closed boolean Whether the merchant is closed during this override period.
time_windows array Custom operating hours during the override period.
reason string Reason for the schedule override.
View JSON Schema on GitHub

JSON Schema

grubhub-scheduleoverride-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScheduleOverride",
  "title": "ScheduleOverride",
  "type": "object",
  "description": "A schedule override with its assigned identifier.",
  "properties": {
    "override_id": {
      "type": "string",
      "description": "The unique identifier for this override."
    },
    "start_date": {
      "type": "string",
      "format": "date-time",
      "description": "The start date and time of the override."
    },
    "end_date": {
      "type": "string",
      "format": "date-time",
      "description": "The end date and time of the override."
    },
    "closed": {
      "type": "boolean",
      "description": "Whether the merchant is closed during this override period."
    },
    "time_windows": {
      "type": "array",
      "description": "Custom operating hours during the override period.",
      "items": {
        "$ref": "#/components/schemas/TimeWindow"
      }
    },
    "reason": {
      "type": "string",
      "description": "Reason for the schedule override."
    }
  }
}