Tock · JSON Structure

Guest Profile Patron Structure

tockPatron schema from Tock Guest Model

Type: object Properties: 11
HospitalityReservationsRestaurantWineriesTicketed EventsTakeoutDeliveryExperienceDiningAmerican Express

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

Properties

id email firstName lastName phone phoneCountryCode zipCode imageUrl isoCountryCode loyaltyProgramCardNumber loyaltyProgramAccountId

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-patron-structure.json",
  "name": "tockPatron",
  "description": "tockPatron schema from Tock Guest Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uint64",
      "description": "A unique identifier assigned to the patron. Used internally by Tock."
    },
    "email": {
      "type": "string",
      "description": "The email address of the patron. No two patrons can have the same email address, but an email address is not required of all patrons."
    },
    "firstName": {
      "type": "string",
      "description": "If known, the first name of the patron."
    },
    "lastName": {
      "type": "string",
      "description": "If known, the last name of the patron."
    },
    "phone": {
      "type": "string",
      "description": "If known, the phone number of the patron without the country code."
    },
    "phoneCountryCode": {
      "type": "string",
      "description": "If known, the country code for the patron using the prefix code and the ISO 3166-1 alpha-2 country code (e.g. \"+1 US\")."
    },
    "zipCode": {
      "type": "string",
      "description": "If known, the zip code given by the patron in their Tock profile."
    },
    "imageUrl": {
      "type": "string",
      "description": "If known, a URL to a public image of the patron."
    },
    "isoCountryCode": {
      "type": "string",
      "description": "If known, the ISO 3166-1 alpha-2 country code where the patron lives."
    },
    "loyaltyProgramCardNumber": {
      "type": "string",
      "description": "If known and if the business participates in an integrated loyalty program, this field contains the card number given to the patron by the business."
    },
    "loyaltyProgramAccountId": {
      "type": "string",
      "description": "If known and if the business participates in an integrated loyalty program, this field contains the account identifier given to the patron by the business."
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/guest-profile-patron-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.