{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/stores-business-hours-override-structure.json",
  "name": "BusinessHoursOverride",
  "description": "BusinessHoursOverride schema from Flipdish API - Stores.",
  "type": "object",
  "properties": {
    "BusinessHoursOverrideId": {
      "description": "Unique identifier",
      "type": "int32",
      "example": 500123
    },
    "DeliveryType": {
      "description": "Delivery or Pickup",
      "enum": [
        "Delivery",
        "Pickup"
      ],
      "type": "string",
      "example": "Delivery"
    },
    "StartTime": {
      "description": "Date and time in ISO 8601 format.",
      "type": "datetime",
      "example": "2026-06-02T12:00:00Z"
    },
    "EndTime": {
      "description": "Date and time in ISO 8601 format.",
      "type": "datetime",
      "example": "2026-06-02T12:00:00Z"
    },
    "Type": {
      "description": "Open, Closed or ClosedAllowPreOrders",
      "enum": [
        "Open",
        "Closed",
        "ClosedAllowPreOrders"
      ],
      "type": "string",
      "example": "Open"
    }
  },
  "required": [
    "StartTime",
    "EndTime"
  ]
}