Create data types
- Topics:
- Schemas
CREATED FOR:
- Beginner
- Developer
This video shows how to create your own data types in Adobe Experience Platform for use in Experience Data Model (XDM) schemas. For more information, please visit the schemas documentation.

Transcript
In this video, I’m going to show you how to create your own data types for use in Adobe Experience Platform Schemas. As you probably know, all data ingested into platform must adhere to the Experience Data Model or XDM schemas. And this slide illustrates the component parts of these schemas. A data type is a collection of fields. But wait, a Field Group is also a collection of fields and can include data types. Help! First of all, I want to point out that creating data types is not something anyone that has to do to build their data model and platform but you might find them convenient and want to use them. Let’s open up the platform interface and look at the out of the box data types. You’ll see, there are pages of data types that Adobe provides out of the box. Let’s take a look at a straightforward one like postal address. It contains a lot of fields we’d expect, like street, state, country and postal code plus many others which maybe you weren’t expecting, but realize, “hey this is pretty well thought through.” As you know, field groups are only compatible with specific classes. Data types, however, are abstracted and can be used with any base class. And this would be the use case for creating a new data type. Create a data type when you’ve required custom fields which you’ll need to use in schemas of multiple classes. Using a data type will allow you to lock down the properties of those fields into a single entity which will help ensure data integrity. Now let’s create a new data type. Our sample brand Luma, has various system identifiers that they use in their data model. For example, their CRM system ID and their Loyalty system ID. These IDs get used in multiple schemas spanning XDM Individual Profile class-based schemas and XDM Experience Event based schemas. Because these are such critical values, they want to lock down the field definitions so they’re populated consistently across the various datasets. They’ll do this with a data type. In addition to using their API, there are two ways to create data types in the interface. One way is to go to schemas data types and click, create data type. Give it a display name and a description and then start adding the fields along with any restrictions.
After saving the data type, it will appear on your list of available data types and you can come back to it and edit it later. Although once the data type is being used to ingest data you won’t be able to make breaking edits like removing fields or adding the new restrictions. Then your new data type will appear in the Schema Editor in the type dropdown when you go to add new fields to classes or field groups. Now I’ll show you the second way to create a data type. Imagine you’re creating a custom field group in an XDM Individual Profile based schema and you’ve spent time creating a bunch of fields and then you realize, "hey these fields are awesome "and I want to use them and the experience Events schema too. "Why didn’t I build them into a data type first? “Now I have to rebuild everything.” Okay, don’t panic. What you can do is select the fields. Hopefully they’re nicely contained in an object and click this magical convert to data type button and now you have those same fields in a data type. And of course, like everything in platform you can create and manage data types with the API as well. So good luck creating your own data types. -
Experience Platform
- Platform Tutorials
- Introduction to Platform
- A customer experience powered by Experience Platform
- Behind the scenes: A customer experience powered by Experience Platform
- Experience Platform overview
- Key capabilities
- Platform-based applications
- Integrations with Experience Cloud applications
- Key use cases
- Basic architecture
- User interface
- Roles and project phases
- Introduction to Real-Time CDP
- Getting started: Data Architects and Data Engineers
- Authenticate to Experience Platform APIs
- Import sample data to Experience Platform
- Administration
- AI Assistant
- Audiences and Segmentation
- Introduction to Audience Portal and Composition
- Upload audiences
- Overview of Federated Audience Composition
- Connect and configure Federated Audience Composition
- Create a Federated Audience Composition
- Audience rule builder overview
- Create audiences
- Use time constraints
- Create content-based audiences
- Create conversion audiences
- Create audiences from existing audiences
- Create sequential audiences
- Create dynamic audiences
- Create multi-entity audiences
- Create and activate account audiences (B2B)
- Demo of streaming segmentation
- Evaluate batch audiences on demand
- Evaluate an audience rule
- Create a dataset to export data
- Segment Match connection setup
- Segment Match data governance
- Segment Match configuration flow
- Segment Match pre-share insights
- Segment Match receiving data
- Audit logs
- Data Collection
- Collaboration
- Dashboards
- Data Governance
- Data Hygiene
- Data Ingestion
- Overview
- Batch ingestion overview
- Create and populate a dataset
- Delete datasets and batches
- Map a CSV file to XDM
- Sources overview
- Ingest data from Adobe Analytics
- Ingest data from Audience Manager
- Ingest data from cloud storage
- Ingest data from CRM
- Ingest data from databases
- Streaming ingestion overview
- Stream data with HTTP API
- Stream data using Source Connectors
- Web SDK tutorials
- Mobile SDK tutorials
- Data Lifecycle
- Destinations
- Destinations overview
- Connect to destinations
- Create destinations and activate data
- Activate profiles and audiences to a destination
- Export datasets using a cloud storage destination
- Integrate with Google Customer Match
- Configure the Azure Blob destination
- Configure the Marketo destination
- Configure file-based cloud storage or email marketing destinations
- Configure a social destination
- Activate through LiveRamp destinations
- Adobe Target and Custom Personalization
- Activate data to non-Adobe applications webinar
- Identities
- Intelligent Services
- Monitoring
- Partner data support
- Profiles
- Understanding Real-Time Customer Profile
- Profile overview diagram
- Bring data into Profile
- Customize profile view details
- View account profiles
- Create merge policies
- Union schemas overview
- Create a computed attribute
- Pseudonymous profile expirations (TTL)
- Delete profiles
- Update a specific attribute using upsert
- Privacy and Security
- Introduction to Privacy Service
- Identity data in Privacy requests
- Privacy JavaScript library
- Privacy labels in Adobe Analytics
- Getting started with the Privacy Service API
- Privacy Service UI
- Privacy Service API
- Subscribe to Privacy Events
- Set up customer-managed keys
- 10 considerations for Responsible Customer Data Management
- Elevating the Marketer’s Role as a Data Steward
- Queries
- Overview
- Query Service UI
- Query Service API
- Explore Data
- Prepare Data
- Adobe Defined Functions
- Data usage patterns
- Run queries
- Generate datasets from query results
- Tableau
- Analyze and visualize data
- Build dashboards using BI tools
- Recharge your customer data
- Connect clients to Query Service
- Validate data in the datalake
- Schemas
- Overview
- Building blocks
- Plan your data model
- Convert your data model to XDM
- Create schemas
- Create schemas for B2B data
- Create classes
- Create field groups
- Create data types
- Configure relationships between schemas
- Use enumerated fields and suggested values
- Copy schemas between sandboxes
- Update schemas
- Create an ad hoc schema
- Sources
- Use Case Playbooks
- Experience Cloud Integrations
- Industry Trends