Absence.io · Schema

User

An employee user record.

AbsencesEmployeesLeave ManagementHR

Properties

Name Type Description
_id string Unique identifier of the user.
name string Full name of the user.
email string Email address of the user.
departmentId string ID of the department the user belongs to.
locationId string ID of the location the user is assigned to.
teamId string ID of the team the user belongs to.
status integer User status: 1=active, 0=inactive.
language string User's preferred language code.
View JSON Schema on GitHub

JSON Schema

user-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/absence-io/refs/heads/main/json-schema/user-schema.json",
  "title": "User",
  "description": "An employee user record.",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique identifier of the user.",
      "example": "500456"
    },
    "name": {
      "type": "string",
      "description": "Full name of the user.",
      "example": "Jane Smith"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the user.",
      "example": "[email protected]"
    },
    "departmentId": {
      "type": "string",
      "description": "ID of the department the user belongs to.",
      "example": "500999"
    },
    "locationId": {
      "type": "string",
      "description": "ID of the location the user is assigned to.",
      "example": "500888"
    },
    "teamId": {
      "type": "string",
      "description": "ID of the team the user belongs to.",
      "example": "500111"
    },
    "status": {
      "type": "integer",
      "description": "User status: 1=active, 0=inactive.",
      "example": 1
    },
    "language": {
      "type": "string",
      "description": "User's preferred language code.",
      "example": "en"
    }
  }
}