Otter · Schema

Storefront_RegularHours

Describes the configuration of regular hours.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
dayOfWeek string Day of the week.
timeRanges array Hours range applied to the provided day of the week
View JSON Schema on GitHub

JSON Schema

public-api-storefront-regular-hours-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Storefront_RegularHours",
  "description": "Describes the configuration of regular hours.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-storefront-regular-hours-schema.json",
  "type": "object",
  "properties": {
    "dayOfWeek": {
      "type": "string",
      "description": "Day of the week.",
      "enum": [
        "MONDAY",
        "TUESDAY",
        "WEDNESDAY",
        "THURSDAY",
        "FRIDAY",
        "SATURDAY",
        "SUNDAY"
      ],
      "example": "MONDAY"
    },
    "timeRanges": {
      "type": "array",
      "minItems": 1,
      "description": "Hours range applied to the provided day of the week",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-storefront-time-range-schema.json"
      }
    }
  },
  "required": [
    "dayOfWeek",
    "timeRanges"
  ]
}