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