https://ns.adobe.com/xdm/context/dim-segment
This is the dimension schema for a segment definition which includes required fields like segment ID and name of segment.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | insights-metrics/dim-segment.schema.json |
- Segment Dimension
https://ns.adobe.com/xdm/context/dim-segment
- Record Schema
https://ns.adobe.com/xdm/data/record
- Record Schema
{
"xdm:segment": {
"xdm:ID": "0f4ac2cd-a007-4e18-af2b-20c3dd64a8a2",
"xdm:name": "Users with TV segment",
"xdm:status": "ACTIVE"
}
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Record Schema |
xdm:segment | object |
Optional | Segment Dimension (this schema) |
* |
any | Additional | this schema allows additional properties |
A unique identifier for the record.
@id
- is optional
- type:
string
- defined in Record Schema
string
- format:
uri-reference
– URI Reference (according to RFC3986)
Segment Dimension and its properties.
xdm:segment
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
xdm:ID |
string | Optional |
xdm:description |
string | Optional |
xdm:name |
string | Optional |
xdm:namespace |
string | Optional |
xdm:source |
string | Optional |
xdm:status |
string | Optional |
xdm:version |
string | Optional |
Unique identifier of the segment.
xdm:ID
- is optional
- type:
string
string
Description of the segment.
xdm:description
- is optional
- type:
string
string
Name of the segment.
xdm:name
- is optional
- type:
string
string
Segment namespace.
xdm:namespace
- is optional
- type:
string
string
Segment source indicating whether the segment was sent from an internal or external source.
xdm:source
- is optional
- type:
string
string
Current status of segment from external system normalized to active, inactive, deleted, draft or revoked.
xdm:status
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
ACTIVE |
Active |
INACTIVE |
Inactive |
DELETED |
Deleted |
DRAFT |
Draft |
REVOKED |
Revoked |
Version of the segment.
xdm:version
- is optional
- type:
string
string