Otter · JSON Structure

Public Api Storefront Regular Hours Structure

Describes the configuration of regular hours.

Type: object Properties: 2 Required: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Storefront_RegularHours is a JSON Structure definition published by Otter, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

dayOfWeek timeRanges

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-storefront-regular-hours-structure.json",
  "name": "Storefront_RegularHours",
  "description": "Describes the configuration of regular hours.",
  "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"
  ]
}