Absence.io · JSON Structure

Department Structure

An organizational department.

Type: object Properties: 4
AbsencesEmployeesLeave ManagementHR

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

Properties

_id name managerId parentId

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/absence-io/refs/heads/main/json-structure/department-structure.json",
  "name": "Department",
  "description": "An organizational department.",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique identifier of the department.",
      "example": "500999"
    },
    "name": {
      "type": "string",
      "description": "Name of the department.",
      "example": "Engineering"
    },
    "managerId": {
      "type": "string",
      "description": "ID of the department manager.",
      "example": "500456"
    },
    "parentId": {
      "type": "string",
      "description": "ID of the parent department if hierarchical.",
      "example": "500000"
    }
  }
}