https://ns.adobe.com/xdm/context/segmentdefinition-expression
Segment expression data such as expression type, mime type, and expression value.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | fieldgroups/segment-definition/segmentdefinition-expression.schema.json |
- Segment Expression Details
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 Details (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