Lightspeed · Schema

staff-apiStaff

staff-apiStaff schema from Lightspeed Restaurant K Series API

Point-of-SaleRetailRestaurantE-Commerce

Properties

Name Type Description
staffId integer The unique identifier for the user.
username string The staff username. Only used for POS staff.
userTypes array
firstName string The first name of the user.
lastName string The last name of the user.
email string The email associated with the user. Only used for Back Office staff.
active boolean Indicates if the user is active.
pinCodeSet boolean Indicates if the user has a PIN code set. Relevant for POS users only.
createdOn string The timestamp of the creation of the user.
modifiedOn string The timestamp of the last update to the user.
businessId integer The unique identifier for the business.
businessLocationId integer The unique identifier for the business location.
groups array
reportAccess array
roles array The roles assigned to the user.
View JSON Schema on GitHub

JSON Schema

restaurant-k-series-staff-api-staff-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "staff-apiStaff",
  "description": "staff-apiStaff schema from Lightspeed Restaurant K Series API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed-pos/refs/heads/main/json-schema/restaurant-k-series-staff-api-staff-schema.json",
  "type": "object",
  "properties": {
    "staffId": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier for the user.",
      "example": 1234
    },
    "username": {
      "description": "The staff username. Only used for POS staff.",
      "type": "string",
      "x-nonempty": true,
      "maxLength": 128,
      "example": "John Doe"
    },
    "userTypes": {
      "type": "array",
      "items": {
        "description": "The user type.",
        "type": "string",
        "enum": [
          "POS",
          "BACK_OFFICE",
          "API"
        ]
      }
    },
    "firstName": {
      "type": "string",
      "maxLength": 128,
      "description": "The first name of the user.",
      "default": "",
      "example": "John"
    },
    "lastName": {
      "type": "string",
      "maxLength": 128,
      "description": "The last name of the user.",
      "default": "",
      "example": "Doe"
    },
    "email": {
      "description": "The email associated with the user. Only used for Back Office staff.",
      "type": "string",
      "format": "email",
      "maxLength": 128
    },
    "active": {
      "type": "boolean",
      "default": true,
      "description": "Indicates if the user is active."
    },
    "pinCodeSet": {
      "type": "boolean",
      "description": "Indicates if the user has a PIN code set. Relevant for POS users only."
    },
    "createdOn": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the creation of the user."
    },
    "modifiedOn": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the last update to the user."
    },
    "businessId": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier for the business.",
      "example": 12345
    },
    "businessLocationId": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier for the business location.",
      "example": 1234567890
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "The unique identifier for the user group.",
            "example": 1234
          },
          "name": {
            "type": "string",
            "description": "The name of the user group.",
            "example": "Bar Staff"
          }
        }
      }
    },
    "reportAccess": {
      "type": "array",
      "items": {
        "type": "string",
        "default": "STAFF_REPORT_OWN_ACCESS",
        "description": "User report permissions."
      }
    },
    "roles": {
      "type": "array",
      "description": "The roles assigned to the user.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "The unique identifier for the role.",
            "example": 1234
          },
          "name": {
            "type": "string",
            "description": "The name of the role.",
            "example": "ROLE_CAN_LOGIN"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/restaurant-k-series-staff-api-staff"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.