xdm
xdm copied to clipboard
Extend Segment Membership to Include Snapshot Information
What are the schemas that are affected by the issue
Segment Membership
What are examples of products that are impacted by the issue
Segment Membership object should include the list of (possibly named) snapshots the profile is a member of. In addition to segments (latest snapshot) the profile is a member of.
Contact: [email protected]
@prabhum2 can you help me implement a PR for this?
Can you give me example of how you change the definition of the current field
Not sure which field I should be modifying, but the use case I would like to enable is as follows:
A segment named "People in CA" is evaluated on a regular basis. Meaning the audience in that segment updates regularly. I would like to create a snapshot of that segment on May 1, 2019 and name it "People in CA. Spring 2019 Campaign". This snapshot should be saved alongside the original segment along with its name. I will then be creating more snapshots for each season. The basic requirement would be something similar to:
{
segments: [
name,
id,
snapshots: [
id: String,
name: String,
created: DateTime,
]
]
}