Lightspeed · JSON Structure

Restaurant K Series Reservation Service Platform Reservation Accepted Dto Structure

reservation-servicePlatformReservationAcceptedDto schema from Lightspeed Restaurant K Series API

Type: object Properties: 4 Required: 4
POSRetailRestaurantEcommerce

reservation-servicePlatformReservationAcceptedDto is a JSON Structure definition published by Lightspeed, describing 4 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

platformCode platformRestaurantId platformReservationId accepted

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/lightspeed-pos/refs/heads/main/json-structure/restaurant-k-series-reservation-service-platform-reservation-accepted-dto-structure.json",
  "name": "reservation-servicePlatformReservationAcceptedDto",
  "description": "reservation-servicePlatformReservationAcceptedDto schema from Lightspeed Restaurant K Series API",
  "type": "object",
  "properties": {
    "platformCode": {
      "description": "The unique code assigned to the reservation platform.",
      "example": "MyPlatform",
      "maxLength": 11,
      "pattern": "[a-zA-Z0-9_-]+",
      "type": "string"
    },
    "platformRestaurantId": {
      "description": "The external platform's unique identifier for the restaurant.",
      "example": "Restaurant-123",
      "pattern": "[a-zA-Z0-9_-]+",
      "type": "string"
    },
    "platformReservationId": {
      "description": "The external platform's unique identifier for the reservation.",
      "example": "Reservation-123",
      "maxLength": 36,
      "pattern": "[a-zA-Z0-9_-]+",
      "type": "string"
    },
    "accepted": {
      "description": "Whether the reservation request was accepted.",
      "example": true,
      "type": "boolean"
    }
  },
  "required": [
    "accepted",
    "platformCode",
    "platformReservationId",
    "platformRestaurantId"
  ]
}