Skip to content

Latest commit

 

History

History
310 lines (167 loc) · 7.34 KB

segmentmembershipitem.schema.md

File metadata and controls

310 lines (167 loc) · 7.34 KB

Segment membership item Schema

https://ns.adobe.com/xdm/context/segmentmembershipitem

List item that contains details of segment membership combined the profile stitched identities to which the membership applies.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stable No Forbidden Permitted datatypes/segmentmembershipitem.schema.json

Schema Hierarchy

  • Segment membership item https://ns.adobe.com/xdm/context/segmentmembershipitem

Segment membership item Example

{
  "xdm:segmentID": {
    "@id": "https://data.adobe.io/entities/identity/92312748749128",
    "xdm:namespace": {
      "xdm:code": "AAM"
    }
  },
  "xdm:profileStitchID": {
    "@id": "https://data.adobe.io/entities/profileStitchIdentity/1",
    "xdm:namespace": {
      "xdm:code": "AAM"
    },
    "xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00",
    "xdm:version": "1.0",
    "xdm:validUntil": "2017-12-26T15:52:25+00:00",
    "xdm:status": "realized"
  }
}

Segment membership item Properties

Property Type Required Default Defined by
xdm:lastQualificationTime string Optional Segment membership
xdm:payload object Optional Segment membership
xdm:profileStitchID Profile stitch identity Optional Segment membership
xdm:segmentID Segment identity Optional Segment membership
xdm:status enum Optional "realized" Segment membership
xdm:validUntil string Optional Segment membership
xdm:version string Optional Segment membership
* any Additional this schema allows additional properties

xdm:lastQualificationTime

Last qualification time

The timestamp when the assertion of segment membership was made.

xdm:lastQualificationTime

xdm:lastQualificationTime Type

string

xdm:payload

Payload

Values that are directly related with the segment realization. This payload exists with the same 'validUntil' as the segment realization. Note that the intention is that exactly one payload value be included, as indicated by the payload type. This was originally modeled using 'oneOf', but due to limitations in our tooling that was removed. This more semantically meaningful representation will be re-introduced in the future.

xdm:payload

xdm:payload Type

object with following properties:

Property Type Required
xdm:payloadBooleanValue boolean Optional
xdm:payloadNumberValue number Optional
xdm:payloadPropensityValue number Optional
xdm:payloadStringValue string Optional
xdm:payloadType string Required

xdm:payloadBooleanValue

Value

The boolean value.

xdm:payloadBooleanValue

  • is optional
  • type: boolean
xdm:payloadBooleanValue Type

boolean

xdm:payloadNumberValue

Value

The number.

xdm:payloadNumberValue

  • is optional
  • type: number
xdm:payloadNumberValue Type

number

xdm:payloadPropensityValue

Value

The propensity.

xdm:payloadPropensityValue

  • is optional
  • type: number
xdm:payloadPropensityValue Type

number

  • maximum value: 1

xdm:payloadStringValue

Value

The string value.

xdm:payloadStringValue

  • is optional
  • type: string
xdm:payloadStringValue Type

string

xdm:payloadType

Payload Type

The type of payload.

xdm:payloadType

  • is required
  • type: enum

The value of this property must be equal to one of the known values below.

xdm:payloadType Known Values
Value Description
boolean Boolean
number Number
propensity Propensity
string String

xdm:profileStitchID

xdm:profileStitchID

xdm:profileStitchID Type

xdm:segmentID

Segment ID

The identity of the segment or snapshot definition in with the domain of the specific system that processes that type of segment. Deprecated.

xdm:segmentID

xdm:segmentID Type

xdm:status

Status

Is the segment participation realized as part of the current request.

xdm:status

The value of this property must be equal to one of the known values below.

xdm:status Known Values

Value Description
existing Entity continues to be in the segment.
realized Entity is entering the segment.
exited Entity is exiting the segment.

xdm:validUntil

Valid until

The timestamp for when the segment assertion should no longer be assumed to be valid and should either be ignored or revalidated.

xdm:validUntil

xdm:validUntil Type

string

xdm:version

Version

The version of the segment definition used in this segment assertion. Version can be omitted in audience lists when all memberships versions are the same.

xdm:version

xdm:version Type

string