Tock · JSON Structure

Reservation Visit Feedback Structure

tockVisitFeedback schema from Tock Reservation Model

Type: object Properties: 7
HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

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

Properties

id rating message isLocked createdAtEpochSec ratingType ratingScore

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-visit-feedback-structure.json",
  "name": "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": "int64",
      "description": "The rating supplied by the guest indicating their opinion about the experience."
    }
  }
}