https://ns.adobe.com/xdm/context/segmentdefinition-expression
This mixin helps capture the qualifying expression for a segment.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | context/segmentdefinition-expression.schema.json |
- Segment expression
https://ns.adobe.com/xdm/context/segmentdefinition-expression
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Extensibility base schema
{
"xdm:segmentExpression": {
"xdm:expressionType": "PQL",
"xdm:mimeType": "pql/text",
"xdm:value": "personalEmail.address.endsWith(\"testxdmmail.com\", false)"
}
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:segmentExpression | object |
Optional | Segment expression (this schema) |
* |
any | Additional | this schema allows additional properties |
xdm:segmentExpression
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
xdm:expressionType |
string | Optional |
xdm:mimeType |
string | Optional |
xdm:value |
string | Optional |
Type of expression, for example, PQL, Query Service, or Adobe Audience Manager.
xdm:expressionType
- is optional
- type:
string
string
Value | Description |
---|---|
0 |
PQL |
1 |
AAM |
2 |
QUERYSERVICE |
Mime type of the expression. For example, pql/text or application/sql.
xdm:mimeType
- is optional
- type:
string
string
All instances must conform to this regular expression (test examples here):
\w+/[-.\w]+(?:\+[-.\w]+)?
Actual expression string. The syntax of expression will depend upon specified mime type.
xdm:value
- is optional
- type:
string
string