{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tock/refs/heads/main/json-schema/reservation-business-schema.json",
  "title": "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\")."
    }
  }
}