B2B Namespaces and schemas

The Journey Optimizer B2B Edition setup on the simplified architecture includes configuration of the Experience Platform namespaces and schemas that are used with B2B sources. The Postman automation utility is required for generating B2B namespaces and schemas.

AVAILABILITY

Review the following information about the underlying set up for the namespaces and schemas to be used with B2B sources. It also provides details for setting up your Postman automation utility, which is required for generating B2B namespaces and schemas.

Set up the auto-generation utility

Refer to the following resources for prerequisites and detailed information about how to set up your Postman environment to support the B2B namespace and schema auto-generation utility.

Environment values

With an Experience Platform developer console and Postman set up, you can apply the appropriate environment values to your Postman environment. The following table provides example values and additional information about populating your Postman environment:

Variable
Description
Example
CLIENT_SECRET
A unique identifier used to generate your {ACCESS_TOKEN}.
{CLIENT_SECRET}
API_KEY
A unique identifier used to authenticate calls to Experience Platform APIs.
c8d9a2f5c1e03789bd22e8efdd1bdc1b
ACCESS_TOKEN
The authorization token required to complete calls to Experience Platform APIs.
Bearer {ACCESS_TOKEN}
META_SCOPE
With regards to Journey Optimizer B2B and Marketo Engage, this value is fixed and is always set to: ent_dataservices_sdk.
ent_dataservices_sdk
CONTAINER_ID
The global container holds all standard Adobe and Experience Platform partner provided classes, schema field groups, data types, and schemas. With regards to Marketo, this value is fixed and is always set to global.
global
TECHNICAL_ACCOUNT_ID
A credential used to integrate to Adobe I/O.
D42AEVJZTTJC6LZADUBVPA15@techacct.adobe.com
IMS
The Identity Management System (IMS) provides the framework for authentication to Adobe services. With regards to Journey Optimizer B2B and Marketo Engage, this value is fixed and is always set to: ims-na1.adobelogin.com.
ims-na1.adobelogin.com
IMS_ORG
A corporate entity that can own or license products and services and allow access to its members.
ABCEH0D9KX6A7WA7ATQE0TE@adobeOrg
SANDBOX_NAME
The name of the virtual sandbox partition that you are using.
prod
TENANT_ID
An ID used to ensure that the resources you create are namespaced properly and are contained within your organization.
b2bcdpproductiontest
PLATFORM_URL
The URL endpoint that you are making API calls to. This value is fixed and is always set to: http://platform.adobe.io/.
http://platform.adobe.io/

Run the scripts

After the environment values are in place, use the Postman interface to run the script for creating the namespaces and schemas. Select the root folder of the auto-generator utility and then select Run from the top header.

Root folder of the Namespaces and Schemas generator in the Postman UI {width="500" modal="regular"}

The Runner interface appears. From here, ensure that all the checkboxes are selected and then select Run Namespaces and Schemas Autogeneration Utility.

Postman UI with several requests in the Namespaces and Schemas collection selected. {width="800" modal="regular"}

A successful request creates the required B2B namespaces and schemas.

B2B namespaces

Identity namespaces are a component of Experience Platform Identity Service that serve to distinguish the context of an identity. A fully qualified identity includes an identity value and a namespace. See namespaces overview for more information.

B2B namespaces are used in the primary identity of the entity.

Display Name
Identity Symbol
Identity Type
B2B Person
b2b_person
CROSS_DEVICE
B2B Account
b2b_account
B2B_ACCOUNT
B2B Opportunity
b2b_opportunity
B2B_OPPORTUNITY
B2B Opportunity Person Relation
b2b_opportunity_person_relation
B2B_OPPORTUNITY_PERSON
B2B Campaign
b2b_campaign
B2B_CAMPAIGN
B2B Campaign Member
b2b_campaign_member
B2B_CAMPAIGN_MEMBER
B2B Marketing List
b2b_marketing_list
B2B_MARKETING_LIST
B2B Marketing List Member
b2b_marketing_list_member
B2B_MARKETING_LIST_MEMBER
B2B Account Person Relation
b2b_account_person_relation
B2B_ACCOUNT_PERSON

B2B schemas

Experience Platform uses schemas to describe the structure of data in a consistent and reusable way. By defining data consistently across systems, it becomes easier to retain meaning and therefore gain value from data.

Before Experience Platform can ingest data, there must be a schema that describes the data’s structure and provides constraints to the type of data that can be contained within each field. Schemas consist of a base class and zero or more schema field groups.

For more information on the schema composition model, including design principles and best practices, see Basics of schema composition.

B2B Account
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 html-authored no-header
Base class XDM Business Account
Field groups XDM Business Account Details
Profile in Schema Enabled
Primary identity accountKey.sourceKey in the base class
Primary identity namespace B2B Account
Secondary identity extSourceSystemAudit.externalKey.sourceKey in the base class
Secondary identity namespace B2B Account
Relationship
  • accountParentKey.sourceKey in XDM Business Account Details field group
  • Destination property: /accountKey/sourceKey
  • Type: one-to-one
  • Reference schema: B2B Account
  • Namespace: B2B Account
B2B Person
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 html-authored no-header
Base class XDM Individual Profile{target="_blank"}
Field groups
  • XDM Business Person Details
  • XDM Business Person Components
  • IdentityMap
  • Consent and Preference Details
Profile in Schema Enabled
Primary identity b2b.personKey.sourceKey in the XDM Business Person Details Field Group
Primary identity namespace B2B Person
Secondary identity
  1. extSourceSystemAudit.externalKey.sourceKey of XDM Business Person Details field group
  2. workEmail.address of XDM Business Person Details field group
Secondary identity namespace
  1. B2B Person
  2. Email
Relationship
  • personComponents.sourceAccountKey.sourceKey of XDM Business Person Components field group
  • Type: Many-to-one
  • Reference Schema: B2B Account
  • Namespace: B2B Account
  • Destination property: accountKey.sourceKey
  • Relationship name from current schema: Account
  • Relationship name from reference schema: People
recommendation-more-help
6ef00091-a233-4243-8773-0da8461f7ef0