Adobe Experience Platform · updated
XDM schemas and field groups: how a schema is put together
An XDM schema is the agreed shape of your data in Adobe Experience Platform. Every schema is one class plus zero or more field groups. The class says whether the data is a record, such as a person, or a time series, such as an event. Field groups add reusable sets of fields, such as web details or commerce details. Once a schema has data, you can add to it but not remove or rename fields.
In plain words
Before Adobe's platform accepts data, it needs to know what the data looks like: which fields exist and what type each one is. That description is the schema. Adobe supplies ready-made building blocks so that a page view or a purchase is described the same way by everyone. Getting the schema right early matters, because later changes can only add.
The formula Adobe gives
Class + schema field group = XDM schema. A schema has one class and zero or more field groups, so a schema with no field group is allowed.
| Building block | What it does |
|---|---|
| Class | Sets the behaviour of the data, record or time series, and the smallest set of common fields. It also decides which field groups can be used. |
| Field group | A reusable component that defines one or more fields for a purpose, such as personal details or an address. Each field group says which classes it works with. |
| Data type | A reusable structure used as the type of a field, such as Web page details or Order. |
Record and time series
- Record data gives the attributes of a subject, which could be an organisation or an individual.
- Time-series data is a snapshot of the system at the time an action was taken.
- Adobe names two standard classes that nearly all downstream Experience Platform processes need: XDM Individual Profile and XDM ExperienceEvent.
- The XDM ExperienceEvent class requires two fields on every schema based on it: _id and timestamp. The timestamp is ISO 8601, must be in the past and must be from 1970 onwards.
Field groups a website usually needs
| Field group | Adds | Example paths |
|---|---|---|
| Web Details | The web object: page details, link interactions and the referrer | web.webPageDetails.name, web.webPageDetails.URL, web.webInteraction.type, web.webReferrer.URL |
| Commerce Details | The commerce object and the productListItems array | commerce.purchases.value, commerce.order.purchaseID, productListItems[].SKU |
Adobe strongly recommends standard field groups wherever they fit, because Experience Platform services understand those fields without extra set-up. For ideas that are specific to your organisation you define your own field group.
Identities
Fields can be marked as identities; on ingestion their values go into the identity graph for that individual. Adobe lists email address, phone number, ECID and CRM ID as common identity fields. The alternative is the identityMap field, a map of namespaces to identity values. Adobe notes its main drawback: the values are nested and can be harder to use in tools that expect top-level identity fields.
What you can and cannot change later
| Supported changes | Breaking changes (not supported) |
|---|---|
| Adding new fields | Removing previously defined fields |
| Making a required field optional | Renaming or redefining existing fields |
| Changing the display name and description | Removing or restricting previously supported field values |
| Enabling the schema for Profile | Moving existing fields to a different place in the tree |
| Deleting the schema, or disabling it from Profile |
Adobe says a breaking change is possible only while the schema has not been used to ingest data and has not been enabled for Real-Time Customer Profile. Also, Experience Platform does not accept null or empty values: if there is no value, leave the key out of the payload.
A page view in XDM, using fields from the Web Details field group (the shape the Web SDK snippet builder writes)
{
"eventType": "web.webpagedetails.pageViews",
"web": {
"webPageDetails": {
"name": "Home",
"pageViews": { "value": 1 }
}
}
}How to plan a schema
- Name the real-world thing the schema describes: a person, or something that happens.
- Pick the class to match: XDM Individual Profile for a record, XDM ExperienceEvent for events.
- Add Adobe's standard field groups that cover your data, such as Web Details and Commerce Details.
- Create your own field group only for what the standard ones do not cover.
- Decide which fields are identities, and which one is primary if the schema will feed Real-Time Customer Profile.
- Review it before the first data arrives; after that, changes can only add.
Related tools and pages on this site
- Web SDK snippet builder (free, runs in your browser)
- Adobe Analytics to Customer Journey Analytics readiness check
Questions
Should identities be fields or an identityMap?
Both work. Adobe says identityMap suits a variable number of identities and is required with the Experience Platform Mobile SDK, but its nested values can be harder to use in tools that expect top-level identity fields.
Can a schema have no field groups?
Yes. Adobe says a schema is a class and zero or more field groups.
Can I delete a field I added by mistake?
Only if the schema has not yet been used to ingest data and is not enabled for Profile. After that, Adobe enforces additive changes only.
Do we need an XDM schema to move from Adobe Analytics?
Adobe's upgrade steps for Customer Journey Analytics include planning the schema architecture and creating a custom schema. Our readiness check maps each Analytics variable to an XDM path as a starting point.
Sources
- Adobe: Basics of schema composition (XDM) (checked 13 Nov 2026)
- Adobe: XDM ExperienceEvent class (required fields and accepted eventType values) (checked 13 Nov 2026)
- Adobe: Web Details schema field group (checked 13 Nov 2026)
- Adobe: Commerce Details schema field group (checked 13 Nov 2026)
- Adobe: Web page details data type (XDM) (checked 13 Nov 2026)
- Adobe: Web interaction data type (XDM) (checked 13 Nov 2026)
- Adobe: Upgrade from Adobe Analytics to Customer Journey Analytics (recommended steps) (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.