# Schema Reference

The application schema is used to configure the objects returned from a connector.

> [!NOTE]
>
> - The **Account Schema** tab is used to define the attributes for each object type in the application being configured. The schema attributes can be defined as **Entitlement** or **Multi-Valued**. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.
> - The schema attributes that are not present by [default](<#default-account-schema>) must be defined as strings if not specified.

The LINE WORKS connector uses the following default correlation and object configurations.

## Default Account Schema

Each source supports a variety of details, or attributes, about each user who has an account, such as their name, email address, manager name, and location.

The set of account attributes each source stores and how they're organized is known as the account's *schema*. To best represent your data, you can configure sources to use an account schema matching the one you use in the external connector. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.

### Default Account ID

SailPoint requires that certain attributes remain in your configuration. These attributes are referred to as *account IDs*.

> [!CAUTION]
>
> Changing the attribute marked as the account ID after aggregating accounts can result in duplicate accounts being created. To avoid this, either reset the accounts on this source before editing the account ID attribute or edit the account ID attribute before aggregating accounts.
>
> To resolve issues caused by changing account IDs, reconfigure them to their default values.

The following table lists the default account IDs for this connector:

| Account ID | Schema Object Type |
| --- | --- |
| id | Account |

### Default Account Attributes

The LINE WORKS connector supports the following default account schema attributes and customer configurable attributes. The attributes must be defined as strings if not specified.

| Attribute Name | Description |
| --- | --- |
| telephone | Telephone number of the user |
| firstName | First name of the user |
| userId | Unique identifier for the user in LINE WORKS |
| domainId | Domain identifier the user belongs to |
| employeeNumber | Employee number or identifier |
| location | Physical location or office location of the user |
| orgUnitId | Organizational unit identifier(s) the user is assigned to |
| isAdministrator | Indicates whether the user is a domain administrator |
| isPending | Indicates whether the user account is pending activation |
| isSuspended | Indicates whether the user account is suspended |
| isDeleted | Indicates whether the user account is deleted |
| suspendedReason | Reason for account suspension |
| email | Required login and account identifier in localpart@domain format |
| nickName | Nickname of the user |
| privateEmail | Personal email address of the user |
| aliasEmails | List of secondary email addresses associated with the user |
| birthday | User’s birthday in YYYY-MM-DD format |
| hiredDate | Date of employment in YYYY-MM-DD format |
| lastName | Last name of the user |

## Default Entitlement Attributes

Entitlement attributes define the entitlements, such as groups or roles, that can be assigned to the managed system's user accounts. Refer to [Managing Entitlements](<https://documentation.sailpoint.com/saas/help/access/entitlements.html>) for more information.

> [!CAUTION]
>
> Changing the attribute marked as the Entitlement ID after aggregating accounts or entitlements can result in duplicate entitlements being created, or access profiles and roles breaking. To avoid this, edit the entitlement schema before performing any aggregations.

### Default Group Attributes

The LINE WORKS connector also supports groups. The following attributes must be configured on the managed system and in the SailPoint source schema to manage groups.

| Attribute Name | Description |
| --- | --- |
| orgUnitId | Unique identifier for the organizational unit in LINE WORKS |
| parentOrgUnitId | Unique identifier of the parent organizational unit in the hierarchy |
| domainId | Domain identifier associated with the organizational unit |
| orgUnitName | Display name of the organizational unit |
| email | Email address associated with the organizational unit |
| description | Text description of the organizational unit |
| visible | Boolean flag indicating whether the unit is visible/active in the directory |
| useMessage | Boolean flag indicating whether messaging (chat) functionality is enabled for this unit |
| useNote | Boolean flag indicating whether note (wiki/notes) functionality is enabled for this unit |
| useCalendar | Boolean flag indicating whether calendar scheduling is enabled for this unit |
