{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-posscheduleoverrides-schema.json", "title": "PosScheduleOverrides", "x-generated": "2026-09-17", "x-method": "derived", "x-source": "openapi/grubhub-menu-openapi.yml#/components/schemas/PosScheduleOverrides", "required": [ "item_overrides", "merchant_id", "modifier_overrides" ], "type": "object", "properties": { "merchant_id": { "type": "string", "description": "The Grubhub or third-party provided external ID for the merchant. Corresponds to a single location." }, "item_overrides": { "type": "array", "description": "The list of item overrides.", "items": { "$ref": "#/$defs/PosItemScheduleOverrides" } }, "modifier_overrides": { "type": "array", "description": "The list of modifier overrides.", "items": { "$ref": "#/$defs/PosModifierScheduleOverrides" } } }, "description": "A list of override schedules for items and modifiers", "$defs": { "PosItemScheduleOverrides": { "required": [ "intervals", "item_id", "merchant_id" ], "type": "object", "properties": { "merchant_id": { "type": "string", "description": "The Grubhub or third-party provided external ID for the merchant. Corresponds to a single location." }, "item_id": { "type": "string", "description": "The ID of the item." }, "external_id": { "type": "string", "description": "The external ID of the item." }, "intervals": { "type": "array", "description": "The list of schedule override details.", "items": { "$ref": "#/$defs/ScheduleOverride" } } }, "description": "Item override." }, "PosModifierScheduleOverrides": { "required": [ "intervals", "merchant_id", "modifier_id" ], "type": "object", "properties": { "merchant_id": { "type": "string", "description": "The Grubhub or third-party provided external ID for the merchant. Corresponds to a single location." }, "modifier_id": { "type": "string", "description": "The ID of the modifier." }, "external_id": { "type": "string", "description": "The external ID of the item." }, "intervals": { "type": "array", "description": "The list of schedule override details.", "items": { "$ref": "#/$defs/ScheduleOverride" } } }, "description": "Modifier override" }, "ScheduleOverride": { "required": [ "end", "show_or_hide", "start" ], "type": "object", "properties": { "start": { "type": "string", "description": "ISO-8601 format. The beginning of the temporary override period.", "format": "date-time" }, "end": { "type": "string", "description": "ISO-8601 format. The end of the temporary override period. A sentinel value of \"9999-12-31T23:59:00.000Z\" is used to \"archive\" an item.", "format": "date-time" }, "show_or_hide": { "type": "string", "description": "The options to use for the override.", "enum": [ "SHOW", "HIDE" ] } }, "description": "The schedule override details." } } }