Tock · Schema

tockPatron

tockPatron schema from Tock Reservation Model

HospitalityReservationsRestaurantWineriesTicketed EventsTakeoutDeliveryExperienceDiningAmerican Express

Properties

Name Type Description
id string A unique identifier assigned to the patron. Used internally by Tock.
email string 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 string If known, the first name of the patron.
lastName string If known, the last name of the patron.
phone string If known, the phone number of the patron without the country code.
phoneCountryCode string 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 string If known, the zip code given by the patron in their Tock profile.
imageUrl string If known, a URL to a public image of the patron.
isoCountryCode string If known, the ISO 3166-1 alpha-2 country code where the patron lives.
loyaltyProgramCardNumber string 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 string 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.
View JSON Schema on GitHub

JSON Schema

reservation-patron-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/reservation-patron-schema.json",
  "title": "tockPatron",
  "description": "tockPatron schema from Tock Reservation 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 Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/reservation-patron"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.