Tock · JSON Structure

Reservation Gift Card Structure

tockGiftCard schema from Tock Reservation Model

Type: object Properties: 3
HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

tockGiftCard 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

giftCardProvider externalIdentifier externalPin

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/reservation-gift-card-structure.json",
  "name": "tockGiftCard",
  "description": "tockGiftCard schema from Tock Reservation Model",
  "type": "object",
  "properties": {
    "giftCardProvider": {
      "$ref": "reservation-gift-card-provider-type-schema.json",
      "description": "The provider of the gift card service for the business."
    },
    "externalIdentifier": {
      "type": "string",
      "description": "The identifier of the card used for reconciliation with the gift card provider."
    },
    "externalPin": {
      "type": "string",
      "description": "If provided, the security pin used to authenticate the owner of the gift card."
    }
  }
}