{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-posmodifierscheduleoverrides-schema.json",
  "title": "PosModifierScheduleOverrides",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-menu-openapi.yml#/components/schemas/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",
  "$defs": {
    "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."
    }
  }
}