User Response

A response for a single user GET request.

CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

lightspeed-user-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-user-response-schema.json",
  "title": "User Response",
  "description": "A response for a single user GET request.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-users-api-openapi.yml#/components/schemas/UserResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/User"
    }
  },
  "type": "object",
  "$defs": {
    "Role": {
      "properties": {
        "id": {
          "description": "Auto-generated object ID.",
          "type": "string"
        },
        "name": {
          "description": "The Role name.",
          "type": "string"
        },
        "system_role_id": {
          "description": "A system role id of the Role. Will be either '100', '200', or '300'.",
          "type": "string"
        }
      },
      "title": "Role",
      "type": "object"
    },
    "User": {
      "properties": {
        "account_type": {
          "description": "User's account type.",
          "enum": [
            "cashier",
            "manager",
            "admin"
          ],
          "type": "string"
        },
        "created_at": {
          "description": "Creation timestamp in UTC.",
          "type": "string"
        },
        "deleted_at": {
          "description": "Deletion timestamp in UTC.",
          "type": [
            "string",
            "null"
          ]
        },
        "display_name": {
          "description": "Full user's name to be used for display in the UI.",
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "description": "User's email address.",
          "format": "email",
          "type": [
            "string",
            "null"
          ]
        },
        "email_verified_at": {
          "description": "The timestamp of users email verification.",
          "type": [
            "string",
            "null"
          ]
        },
        "enabled": {
          "description": "Indicates whether the user is enabled.",
          "type": "boolean"
        },
        "enabled_mfa": {
          "description": "The user's enabled MFA factor, or null if MFA is not enabled.",
          "properties": {
            "created_at": {
              "description": "Timestamp when the MFA factor was created.",
              "type": "string"
            },
            "id": {
              "description": "Auto-generated MFA factor ID.",
              "type": "string"
            },
            "type": {
              "description": "The MFA factor type (e.g. \"otp\").",
              "enum": [
                "otp"
              ],
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "id": {
          "description": "Auto-generated object ID.",
          "format": "uuid",
          "type": "string"
        },
        "image_source": {
          "description": "URL of the default-sized user's avatar.",
          "type": "string"
        },
        "images": {
          "$ref": "#/$defs/UserImages"
        },
        "is_primary_user": {
          "description": "Indicated whether this user is the primary user for the account.",
          "type": "boolean"
        },
        "permissions": {
          "description": "The permissions assigned to the user.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "require_password_change": {
          "description": "Indicates whether the user is required to change their password.",
          "type": "boolean"
        },
        "restricted_outlet_id": {
          "deprecated": true,
          "description": "**deprecated** Use the `restricted_outlet_ids` instead.",
          "type": [
            "string",
            "null"
          ]
        },
        "restricted_outlet_ids": {
          "description": "A list of outlet IDs the user is associated with",
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "type": "array"
        },
        "roles": {
          "description": "The roles assigned to the user.",
          "items": {
            "$ref": "#/$defs/Role"
          },
          "type": "array"
        },
        "rules": {
          "description": "The rules assigned to the user.",
          "type": "object"
        },
        "seen_at": {
          "description": "The timestamp of the user's last activity in the system.",
          "type": "string"
        },
        "switch_id": {
          "description": "The switch id for the user.",
          "type": "string"
        },
        "target_daily": {
          "description": "Daily sales target for the user.",
          "type": [
            "number",
            "null"
          ]
        },
        "target_monthly": {
          "description": "Monthly sales target for the user.",
          "type": [
            "number",
            "null"
          ]
        },
        "target_weekly": {
          "description": "Weekly sales target for the user.",
          "type": [
            "number",
            "null"
          ]
        },
        "time_until_deletion": {
          "description": "The time until the user is deleted.",
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "description": "Last update timestamp in UTC.",
          "type": "string"
        },
        "username": {
          "description": "User's username used for login.",
          "type": "string"
        },
        "version": {
          "description": "Auto-incrementing object version number.",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "account_type",
        "created_at",
        "id",
        "is_primary_user",
        "updated_at",
        "username",
        "version"
      ],
      "title": "User",
      "type": "object"
    },
    "UserImages": {
      "description": "On object containing URLs for different sizes of the user’s avatar.",
      "properties": {
        "original": {
          "type": "string"
        },
        "sl": {
          "type": "string"
        },
        "sm": {
          "type": "string"
        },
        "ss": {
          "type": "string"
        },
        "st": {
          "type": "string"
        },
        "standard": {
          "type": "string"
        },
        "thumb": {
          "type": "string"
        }
      },
      "title": "User Image",
      "type": [
        "object",
        "null"
      ]
    }
  }
}

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/lightspeed-user-response"
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.