Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct profile stitching #504

Merged
merged 5 commits into from
Sep 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 27 additions & 25 deletions schemas/context/experienceevent.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,35 +115,37 @@
"xdm:marketing": {
"xdm:trackingCode": "marketingcampaign111"
},
"xdm:profileStitching": {
"xdm:profileStitchID": {
"@id": "https://data.adobe.io/entities/profileStitchIdentity/1",
"xdm:namespace": {
"xdm:code": "AAM"
}
},
"xdm:version": "1.0",
"xdm:identities": [
{
"xdm:id": "92312748749128",
"xdm:namespace": {
"xdm:code": "ECID"
}
},
{
"xdm:id": "62312748749321",
"xdm:profileStitching": [
{
"xdm:profileStitchID": {
"@id": "https://data.adobe.io/entities/profileStitchIdentity/1",
"xdm:namespace": {
"xdm:code": "ECID"
"xdm:code": "AAM"
}
},
{
"xdm:id": "49312748749132",
"xdm:namespace": {
"xdm:code": "ECID"
"xdm:version": "1.0",
"xdm:identities": [
{
"xdm:id": "92312748749128",
"xdm:namespace": {
"xdm:code": "ECID"
}
},
{
"xdm:id": "62312748749321",
"xdm:namespace": {
"xdm:code": "ECID"
}
},
{
"xdm:id": "49312748749132",
"xdm:namespace": {
"xdm:code": "ECID"
}
}
}
]
},
]
}
],
"xdm:segmentMemberships": [
{
"xdm:segmentID": {
Expand Down
5 changes: 4 additions & 1 deletion schemas/context/experienceevent.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@
"xdm:profileStitching" : {
"title": "Profile Stitching",
"description": "Details about the ids that were joined by profile stitching.",
"$ref": "https://ns.adobe.com/xdm/context/profileStitch"
"type" : "array",
"items" : {
"$ref": "https://ns.adobe.com/xdm/context/profileStitch"
}
},
"xdm:segmentMemberships": {
"title": "Segment Memberships",
Expand Down
14 changes: 9 additions & 5 deletions schemas/context/profilestitch.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@
"type": "string",
"description": "The version of the profile stitch definition used. Useful for debugging."
},
"xdm:endUserIDs": {
"title": "End User IDs",
"$ref": "https://ns.adobe.com/xdm/context/enduserids",
"description": "Condensed, normalized encapsulation of all end user identifiers."
"xdm:identities": {
"title": "All User Identities",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/xdm/context/identity"
},
"minItems": 1,
"description": "Array of Identities. Condensed, normalized encapsulation of all end user identifiers."
}
}
}
Expand All @@ -37,4 +41,4 @@
}
],
"meta:status": "experimental"
}
}
13 changes: 3 additions & 10 deletions schemas/context/segmentmembershipitem.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,12 @@
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Segment Membership Item",
"type": "object",
"description": "List item that contains details of segment membership combined the identities to which the membership applies",
"description": "List item that contains details of segment membership combined the profile stitched identities to which the membership applies",
"definitions": {
"membershipIdentities": {
"properties": {
"xdm:identities": {
"title": "All User Identities",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/xdm/context/identity"
},
"minItems": 1,
"description":
"Array of Identities. Condensed, normalized encapsulation of all end user identifiers."
"xdm:profileStitchID": {
"$ref": "https://ns.adobe.com/xdm/context/profileStitchIdentity"
}
}
}
Expand Down