Tock · Schema

tockPhone

tockPhone schema from Tock Guest Model

HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

Properties

Name Type Description
type object The use of this phone as specified by the guest.
phone string The text of the phone number without the phone country code.
phoneCountryCode string If known, the country code for the phone number that includes both the numerical and ISO country codes (e.g. "+1 US").
View JSON Schema on GitHub

JSON Schema

guest-profile-phone-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tock/refs/heads/main/json-schema/guest-profile-phone-schema.json",
  "title": "tockPhone",
  "description": "tockPhone schema from Tock Guest Model",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "guest-profile-phone-type-schema.json",
      "description": "The use of this phone as specified by the guest."
    },
    "phone": {
      "type": "string",
      "description": "The text of the phone number without the phone country code."
    },
    "phoneCountryCode": {
      "type": "string",
      "description": "If known, the country code for the phone number that includes both the numerical and ISO country codes (e.g. \"+1 US\")."
    }
  }
}