Tock · JSON Structure

Reservation Business Structure

tockBusiness schema from Tock Reservation Model

Type: object Properties: 6
HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

tockBusiness is a JSON Structure definition published by Tock, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name domainName locale currencyCode timeZone

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/tock/refs/heads/main/json-structure/reservation-business-structure.json",
  "name": "tockBusiness",
  "description": "tockBusiness schema from Tock Reservation Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uint64",
      "description": "A unique identifier for the business. Used internally by Tock."
    },
    "name": {
      "type": "string",
      "description": "The name given to the business in the Tock Dashboard."
    },
    "domainName": {
      "type": "string",
      "description": "The unique section of exploretock.com that is devoted to showing inventory and allowing guests to book reservations. The top-level URL will be of the form https://exploretock.com/{domainName}/."
    },
    "locale": {
      "type": "string",
      "description": "The locale that the business presents in using the ISO-3166 country code and ISO-639 language code (e.g. en-us for US English, es-es for Spain Spanish)."
    },
    "currencyCode": {
      "type": "string",
      "description": "The ISO 4217 three letter currency code that the business presents on exploretock.coms (e.g. \"USD\" for US Dollar, \"GBP\" for Great Britain Pound)."
    },
    "timeZone": {
      "type": "string",
      "description": "The time zone in which the business operates in the IANA named format (e.g. \"America/Chicago\")."
    }
  }
}