Lattice · Schema

User

A Lattice user (employee) record.

HRPeople ManagementPerformance ManagementOKRsGoalsEmployee EngagementHRISCompensationFeedbackSurveys

Properties

Name Type Description
id string
object string
url string
name stringnull
preferredName stringnull
email string
title stringnull
status string
isAdmin boolean
externalUserId stringnull
manager objectnull ObjectReference to manager
department objectnull ObjectReference to department
directReports object ListReference to direct reports
tasks object ListReference to tasks
customAttributes object ListReference to custom attributes
timezone stringnull
startDate stringnull
birthDate stringnull
gender stringnull
jobFunction stringnull
jobLevel stringnull
jobType stringnull
createdAt integer Unix timestamp
updatedAt integer Unix timestamp
View JSON Schema on GitHub

JSON Schema

lattice-user.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.latticehq.com/schemas/user",
  "title": "User",
  "description": "A Lattice user (employee) record.",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "object": { "type": "string", "const": "user" },
    "url": { "type": "string", "format": "uri" },
    "name": { "type": ["string", "null"] },
    "preferredName": { "type": ["string", "null"] },
    "email": { "type": "string", "format": "email" },
    "title": { "type": ["string", "null"] },
    "status": {
      "type": "string",
      "enum": ["ACTIVE", "INVITED", "CREATED", "DEACTIVATED"]
    },
    "isAdmin": { "type": "boolean" },
    "externalUserId": { "type": ["string", "null"] },
    "manager": {
      "type": ["object", "null"],
      "description": "ObjectReference to manager"
    },
    "department": {
      "type": ["object", "null"],
      "description": "ObjectReference to department"
    },
    "directReports": {
      "type": "object",
      "description": "ListReference to direct reports"
    },
    "tasks": {
      "type": "object",
      "description": "ListReference to tasks"
    },
    "customAttributes": {
      "type": "object",
      "description": "ListReference to custom attributes"
    },
    "timezone": { "type": ["string", "null"] },
    "startDate": { "type": ["string", "null"], "format": "date" },
    "birthDate": { "type": ["string", "null"], "format": "date" },
    "gender": { "type": ["string", "null"] },
    "jobFunction": { "type": ["string", "null"] },
    "jobLevel": { "type": ["string", "null"] },
    "jobType": { "type": ["string", "null"] },
    "createdAt": { "type": "integer", "description": "Unix timestamp" },
    "updatedAt": { "type": "integer", "description": "Unix timestamp" }
  },
  "required": ["id", "object", "url", "email", "status", "isAdmin", "directReports", "tasks", "customAttributes"]
}