DayPart

Day parts define a window of time during which any associated menu items should be available for orders.

Fortune 500FranchisingHospitalityNYSE QSRQuick Service RestaurantsRestaurants

Properties

Name Type Description
id object
daysOfWeek array Days of week for which daypart is applicable
startTime string Restaurant local start time formatted as ISO 8601 time.
endTime string Restaurant local end time formatted as ISO 8601 time.
View JSON Schema on GitHub

JSON Schema

channel-day-part-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DayPart",
  "description": "Day parts define a window of time during which any associated menu items should be available for orders.\n",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/channel-day-part-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/DayPartId"
    },
    "daysOfWeek": {
      "description": "Days of week for which daypart is applicable\n",
      "type": "array",
      "example": [
        "saturday",
        "sunday"
      ],
      "items": {
        "type": "string",
        "enum": [
          "monday",
          "tuesday",
          "wednesday",
          "thursday",
          "friday",
          "saturday",
          "sunday"
        ]
      }
    },
    "startTime": {
      "description": "Restaurant local start time formatted as ISO 8601 time.\n",
      "type": "string",
      "format": "hh:mm:ss",
      "example": "07:00:00"
    },
    "endTime": {
      "description": "Restaurant local end time formatted as ISO 8601 time.\n",
      "type": "string",
      "format": "hh:mm:ss",
      "example": 79200
    }
  }
}