diff --git a/schemas/context/experienceevent.example.1.json b/schemas/context/experienceevent.example.1.json index 8efd8cc31..3b47b4999 100644 --- a/schemas/context/experienceevent.example.1.json +++ b/schemas/context/experienceevent.example.1.json @@ -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": { diff --git a/schemas/context/experienceevent.schema.json b/schemas/context/experienceevent.schema.json index ba993507e..b624ccfb7 100644 --- a/schemas/context/experienceevent.schema.json +++ b/schemas/context/experienceevent.schema.json @@ -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", diff --git a/schemas/context/profilestitch.schema.json b/schemas/context/profilestitch.schema.json index 7c60c2fb1..732440702 100644 --- a/schemas/context/profilestitch.schema.json +++ b/schemas/context/profilestitch.schema.json @@ -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." } } } @@ -37,4 +41,4 @@ } ], "meta:status": "experimental" -} \ No newline at end of file +} diff --git a/schemas/context/segmentmembershipitem.schema.json b/schemas/context/segmentmembershipitem.schema.json index deef2a47b..ac2e592b2 100644 --- a/schemas/context/segmentmembershipitem.schema.json +++ b/schemas/context/segmentmembershipitem.schema.json @@ -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" } } }