Segment Membership Details schema field group
Segment Membership Details is a standard schema field group for the XDM Individual Profile class. The field group provides a single map field which captures information regarding segment membership, including which segments the individual belongs to, the last qualification time, and when the membership is valid until.
segmentMembership
field must be manually added to your profile schema using this field group, you should not attempt to manually populate or update this field. The system automatically updates the segmentMembership
map for each profile as segmentation jobs are performed.segmentMembership
The following is an example segmentMembership
map that the system has populated for a particular profile. Segment memberships are sorted by namespace, as indicated by the root-level keys of the object. In turn, the individual keys under each namespace represent the IDs of the segments the profile is a member of. Each segment object contains several sub-fields that provide further details about the membership:
{
"xdm:segmentMembership": {
"AAM": {
"04a81716-43d6-4e7a-a49c-f1d8b3129ba9": {
"xdm:version": "15",
"xdm:lastQualificationTime": "2018-04-26T15:52:25+00:00",
"xdm:validUntil": "2019-04-26T15:52:25+00:00",
"xdm:status": "realized",
"xdm:payload": {
"xdm:payloadBooleanValue": true,
"xdm:payloadType": "boolean"
}
},
"53cba6b2-a23b-454a-8069-fc41308f1c0f": {
"xdm:version": "3",
"xdm:lastQualificationTime": "2018-04-26T15:52:25+00:00",
"xdm:validUntil": "2018-04-27T15:52:25+00:00",
"xdm:status": "realized",
"xdm:payload": {
"xdm:payloadPropensityValue": 0.5,
"xdm:payloadType": "propensity"
}
}
},
"Email": {
"abcd@adobe.com": {
"xdm:version": "1",
"xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00",
"xdm:validUntil": "2017-12-26T15:52:25+00:00",
"xdm:status": "exited"
}
}
}
}
xdm:version
xdm:lastQualificationTime
xdm:validUntil
lastQualificationTime
.xdm:status
A string field that indicates whether the segment membership has been realized as part of the current request. The following values are accepted:
realized
: The profile qualifies for the segment.exited
: The profile is exiting the segment as part of the current request.
xdm:payload
xdm:payloadType
indicates the type of payload (boolean
, number
, propensity
, or string
), while its sibling property provides the value for the payload type.exited
status for more than 30 days, based on the lastQualificationTime
, will be subject to deletion.For more details on the field group, refer to the public XDM repository: