Define required fields in the UI
- Topics:
- Schemas
CREATED FOR:
- Developer
In Experience Data Model (XDM), a required field indicates that it must be supplied a valid value in order for a particular record or time-series event to be accepted during data ingestion. Common use cases for required fields include user identity information and timestamps.
null
or empty values for any ingested field. If there is no value for particular field in a record or event, the key for that field should be excluded from the ingestion payload.When defining a new field in the Adobe Experience Platform user interface, you can set it as a required field by selecting the Required checkbox in the right rail. Select Apply to apply the change to the schema.
If the field is a root-level attribute under the tenant ID object, its path immediately appears under Required fields in the left rail.
If a required field is nested within an object that is not marked as required itself, however, then the nested field does not appear under Required fields in the left rail.
In the example below, the internalSKU
field is set as required, but its parent object SKUs
is not. In this case, no validation errors would occur if SKUs
is excluded when ingesting data, even though the child field internalSKU
is marked as required. In other words, while SKUs
is optional it must contain a internalSKU
field in the event that it is included.
If you want a nested field to always be required in a schema, you must also set all parent fields as required (with the exception of the tenant ID object).
Next steps
This guide covered how to define a required field in the UI. See the overview on defining fields in the UI to learn how to define other XDM field types in the Schema Editor.
Experience Platform
- XDM System overview
- Schemas
- Classes
- Field groups
- XDM Individual Profile
- Consents and Preferences
- Demographic Details
- Healthcare Member Details
- IAB TCF 2.0 Consent
- IdentityMap
- Loyalty Details
- Personal Contact Details
- Profile Partner Enrichment (Sample)
- Segment Membership Details
- Telecom Subscription
- Work Contact Details
- XDM Business Person Components
- XDM Business Person Details
- XDM Individual Prospect Profile
- XDM ExperienceEvent
- Adobe Analytics Full Extension
- Advertising Details
- Application Details
- Balance Transfers
- Bot Detection
- Campaign Marketing Details
- Card Actions
- Channel Details
- Commerce Details
- Deposit Details
- Device Trade-In Details
- Dining Reservation
- End User ID Details
- Environment Details
- Flight Reservation
- IAB TCF 2.0 Consent
- Lodging Reservation
- MediaAnalytics Interaction Details
- Quote Request Details
- Reservation Details
- Sitetool Details
- Support Site Search
- Upgrade Details
- Upsell Details
- Web Details
- XDM Business Campaign
- XDM Business Campaign Members
- Medication
- Plan
- Product
- Provider
- Shared
- Field group name updates
- XDM Individual Profile
- Data types
- Account Details
- Ad Break
- Address
- Advertising Details Collection
- Advertising Details Reporting
- Advertising Pod Details Collection
- Advertising Pod Details Reporting
- Application
- B2B Source
- Beacon
- Browser Details
- Cart
- Category Data
- Chapter Details Collection
- Chapter Details Reporting
- Commerce Scope
- Commerce
- Consent String
- Consents & Preferences
- Currency
- Custom Metadata Details Collection
- Custom Metadata Details Reporting
- Device
- Email Address
- Environment
- Error Details Collection
- Experience Channel
- External Source System Audit Attributes
- Financial Account
- Generic Consent Field
- Generic Marketing Preference Field with Subscriptions
- Generic Marketing Preference Field
- Generic Personalization Preference Field
- Geo Circle
- Geo Coordinates
- Geo Shape
- Geo Interaction Details
- Geo
- Identity
- Implementation Details
- Impressions
- Internal Site Search
- Key Value Pair
- List of States End Collection
- List of States Start Collection
- Marketing
- Measure
- Media Collection Details
- Media Event Information
- Media Reporting Details
- Order
- POI Details
- POI Interaction
- Payment Item
- Person Name
- Person
- Phone Number
- Place Context
- Player State Data Reporting
- Postal Address
- Product List Item
- QoE (Quality of Experience) Data Details Collection
- QoE Data Details Reporting
- Refund Item
- Requisition List
- Return Item
- Return
- Search
- Session Details Collection
- Session Details Reporting
- Shipping
- Subscription
- Telecom Subscription
- Transaction
- Web Information
- Web Interaction
- Web Page Details
- Schemas UI
- Schema Registry API
- Tutorials
- Create a schema in the UI
- Create a schema in the API
- Add specific fields to a schema (API)
- Define custom fields (API)
- Add suggested values to a field (API)
- Deprecate an XDM field in the UI
- Deprecate an XDM field in the API
- Define a schema relationship in the UI
- Define a schema relationship in the API
- Define a schema relationship in Real-Time CDP B2B Edition
- Manage data usage labels for a schema
- Create an ad hoc schema
- Troubleshooting guide
- API reference
- Experience Platform release notes