---
title: Schemas
slug: data-distiller-august-2024/schemas
docTags: 
createdAt: 2023-11-15T14:46:41.704Z
---

**Schemas**

Schemas define the structure of the data to be ingested. This lab will walk through the steps to create an Individual Profile based schema.

Our goal is to create a schema that is required to onboard the following CRM attributes:

1. **Person Information**
2. **Identities Information**&#x20;
3. **Member Information**

### Create an Individual Profile Based Schema

1. Navigate to **Schemas** under Data Management in Adobe Experience Platform UI

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/0.png)

1. Click on **Create Schema** on the top-right of your screen. Note that the XDM Individual Profile class introduces some basic fields to the newly created schema

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/1.png)

1. Name your schema **Customer Details+\{\{Participant Initials}}** . *Please make sure to add your initials to follow the schema name to avoid any naming conflicts with other lab participants.*

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at9.42.54AM.png)

### Adding existing field groups

- Click on the **Add** icon within the Field groups section under Composition

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at9.45.48AM.png)

1. Add the following existing field groups
   1. Person Field Group
   2. Identities Profile FG

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at9.48.18AM.png)

### Creating a new field group

1. Click on the **Add** icon within the Field groups section under Composition.
2. Select **Create new field group**
3. Name the field group -

**Customer Details+\{\{participant initials}}**

1. Click on **Add Field Groups**

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at9.50.12AM.png)

### Adding an object to your field group

1. Click on the **Add** icon next to the tenant. Name your object. Customer Credit Details
2. Set the below within Field Properties on the right panel

Field name = memberInfo

Display name = Member Information

Type = Object

Field Group = Customer Details+\{\{participant initials}}

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at9.58.40AM.png)

1. Click on **Apply** at the bottom.
2. Click **Save**.

### Nesting additional fields within your object

Click on the **Add** icon next to the newly created object customerCreditDetails. This should create an Untitled Field nested under that object.

**Note**: be sure to click **Apply** at the bottom of the **Field Properties** panel after adding **each** field.

**Reward Card**

Field name = hasRewardCard

Display name = Has Reward Card

Type = Boolean

Field Group = Customer Details+\{\{participant initials}}

**Most Traveled City**

Field name = mostTraveledCity

Display name = Most Traveled To City

Type = String

Field Group = Customer Details+\{\{participant initials}}

**Most Traveled State**

Field name = mostTraveledState

Display name = Most Traveled To State

Type = String

Field Group = Customer Details+\{\{participant initials}}

![](https://adbecdn.azureedge.net/labs/archbee/DataDistillerBase/Screenshot2023-08-18at10.04.40AM.png)

Click **Save.**

**Congratulations!** You have completed the Schemas exercise.
