# 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 Storyblok 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 Storyblok 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 |
| --- | --- |
| email | Email address of the collaborator |
| id | Numeric identifier of the collaborator |
| firstname | First name of the collaborator |
| lastname | Last name of the collaborator |
| alt\_email | Alternative email address of the collaborator |
| disabled | Indicates whether the collaborator account is disabled (true/false) |
| userid | Internal user ID associated with the collaborator |
| friendly\_name | Display-friendly name of the collaborator |
| role | Role assigned to the collaborator (e.g., admin, editor, or custom role) |
| permissions | List of permission strings associated with the collaborator’s role |
| field\_permissions | List of fields hidden from the collaborator based on role configuration |
| space\_role\_id | Numeric ID of a single custom role assigned to the collaborator |
| space\_role\_ids | List of numeric IDs for all custom roles assigned to the collaborator |

## 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 Storyblok 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 |
| --- | --- |
| id | Numeric identifier of the space role |
| allowed\_field\_permissions | List of fields visible to this role (based on the block schema); if none are specified, all fields are visible |
| field\_permissions | List of fields hidden from this role (based on the block schema); if none are specified, all fields are visible |
| readonly\_field\_permissions | List of read-only fields for this role (based on the block schema); if none are specified, users with this role can edit all fields |
| permissions | List of permission strings that define the role's allowed actions |
| subtitle | Description or additional details about the role |
| datasource\_ids | List of datasource IDs accessible to this role; if none are specified, all datasources are accessible |
| allowed\_component\_ids | List of component (block) IDs that this role is allowed to add in the Visual Editor; if none are specified, all components can be added |
| component\_ids | List of component (block) IDs that this role is restricted from adding in the Visual Editor; if none are specified, all components can be added |
| branch\_ids | List of pipeline (branch) IDs that this role is allowed to deploy; if none are specified, all pipelines are accessible |
| name | Name of the space role |
