Otter · JSON Structure

Public Api Hours Structure

Hours are represented as a list of HourIntervals.

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

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

Properties

intervals

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-hours-structure.json",
  "name": "Hours",
  "description": "Hours are represented as a list of HourIntervals.",
  "type": "object",
  "properties": {
    "intervals": {
      "type": "array",
      "minItems": 1,
      "description": "List of HourIntervals.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-hour-interval-schema.json"
      }
    }
  },
  "required": [
    "intervals"
  ]
}