Explore schema resources in the UI

In Adobe Experience Platform, all Experience Data Model (XDM) schema resources are stored in the Schema Library, including standard resources provided by Adobe and custom resources defined by your organization. In the Experience Platform UI, you can view the structure and fields of any existing schema, class, field group, or data type in the Schema Library. This is especially useful when planning and preparing for data ingestion, as the UI provides information on the expected data types and use cases of each field provided by these XDM resources.

This tutorial covers the steps for exploring existing schemas, classes, field groups, and data types in the Experience Platform UI.

Look up a schema resource lookup

In the Platform UI, select Schemas in the left navigation. The Schemas workspace provides a Browse tab to explore all schemas in your organization, along with additional dedicated tabs for exploring Classes, Field groups, Data types, and Relationships respectively.

The Schemas workspace with several tabs highlighted.

The filter icon ( Filter Icon Image ) reveals controls in the left rail to narrow down listed results. Resource filters are available for schemas and relationships on the Browse and Relationships tabs respectively.

On the Browse tab of the Schemas workspace, you can filter your schema inventory. Use the Included in Profile toggle to only show schemas that have been enabled for use in Real-Time Customer Profile. Use the Show adhoc schemas toggle to filter the list of schemas created with fields namespaced for use only by a single dataset.

The Schemas workspace Browse tab with the filters panel highlighted.

On the Relationship tab of the Schemas workspace, you can filter the list of relationships based on four criteria. The filters include Source schema, Destination schema, Source class, and the Destination class. The table below provides a description of the filters.

Filter
Description
Source schema
To see all relationships where the selected schema is the starting point or “source”, select a schema from the Source schema dropdown menu.
Destination schema
To view all relationships where the selected schema is the target or “destination”, select a schema from the Destination schema dropdown menu.
Source class
To filter relationships based on the class of the initiating schema, select a class from the Source class dropdown menu.
Destination class
To display relationships that end with schemas of a specific class, select a class from the Destination class dropdown menu.

The Relationships tab with the filters section highlighted.

You can also use the search bar to narrow down results further.

The Browse tab of the Schemas workspace with the search field highlighted.

The resources displayed in search results are ordered first by title matches, then by description matches. In turn, the more word matches in either of these categories, the higher the resource appears in the list.

When you have found the resource you want to explore, select its name from the list to view its structure in the canvas.

Explore an XDM resource in the canvas explore

Once you select a resource, its structure opens in the canvas.

The Datatype workspace canvas displaying the Commerce datatype.

All object-type fields containing sub-properties are collapsed by default when they first appear in the canvas. To show the sub-properties of any field, select the icon next to its name.

The Datatype workspace canvas with expanded fields and sub-properties highlighted.

Standard class and field group indicator standard-class-and-field-group-indicator

Within the Schema Editor, standard (Adobe-generated) classes and field groups are indicated with the padlock icon ( A padlock icon. . The padlock appears in the left rail next to the class or field group name, as well as next to any field in the schema diagram that is a part of a system-generated resource.

The Schema Editor with the padlock icon highlighted

See the Add custom fields to standard field groups documentation for guidance. You cannot edit a standard class.

System-generated fields system-fields

Some field names are prepended with an underscore, such as _repo and _id. These represent placeholders for fields that the system will automatically generate and assign as data is ingested.

As such, most of these fields should be excluded from the structure of your data when ingesting into Platform. The main exception to this rule is the _{TENANT_ID} field, which all XDM fields created under your organization must be namespaced under.

Data types data-types

For each field shown in the canvas, its corresponding data type is shown next to its name, indicating at a glance the type of data that field expects for ingestion.

The Postal Address datatype displayed on the canvas with its associated data types highlighted.

Any data type that is appended with square brackets ([]) represents an array of that particular data type. For example, a data type of String[] indicates that the field expects an array of string values. A data type of Payment Item[] indicates an array of objects that conform to the Payment Item data type.

If an array field is based on an object type, you can select its icon in the canvas to show the expected attributes for each array item.

An object in the canvas with an array field highlighted and the expected attributes for each array item displayed.

Field properties field-properties

When you select the name of any field in the canvas, the right rail updates to show details about that field under Field properties. This can include a description of the field’s intended use case, default values, patterns, formats, whether or not the field is required, and more.

A field selected from the Commerce data type with the field properties highlighted.

If the field you are inspecting is an enum field, the right rail will also display the acceptable values the field expects to receive.

The Schema Editor with a field selected and enum values and display names highlighted in the field properties rail.

Identity fields identity

When inspecting schemas that contain identity fields, these fields are listed in the left rail under the class or field group that provides them to the schema. Select the identity field name in the left rail to reveal the field in the canvas, regardless of how deeply it is nested.

Identity fields are highlighted in the canvas with a fingerprint icon ( Fingerprint Icon Image ). If you select the identity field’s name, you can view additional information such as the identity namespace and whether or not the field is the primary identity for the schema.

The Schema Editor with the schema's identity highlighted in the left rail, the field highlighted in the schema diagram, and the identity namespace highlighted in the field properties.

NOTE
See the guide on defining identity fields for more information on identity fields and their relationship with downstream Platform services.

Relationship fields relationship

If you are inspecting a schema that contains a relationship field, the field will be listed in the left rail under Relationships. Select the relationship field name in the left rail to reveal the field in the canvas, regardless of how deeply it is nested. Relationship fields are also uniquely highlighted in the canvas, showing the name of the reference schema that the field links to. For organizations with B2B capabilities, custom relationship names can be written and will be displayed on the canvas in these cases.

The Schema Editor with the relationship field and Edit relationship highlighted.

To view the identity namespace of the reference schema’s primary identity, select the relationship field, then Edit relationship in the Field properties sidebar. The parameters for the relationship are displayed in the Edit relationship dialog that appears.

The Edit relationship dialog with the relationship parameters displayed.

See the tutorial on creating a relationship in the UI for more information on the use of relationships in XDM schemas.

Next steps

This document covered how to explore existing XDM resources in the Experience Platform UI. For more information on the different features of the Schemas workspace and Schema Editor, see the Schemas workspace overview.

recommendation-more-help
62e9ffd9-1c74-4cef-8f47-0d00af32fc07