{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-scheduleoverriderequest-structure.json", "name": "ScheduleOverrideRequest", "description": "Request to create a schedule override for temporary changes to operating hours.", "type": "object", "properties": { "start_date": { "type": "datetime", "description": "The start date and time of the override." }, "end_date": { "type": "datetime", "description": "The end date and time of the override." }, "closed": { "type": "boolean", "description": "Whether the merchant should be closed during this override period." }, "time_windows": { "type": "array", "description": "Custom operating hours during the override period. Only applicable when closed is false.", "items": { "$ref": "#/components/schemas/TimeWindow" } }, "reason": { "type": "string", "description": "Reason for the schedule override." } }, "required": [ "start_date", "end_date" ] }