{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmployeeUpdate",
  "title": "EmployeeUpdate",
  "type": "object",
  "properties": {
    "first_name": {
      "type": "string",
      "description": "First name."
    },
    "last_name": {
      "type": "string",
      "description": "Last name."
    },
    "official_email": {
      "type": "string",
      "format": "email",
      "description": "Official work email."
    },
    "designation": {
      "type": "string",
      "description": "Job designation."
    },
    "phone_number": {
      "type": "string",
      "description": "Phone number."
    },
    "branch_id": {
      "type": "integer",
      "description": "Branch ID."
    },
    "department_id": {
      "type": "integer",
      "description": "Department ID."
    },
    "sub_department_id": {
      "type": "integer",
      "description": "Sub-department ID."
    },
    "reporting_to_id": {
      "type": "integer",
      "description": "Reporting manager ID."
    },
    "level_id": {
      "type": "integer",
      "description": "Level ID."
    },
    "custom_fields": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom field values."
    }
  }
}