Free tool · Adobe Experience Platform
XDM schema and identity pre-flight
Paste your schema JSON before you switch on Profile. See the choices that Adobe's own pages say cannot be changed afterwards, where each one sits in the JSON, and what to change.
For data architects and implementation leads who are about to enable a schema for Real-Time Customer Profile. It runs in your browser: nothing you paste is sent to our server or stored. It is a pre-flight of documented rules, and it was not run against an Experience Platform sandbox.
Both samples are synthetic: a made-up tenant, schema and descriptors, shaped like the payloads in Adobe's documentation. They were not copied from a sandbox or run against one.
The check runs in your browser. Nothing is uploaded, and no call is made to Adobe.
Getting the JSON
Three ways to copy it yourself
From the Schemas workspace
Select Schemas, select the row of your schema, then select the Copy JSON icon in the right rail. In the Schema Editor the same action is under More, then Copy JSON structure. You get an array with your custom resources and the schema. Adobe's standard resources are left out, and your tenant ID is replaced by a placeholder.
From the Schema Registry API, resolved
Run a lookup yourself: GET https://platform.adobe.io/data/foundation/schemaregistry/tenant/schemas/{SCHEMA_ID} with the header Accept: application/vnd.adobe.xed-full+json; version=1 and your usual Authorization, x-api-key, x-gw-ims-org-id and x-sandbox-name headers. This form resolves every $ref, so the standard fields are included. Paste the response body only.
The descriptors
Identities and relationships are kept in descriptors, not in the schema. Run GET https://platform.adobe.io/data/foundation/schemaregistry/tenant/descriptors with Accept: application/vnd.adobe.xdm+json and paste the response below the schema. Adobe also documents the schema header application/vnd.adobe.xed-full-desc+json; version=1, which includes descriptors.
This page makes no API call. You run the call with your own credentials and paste the response. Never paste an access token here: only the JSON body is needed.
What it does and does not do
A pre-flight, not a sandbox test
What it reads
Schema JSON as the Schema Registry returns it, or the export payload that Copy JSON gives you in the Schemas workspace, with or without the descriptor list. Up to 2,000,000 bytes, pasted or picked as a file. It reads it in your browser. You can paste several documents one after another, and two versions of the same schema to compare them.
What you get
Findings for each schema. Each has the field path and where it sits in the JSON, a level (error, warning or note), why it matters, what to change, and the Adobe page it rests on. Findings that Adobe says cannot be changed after Profile is on are marked. You can download the list as Markdown or CSV.
What it does not do
It does not call Adobe, and it does not say the schema is right. It cannot see datasets, real data, identity graphs, data usage labels, consent or merge policies. It does not read the content of Adobe's standard field groups unless you paste the resolved form. It was not run against an Experience Platform sandbox.
A clean result. A clean result here does not mean the schema is right for Profile, or that enabling it will go well. This is a pre-flight of the points listed under Sources, read from the JSON alone. The real test is a development sandbox with real sample data.
Three levels. Error: Adobe's documentation states the rule, or publishes the Schema Registry error for it. Warning: Adobe publishes it as a guardrail or a recommendation, or the rule depends on something the JSON cannot show. Note: Nothing is wrong by Adobe's pages. It is a choice to settle before Profile is switched on.
The lasting mark. A finding marked "Cannot be undone once the schema is enabled for Profile or has been used for a dataset." rests on a rule Adobe states in those terms: the schema evolution rules, the Profile enablement rule or the primary identity rule.
Free use. The check is free for one paste of up to 2,000,000 bytes, with no account. The cap is this page's own, not an Adobe limit. It reads up to 20,000 fields and 64 levels of nesting, and says so when it stops. Questions: contact us
What is left out. Not checked: whether the fields fit your use cases, the content of Adobe's standard field groups, datasets and ingestion, data usage labels, consent, merge policies, identity graph linking rules, and anything that depends on real data.
Sources
The rules it follows, and where they are stated
Every statement below was read on the page linked beside it and checked 2 Dec 2026.
- Once a schema is enabled for Profile, it cannot be disabled or deleted, and fields cannot be removed from the schema. Adobe's advice for a schema you no longer want is to rename it with "Do Not Use" or "Inactive". Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- Experience Platform enforces a purely additive versioning principle: breaking changes are not supported. A breaking change is only possible while the schema has not been used to ingest data and has not been enabled for Profile. Once a dataset is created for the schema, the rules are strictly enforced for all its fields. Adobe, Basics of schema composition (updated 6 Nov 2026)
- Not supported: removing previously defined fields; renaming or redefining existing fields; removing or restricting previously supported field values; moving existing fields to a different location in the tree; deleting the schema; disabling the schema from participating in Profile; changing the primary identity field on a schema that is enabled for Profile and has ingested data. Adobe, Basics of schema composition (updated 6 Nov 2026)
- Supported: adding new fields; making a required field optional; introducing new required fields (with the cautions Adobe lists for a field that already holds data); changing the display name and description; enabling the schema for Profile. Adobe, Basics of schema composition (updated 6 Nov 2026)
- A field's name cannot be changed once the schema has been saved. The name should ideally be camelCase. It may contain alphanumeric or underscore characters, but it may not start with an underscore. Adobe, Define XDM fields in the UI (updated 21 Oct 2026)
- Custom field names are case-insensitive and must have different names at the same level in your schema. Adobe, XDM field type constraints (updated 24 Jun 2026)
- All custom fields must be defined under a top-level field named after your tenant ID. The Schema Registry answers with a "Namespace validation error" (XDM-1021-400 and neighbours) otherwise. Custom fields added inside a standard field group's structure must be namespaced under the tenant ID as well. Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- A schema may have many identity fields but only one primary identity. All identity fields contribute to the identity graph, but Real-Time Customer Profile uses only the primary identity as the source of truth when it merges data fragments. To enable a schema for Profile, it must have a primary identity defined. Adobe, Define identity fields in the UI (updated 21 Oct 2026)
- The Schema Registry refuses to add a schema to a union without one: "To participate in a union, a schema must include an identityMap fieldgroup or a primary identity descriptor" (XDM-1528-400). Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- Once a schema is enabled for Profile and data has been ingested, you cannot change the primary identity field. If you need a different primary identity, you must create a new schema and a new dataset. Adobe, Define identity fields in the UI (updated 21 Oct 2026)
- If you plan on using identityMap, it will override any primary identity you add to the schema directly. Adobe, Create a schema using the Schema Editor (updated 21 Oct 2026)
- identityMap is required for the Mobile SDK. Its drawback is that identity values are nested and harder to use in tools that expect top-level identity fields. A schema that uses identityMap can be a source schema in a relationship, but cannot be a reference schema. Adobe, Basics of schema composition (updated 6 Nov 2026)
- When Adobe application field groups are used, no other fields should be marked as the primary identity. The _id field in ExperienceEvent schemas cannot be used as an identity. It is best practice to set minimum and maximum lengths on fields marked as identities. Adobe, Best practices for data modeling (updated 21 Oct 2026)
- An identity descriptor names its schema (xdm:sourceSchema), the field (xdm:sourceProperty, a path that begins with "/", does not end with one and does not include "properties"), the namespace (xdm:namespace) and whether that is given as xdm:id or xdm:code (xdm:property). xdm:isPrimary is optional. Schemas may contain only one primary identity. Adobe, Descriptors endpoint (updated 21 Oct 2026)
- Once an identity namespace has been created, it cannot be deleted and its identity symbol and type cannot be changed. Adobe lists the standard namespaces and their codes. Adobe, Identity namespace overview (updated 21 Oct 2026)
- Identity Service static limits: 20 identities in an XDM record, 50 identities in a graph. Adobe, Guardrails for Identity Service data (updated 21 Oct 2026)
- A field that carries an xdm:descriptorOneToOne relationship must also have an xdm:descriptorReferenceIdentity for the schema to join a union (XDM-1526-400). The reference identity's xdm:identityNamespace must match the xdm:namespace of the reference schema's primary identity (XDM-1527-400). Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- To establish a relationship, both schemas must have defined primary identities and be enabled for Real-Time Customer Profile. The field that refers to the other schema must have a type value of string, and the source schema cannot use its primary identity as a reference field. Adobe, Define a relationship between two schemas using the Schema Registry API (updated 21 Oct 2026)
- A reference identity descriptor needs the reference schema to already have a primary identity field defined. Adobe, Descriptors endpoint (updated 21 Oct 2026)
- For xdm:descriptorRelationship the accepted cardinality values are 1:1, 1:0, M:1 and M:0. Cardinality is informational: storage does not enforce it. Adobe, Descriptors endpoint (updated 21 Oct 2026)
- Enum fields must use type string. meta:enum on its own does not declare an enumeration or drive any data validation. Adobe, Define XDM fields in the Schema Registry API (updated 21 Oct 2026)
- After data has been ingested, an existing field can only be made less restrictive. You can add enum values to an existing custom enum. You can switch a custom enum to suggested values only, and that switch cannot be undone. You cannot add enum values to a field with no existing enum, cannot remove fewer than all existing enum values, and cannot switch from suggested values to an enum. Adobe, Define enums and suggested values in the UI (updated 21 Oct 2026)
- An enum is not validated at ingestion when it is defined on an array field, or more than one level deep in the schema hierarchy. Adobe, Define enums and suggested values in the UI (updated 21 Oct 2026)
- Map types must be of type object, must not have properties defined, and must include an additionalProperties.type of string or integer. Maps defined in custom XDM objects are limited to a single level. Arrays of maps are not supported. Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- Two fields, _id and timestamp, are required for all schemas based on the XDM ExperienceEvent class. An _id value cannot contain /, \, ? or #, and its maximum size is 1,023 bytes. The timestamp must be in the past and from 1970 onwards. Adobe, XDM ExperienceEvent class (updated 21 Oct 2026)
- All Profile-enabled schemas of the same class must be able to merge into the union schema. A field path that another Profile-enabled schema already defines with a different data type is refused: "Cannot merge incompatible data types" (XDM-1413-400). Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- Profile data model guardrails. Performance guardrails (soft limits): at most 5 multi-entity relationships; a maximum JSON depth of 4 for an ID field used in a multi-entity relationship and for the primary ID field of a dimension entity; array cardinality of at most 500 in a profile fragment and at most 10 in an ExperienceEvent; at most 20 Individual Profile datasets and 20 ExperienceEvent datasets; no relationship between two schemas that are not XDM Individual Profile schemas. System-enforced: at most 50 identities in a profile's identity graph; no time-series data for entities that are not XDM Individual Profile. Adobe, Default guardrails for Real-Time Customer Profile data and segmentation (updated 21 Oct 2026)
- Deprecating a field (meta:status set to deprecated on a custom field, or an xdm:descriptorDeprecated for a standard field) hides it from downstream interfaces. Adobe calls it a non-breaking change. Adobe, Deprecate an XDM field in the API (updated 21 Oct 2026)
- Relational schemas are not compatible with union schemas. Adobe says not to apply the union tag to them, and that the API does not currently block it. Adobe, Schemas endpoint (updated 21 Oct 2026)
- Schemas are enabled for Profile by adding the value union to meta:immutableTags. Adobe, XDM System troubleshooting guide (updated 6 Nov 2026)
- A schema can be deleted only when it has not been enabled for Real-Time Customer Profile and has no associated datasets. The Schema Editor warns that once a schema has been enabled and saved, it cannot be disabled. Adobe, Create and edit schemas in the UI (updated 21 Oct 2026)
- A schema lookup returns different JSON for each Accept header. application/vnd.adobe.xed-full+json; version=1 resolves $ref and allOf and keeps titles and descriptions. application/vnd.adobe.xed+json; version=1 is the raw form with $ref and allOf. application/vnd.adobe.xed-full-desc+json; version=1 is resolved with descriptors included. Adobe, Getting started with the Schema Registry API (updated 21 Oct 2026)
- In the Schemas workspace, Copy JSON (or More, then Copy JSON structure, in the Schema Editor) copies an export payload: an array with one object for each custom resource the schema uses. Core Adobe resources are not included, and the tenant ID is replaced by <XDM_TENANTID_PLACEHOLDER>. Adobe, Export XDM schemas in the UI (updated 21 Oct 2026)
- GET /tenant/descriptors with Accept: application/vnd.adobe.xdm+json returns expanded descriptor objects, grouped in one array for each descriptor type. Descriptor Accept headers use xdm where the other endpoints use xed. Adobe, Descriptors endpoint (updated 21 Oct 2026)
Adobe's pages do not settle these points. This is how the page behaves there. None of it was tested against an Experience Platform sandbox.
- Adobe publishes no linter and no machine-readable rule set for these points. This tool was not run against an Experience Platform sandbox. Its findings follow the pages listed above and nothing else.
- Adobe documents the Accept header application/vnd.adobe.xed-full-desc+json but shows no example of where the descriptors sit in that response. This tool looks for descriptor objects (an @type and an xdm:sourceProperty) near the top of the schema object. If it finds none it says so and does not guess.
- Adobe does not say on these pages which data types a field must have to be an identity. The type of an identity field is not checked.
- Adobe does not say how the JSON depth of 4 is counted, in particular whether the tenant ID level counts. This tool counts every level of the path, the tenant level included, so a field at /_tenant/a/b/c is at depth 4.
- Adobe states the depth guardrail for the primary ID of a dimension entity and for an ID field used in a multi-entity relationship. It states no depth limit for the primary identity of an Individual Profile or ExperienceEvent schema, so none is checked there.
- Adobe says an enum more than one level deep is not validated at ingestion, without defining how the levels are counted. A custom field always sits under the tenant ID object, so this tool reports it as a note with Adobe's wording, not as a fault.
- Adobe states the field naming rule (letters, digits and underscores, no leading underscore) for the Schema Editor. It does not say whether the API enforces the same rule. A name that breaks it is a warning.
- Adobe states the tenant namespace rule for custom classes, field groups and data types. This tool checks the placement in custom field groups and classes only. A custom data type is not checked for it, because the pages read here do not settle where its fields must sit.
- Whether a type difference inside the same JSON type (for example integer against long) stops a union merge is not stated. Only a different JSON type on the same path is reported.
- Whether an identity namespace code is case sensitive is not stated. A code that differs from a standard one only by upper and lower case is a note.
- The paths in Adobe's descriptor examples do not pass through an array. How an array level is written in xdm:sourceProperty is not shown, so this tool matches paths with array markers removed.
- Whether the schema already has a dataset or holds data cannot be seen in the JSON. Rules that start "once data has been ingested" are reported as if it will.
- Guardrails on data, not on the model, cannot be checked from a schema: dataset counts, record and event sizes, real array lengths, the number of identities in a real graph, and graph collapse from shared identity values.
- A JSON object cannot hold the same key twice once it is read, so a key repeated with the same spelling in your paste is not detected. Keys that differ only by case are.
- Sandbox tooling, identity graph linking rules, data usage labels, consent field groups and merge policies are outside this check.
Questions
Common questions
What cannot be undone after a schema is enabled for Profile?
Adobe's troubleshooting guide says that once a schema is enabled for Profile, it cannot be disabled or deleted, and fields cannot be removed from it. The schema evolution rules add that an existing field cannot be renamed, moved or redefined, and previously supported values cannot be restricted. Once the schema is enabled and holds data, the primary identity field cannot be changed either. This page looks for the choices that these rules lock in.
Does my schema need a primary identity?
A schema may have zero or one primary identity. To be enabled for Real-Time Customer Profile it must have one, or include identityMap: the Schema Registry answers with error XDM-1528-400 otherwise. Identities are kept in descriptors, so paste the descriptor list with the schema if you want this checked.
Can I add a required field later?
Yes. Adobe lists introducing new required fields as a supported change, with cautions: all future records must then carry a value, historical records may hold null, and a query that writes old data into a new dataset fails on those rows. Making a required field optional is supported too. If you paste two versions of a schema, a field that became required is reported as a warning, not as an error.
Does a clean result mean it is safe to enable the schema?
No. A clean result means none of the points this page checks was found in the JSON. It cannot see your data, your datasets or your identity graph, and it was not run against an Experience Platform sandbox. Adobe publishes no linter for these rules. Enable the schema in a development sandbox with real sample data first.
Is my schema sent to your server?
No. The check runs in your browser. The JSON you paste or the file you pick is not uploaded and not stored, and it is gone when you close the tab. The page counts that the tool was used, without the JSON. A schema holds field names and no customer records, but treat it as your own design all the same.
Why is a field name with a hyphen only a warning?
Because Adobe states the naming rule for the Schema Editor: a name may contain alphanumeric or underscore characters and may not start with an underscore. Its pages do not say whether the API enforces the same rule. What Adobe does state is that a field's name cannot be changed once the schema has been saved, so the warning is worth settling before the schema is used.
Surge Migrate is not affiliated with Adobe and is not an Adobe partner.