Lucca · Schema

department

A department represents a subdivision of the employee workforce, most often erected around the type of activity they do. Departments are a tree-like structure, as any department may be child to another. Note: contrary to most resources, departments are not attached to business-establishments. This means: - business-establishments listed in access rights management do not affect departments. - employees may work in different business-establishments (or even legal-entities) and yet still belong to the same department.

CompanyHuman ResourcesSoftware-as-a-ServicePayrollTalent Management

Properties

Name Type Description
remoteId nullstring Identifier of this object in a third-party software.
isArchived boolean If this department is archived. Only possible if there are no more employees attached.
name string
description nullstring
parent object
manager object
sortOrder integer Index (0-based) of the department among its siblings.
owningApplication nullstring **Can only be set by an authenticated Lucca application.** When not null, indicates that this department is read-only, given that it is managed by another application (designated by its ID) that is ch
View JSON Schema on GitHub

JSON Schema

lucca-department-update-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lucca/main/json-schema/lucca-department-update-schema.json",
  "title": "department",
  "description": "A department represents a subdivision of the employee workforce, most often erected around \nthe type of activity they do.\n\nDepartments are a tree-like structure, as any department may be child to another.\n\nNote: contrary to most resources, departments are not attached to business-establishments.\nThis means:\n  - business-establishments listed in access rights management do not affect departments.\n  - employees may work in different business-establishments (or even legal-entities) and yet\n    still belong to the same department.",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lucca-api-2024-11-01.json#/components/schemas/department.update",
  "x-tags": [
    "organization"
  ],
  "type": "object",
  "properties": {
    "remoteId": {
      "description": "Identifier of this object in a third-party software.",
      "type": [
        "null",
        "string"
      ],
      "maxLength": 255
    },
    "isArchived": {
      "description": "If this department is archived. Only possible if there are no more employees attached.",
      "type": "boolean"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "description": {
      "type": [
        "null",
        "string"
      ]
    },
    "parent": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "title": "department-reference",
          "description": "Reference to a [department](../organization/department) resource.",
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "id"
          ]
        }
      ]
    },
    "manager": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "title": "employee-reference",
          "description": "Reference to an employee resource.",
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "id"
          ]
        }
      ]
    },
    "sortOrder": {
      "description": "Index (0-based) of the department among its siblings.",
      "type": "integer",
      "format": "int32",
      "minimum": 0
    },
    "owningApplication": {
      "description": "**Can only be set by an authenticated Lucca application.** \nWhen not null, indicates that this department is read-only, given that it is managed by another application (designated by its ID) that is charged with its synchronization.\n**Any write request attempt made from anyone other than the application will be rejected with a 403 Forbidden error.**",
      "type": [
        "null",
        "string"
      ],
      "minLength": 1
    }
  },
  "required": [
    "name"
  ]
}

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/lucca-department-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.