{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-availabilityoverride-schema.json",
  "title": "AvailabilityOverride",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-menu-openapi.yml#/components/schemas/AvailabilityOverride",
  "required": [
    "end_date",
    "external_id",
    "name",
    "override_type",
    "start_date"
  ],
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A user-configured identifier for this object within the menu. External IDs must be unique across all menu entities of this type. Any availability override that shares this `external_id` will be overwritten."
    },
    "name": {
      "type": "string",
      "description": "The display name for this availability override, which will be shown internally and externally."
    },
    "start_date": {
      "type": "string",
      "description": "The date and time when this override begins.",
      "format": "date-time"
    },
    "end_date": {
      "type": "string",
      "description": "The date and time when this override ends.",
      "format": "date-time"
    },
    "override_type": {
      "type": "string",
      "description": "The type of availability override, [AVAILABLE, UNAVAILABLE].",
      "enum": [
        "AVAILABLE",
        "UNAVAILABLE"
      ]
    }
  },
  "description": "Definitions of time range during which item or modifier is not available."
}