Lightspeed · JSON Structure

Restaurant K Series Staff Api Staff Group Structure

staff-apiStaffGroup schema from Lightspeed Restaurant K Series API

Type: object Properties: 4
POSRetailRestaurantEcommerce

staff-apiStaffGroup is a JSON Structure definition published by Lightspeed, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name roles reportAccess

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-staff-api-staff-group-structure.json",
  "name": "staff-apiStaffGroup",
  "description": "staff-apiStaffGroup schema from Lightspeed Restaurant K Series API",
  "type": "object",
  "properties": {
    "id": {
      "type": "int64",
      "description": "The unique identifier for the user group.",
      "example": 1234
    },
    "name": {
      "type": "string",
      "description": "The name of the user group.",
      "example": "Bar Staff"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "int64",
            "description": "The unique identifier for the role.",
            "example": 1234
          },
          "name": {
            "type": "string",
            "description": "The name of the role.",
            "example": "ROLE_CAN_LOGIN"
          }
        }
      }
    },
    "reportAccess": {
      "type": "string",
      "default": "STAFF_REPORT_OWN_ACCESS",
      "description": "User report permissions."
    }
  }
}