Tock · JSON Structure

Guest Profile Phone Structure

tockPhone schema from Tock Guest Model

Type: object Properties: 3
HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

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

Properties

type phone phoneCountryCode

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/guest-profile-phone-structure.json",
  "name": "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\")."
    }
  }
}