Create classes
Last update: February 14, 2025
- Topics:
- Schemas
CREATED FOR:
- Beginner
- Developer
This video shows how to create classes 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’ll show you how to create your own classes in Adobe Experience Platform, in case you need them to model your data. As you probably know, all data ingested into Adobe Experience Platform, must adhere to the Experience Data Model or XDM schemas. Each schema is based on a class which describes the type of data it contains. For example, a class could describe an individual, a retail product, a hotel room, a promotion, and so on. Adobe provides many standard classes out of the box. And before you start building a custom class, you should first browse through the list of available classes in platform, to see if there’s a standard one which is relevant to your needs. While developing the data model for Luma, our retail demo brand, we determined we needed a schema for a brick and mortar store locations. I didn’t see any relevant classes when browsing the list. So, I’ve decided to build my own. There is no create class button on the classes page. You need to add the class in the schema creation workflow. So, I’ll click create schema, next, I’ll click browse and get a list of all of the available classes, similar to what we were just looking at on the classes page. At the top there’s a create new class option, which I’ll select, then you just name the class, give it a description and select whether or not it’s representing record or time series data. You might recall this example from the overview video in which we discussed record data describing the subject of this sentence, and time series data representing the actions. In this case, the data we need to capture for our store schema are things like; the store name, address, and phone number which would be record data. I’ll select record data and continue to the next screen. Here, I’m prompted to add field groups to this schema. Field groups are tied to the class they’re based upon. We’re creating a new class, so there aren’t any existing field groups we’d expect to see, but like with all good rules, there are some exceptions. There are a few standard field groups which we make available to all classes. For now, I’ll cancel out of this workflow and look at the contents of my schema. Now fields come from both field groups and classes. There are some fields that are included in the class based on whether you choose record or time series. Let me just show you the difference side by side with a new class of each type. Classes should contain the smallest number of common fields that all scheme is based on this class would need. So that multiple compatible datasets could merge. With the Luma data model, I don’t currently have any intention to use more than one dataset with this schema, however, just in case the store ID is probably the minimal field that should be in every schema using this class. I can add a field directly to this class by adding it to the schema. Like with all custom fields, it will be namespace by my tenant ID. My other fields, I can add later through a field group. I’ll save my schema, cancel out of it, and return to the classes page where I can see my new store class listed as customer owned. If I open it up, I can see my store ID field which will be automatically added to any new schema that uses this class. So that’s how you add new classes to use in your XDM schemas. Good luck. -
Previous pageCreate schemas for B2B data
Next pageCreate field groups
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