Tock · Schema

tockVisitFeedback

tockVisitFeedback schema from Tock Reservation Model

HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

Properties

Name Type Description
id string A unique identifier for this feedback. Used internally by Tock.
rating object The rating supplied by the guest indicating their opinion about the experience.
message string A custom message included with the feedback from the guest.
isLocked boolean Feedback can be altered until a message is given along with the rating. This indicates whether the feedback has been locked with a message and is unable to be altered again.
createdAtEpochSec string The timestamp for when the feedback was submitted by the guest, in seconds from the Unix Epoch.
ratingType object The rating scale of feedback request
ratingScore integer The rating supplied by the guest indicating their opinion about the experience.
View JSON Schema on GitHub

JSON Schema

reservation-visit-feedback-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-visit-feedback-schema.json",
  "title": "tockVisitFeedback",
  "description": "tockVisitFeedback schema from Tock Reservation Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uint64",
      "description": "A unique identifier for this feedback. Used internally by Tock."
    },
    "rating": {
      "$ref": "reservation-rating-schema.json",
      "description": "The rating supplied by the guest indicating their opinion about the experience."
    },
    "message": {
      "type": "string",
      "description": "A custom message included with the feedback from the guest."
    },
    "isLocked": {
      "type": "boolean",
      "description": "Feedback can be altered until a message is given along with the rating. This indicates whether the feedback has been locked with a message and is unable to be altered again."
    },
    "createdAtEpochSec": {
      "type": "string",
      "format": "int64",
      "description": "The timestamp for when the feedback was submitted by the guest, in seconds from the Unix Epoch."
    },
    "ratingType": {
      "$ref": "reservation-rating-type-schema.json",
      "description": "The rating scale of feedback request"
    },
    "ratingScore": {
      "type": "integer",
      "format": "int64",
      "description": "The rating supplied by the guest indicating their opinion about the experience."
    }
  }
}