- Understand the structure of XDM Schema
- Learn to browse in view schema in UI
- Learn to list, lookup, create, and extend schema in API
- Experience Platform UI: https://platform.adobe.com/
- Profile XDM in JSON format: ProfileXDM.json
- List all the schemas
- Lookup the Profile schema
- Define a custom Profle schema for use with XDM
- Lookup the custom schema
Building a customer loyalty program requires a foundation. Here, we will define a "basis profile", which will be a standard Profile XDM schema that will serve as the basis for each customer's profile, and thus the Universal Profile that would be used across Experience Platform. The basis profile can be hydrated by ingesting existing profile data (for example, from an existing customer database) or through point-to-point connections from Adobe products such as Launch - we can see the frame for this profile in the Experience Platform UI in this step.
-
We start with the Experience Platform landing page, which appears after navigating to https://platform.adobe.com/ and logging in with your Adobe ID credentials.
-
From the this page, let's take a look at the many standard and custom XDM schema available to use by clicking the "Data Model" tab. Scroll through the list of available standard XDM data schema.
-
Open "Profile" data schema and explore the visual structure of a standard XDM schema. Feel free to look at a few others as well.
-
We can easily extend the core Profile XDM schema to fit our needs. For example, we can add a "loyaltyID" field to Profile by clicking the "+" button in the desired level. Try this out, and set the data type, but hit "CANCEL" when done so that we don't change this schema for now.
-
We can also build schema from scratch - particularly if you have specific product data for your retail website, or reservation data for your hotel reservation system. From the "Data Models" tab, we can create a schema simply by clicking "Create Schema". Play with it here, but don't save your schema. The API steps after this will be your time to create.
-
Now that you've successfuly been authenticated by following the steps in Chapter 2 you are now ready to make API calls.
-
Start by expanding the
Chapter 3
&List Schemas
folder in postman underAdobe Experience Platform
. -
Select the
XDM: Get All Schemas
action and clickSend
.In the response pane you can scroll down and see all the schemas that are available in XDM.
-
There sure are a lot of schemas available in XDM but let's drill down a bit and view the
profile
schema. If you selectXDM: Get Profile Schema
and clickSend
you should see something similar to: -
Now that we've seen the API calls to query schema let's move on to creating a custom schema of our own. Expand the
Create Schema
folder underChapter 3
in postman and selectXDM: Create New Schema
and clickSend
.In the response section you will the path to your newly created schema which we will be using to create a dataset in
Chapter 4
. -
Now select
XDM: Get Custom Profile Schema
and clickSend
.The response section should return the details of the schema which look an awful lot like
Profile
schema. We've included a sample ProfileXDM.json file in the repository if you'd like to compare them side by side.
With the creation of our custom schema we are ready to move on to the next step of creating datasets and data ingestion.
Previous: Chapter 2 - Login and Accessing with Postman Next: Chapter 4 - Ingest the Data