Configure relationships between schemas
- Topics:
- Schemas
CREATED FOR:
- Intermediate
- Developer
This video shows how to configure a relationship between two schemas in Adobe Experience Platform. Relationships allow you to use one dataset as a lookup table for another. For detailed product documentation, see Define a relationship between two schemas using the Schema Editor and Define a relationship between two schemas using the Schema Registry API
Transcript
In this video, I’ll show you how to configure a relationship between two schemas in Adobe Experience Platform. A schema relationship allows you to use one dataset as a lookup table for another. If you use Adobe Analytics, it’s like a SAINT classification. For example, in the data model for our sample brand Luma, we have schemas capturing in-store purchases and web purchases. We also have a schema for Luma’s product catalog. We can capture just the product SKU in the schemas capturing purchases and use that to look up more complete product details from the product catalog. This makes it easy for marketers to do something like create a segment for all customers who bought a hat without having to explicitly list out all hat SKUs or capture every single product detail and transactional systems. In order to define a relationship, there needs to be a dedicated field in the source schema. In this case, it would be the product SKU field in both the in-store purchases and web events schemas. And this field needs to reference another field in the destination schema, which is going to be the product SKU field in the product catalog schema. Also, the source and destination schemas must be enabled for Real-Time Customer profile, and the destination schema must have that common field defined as its primary identity. So here I have my product catalog schema enabled for a profile with the product SKU as the primary identity. Now, in my store purchase schema, I select the Product SKU field there, and in the field properties, I check the Relationship check box. I enter the product catalog schema as the reference schema and select the Identity namespace for the product. In this case, it’s a custom non-people identifier I’ve defined called lumaProductSKU. I hit Apply, and now I can see the relationship in the schema editor. I can do the same in my web events schema, and I’ve defined this schema relationship for Luma. In Luma’s data model, I would want to do the same for the store ID and promotion ID.
There are important guardrails for using schema relationships, and I encourage you to read about them in the documentation.
So that’s how to create a relationship between two schemas in the interface. You can, of course, do the same thing with the API. Good luck using schema relationships in your data model. -
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 and Data Distiller
- 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