---
title: Schemas
slug: target-cja-hol/schemas
docTags: 
createdAt: 2023-10-26T20:21:41.456Z
---

Our goal is to create a schema to model the data we would ingest from a CRM data source. To do so, we will

1. Create a new schema using the  **Individual Profile** class
2. Add out-of-the-box field groups
3. Create a new **custom** field group
4. Mark specific fields for identity

## Create an Individual Profile Based Schema

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

::Image[]{src="https://adbecdn.azureedge.net/labs/archbee/toyotaaephandsonlabs/image43.png" size="50" isUploading="false" showCaption="false"}

2\. Click on **Create Schema** on the top-right of your screen, choose **Manual&#x20;**&#x6F;ption and click the Select button.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/HIx8QUtQkkTZMJDKAHTjJ-ICoCFFb2n_wBvqjiXWv9q-20250207-204352.png" size="62" width="634" height="367" position="center" showCaption="false"}

3\. Under Schema details choose **Individual Profile** and click the Next button in the upper right. Note that the XDM Individual Profile class introduces some basic fields to the newly created schema.

![](https://api.archbee.com/api/optimize/HIx8QUtQkkTZMJDKAHTjJ-kr3-O3Ulg8ytXJmMAqUc1-20250207-204546.png)

4\. Name your schema . *Please make sure to add your initials to follow the schema name to avoid any naming conflicts with other lab participants.* Click the Finish button in the upper right.

![](https://api.archbee.com/api/optimize/HIx8QUtQkkTZMJDKAHTjJ-IrN_FPanBICQ8YE3DkZ9Q-20250207-204803.png)

## Adding existing field groups

Extending your schema to add more custom fields requires creating ***field groups***.

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

::Image[]{src="https://adbecdn.azureedge.net/labs/archbee/toyotaaephandsonlabs/image46.png" size="50" isUploading="false" showCaption="false"}



1. Add these out-of-the-box field groups
   1. **Demographic Details** (search of *Demo* in search box)
   2. **Personal Contact Details&#x20;**(search of *Personal Contact* in search box)
   3. **Loyalty Details&#x20;**(search of *Loyalty&#x20;*&#x69;n search box)
2. Click the Add field gorup button on the upp right

::Image[]{src="https://adbecdn.azureedge.net/labs/archbee/toyotaaephandsonlabs/image47.png" size="50" isUploading="false" showCaption="false"}

## Creating a new field group

1. Click on the **Add** icon within the Field groups section under Composition.
2. Select **Create new field group&#x20;**&#x72;adio button
3. Name the field group - Customer Details \{add your initials}&#x20;
4. Click on **Add Field Groups&#x20;**&#x62;utton on upper right

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/v6H9kCKmCh3rf9Sxr-290_screen-shot-2024-01-24-at-30955-pm.png)

## Adding an object to your field group

&#x31;**.** Click on the **Add** icon next to the Schema name at the very top

&#x32;**.** Set the below within Field Properties on the right panel and include your initials at the end of each field

- `Field name = customerDetailsABC`
- `Display name = CRM Details ABC`
- `Type = Object`
- `Field Group = `*`select your custom field group that you named in the step above`*

3\. Click on **Apply** at the bottom.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/HIx8QUtQkkTZMJDKAHTjJ-LmaJUKsLGjK9UZmGnhmAb-20250207-210037.png" size="36" width="295" height="486" position="center" showCaption="false"}



## Nesting additional fields within your object

1. Click on the **Add** icon next to the newly created object. This should create an *untitled* field nested under that object.&#x20;
2. Repeat step for all below fields

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

**CRM ID**

- `Field name = crmID`
- `Display name = CRM ID`
- `Type = string`
- `Field Group = `*`select your custom field group`*

**Email**

- `Field name = email`
- `Display name = Email`
- `Type = String`
- `Field Group = `*`select your custom field group`*

**Loyalty Tier & Points**

- `Field name = loyaltyTierPoints`
- `Display name = Loyalty Tier & Points`
- `Type = String`
- `Field Group = `*`select your custom field group`*

::Image[]{src="https://api.archbee.com/api/optimize/HIx8QUtQkkTZMJDKAHTjJ-gPNkOMCDJlAX8ygOFZg0T-20250207-210734.png" size="50" width="399" height="308" position="center" showCaption="false"}

Click **Save.**

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