# 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 Oracle NetSuite 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 |
| --- | --- |
| InternalID (Numeric) | Account |
| GroupInternalID | Group |

### Default Account Attributes

The Oracle NetSuite 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 |
| --- | --- |
| EmpID | Employee ID. Display Attribute |
| InternalID | Auto-generated Internal ID of the employee |
| EmployeeStatus | The status of the employee |
| Email | Email ID of the employee |
| Initial | The initials of the employee's first name and last name |
| Fax | Employee's fax number |
| OfficePhoneNumber | Office phone number of the employee |
| HomePhoneNumber | Home phone number of the employee |
| MobilePhoneNumber | Mobile number of the employee |
| Department | Department of the employee |
| DepartmentID | The ID of the department. If the DepartmentID needs to be aggregated and provisioned it must be added manually. |
| Class | Class of the employee |
| BillingClass | Billing class of the employee |
| Groups | Groups associated to the employee (Entitlements) |
| GlobalSubscriptionStatus | Subscription status of the employee |
| Supervisor | Supervisor of the employee |
| DateOfHiring | Date that the employee was hired |
| Type | The employee's work type |
| JobTitle | The employee's job title |
| jobDescription | Description of the employee's job title |
| TimeApprover | Approver of time for the employee |
| FirstName | The employee's first name |
| LastName | The employee's last name |
| Subsidiary | Subsidiary associated with the employee |
| GiveAccess | The employee's access to NetSuite. |
| DefaultExpenseReportCurrency | Default currency for expense reports |
| Currency | The Currency for an the employee automatically defaults to the base currency of the associated subsidiary or company. |
| ExternalId | External Id of the employee |
| Location | Location of the employee |

## 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 Oracle NetSuite 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 |
| --- | --- |
| GroupName | Name of the group. Display Attribute |
| GroupInternalID | Auto generated Internal ID of the group. This is an Account ID which must not be changed. |
