https://ns.adobe.com/xdm/context/segmentdefinition
This is the base class for a segment definition which includes required fields like identity of a segment and name of segment. Segment definitions coming from various system can use this class to build Segment Definition XDM schema.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | classes/segmentdefinition.schema.json |
- Segment definition
https://ns.adobe.com/xdm/context/segmentdefinition
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- IdentityMap
https://ns.adobe.com/xdm/context/identitymap
- Audit trail
https://ns.adobe.com/xdm/common/auditable
- Record Schema
https://ns.adobe.com/xdm/data/record
- Segment identity
https://ns.adobe.com/xdm/context/segmentidentity
- Extensibility base schema
{
"xdm:identityMap": {
"AAMSegments": [
{
"xdm:id": "112233",
"xdm:primary": true
}
]
},
"xdm:segmentName": "Users with TV segment",
"xdm:description": "Segment is about users who have TV",
"xdm:segmentStatus": "ACTIVE",
"repo:createDate": "2018-10-23T12:00:00-06:00",
"repo:modifyDate": "2019-03-21T12:00:00-06:00"
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Record Schema |
repo:createDate | string |
Optional | Audit trail |
repo:modifyDate | string |
Optional | Audit trail |
xdm:createdByBatchID | string |
Optional | Audit trail |
xdm:description | string |
Optional | Segment definition (this schema) |
xdm:identityMap | object |
Required | IdentityMap |
xdm:modifiedByBatchID | string |
Optional | Audit trail |
xdm:repositoryCreatedBy | string |
Optional | Audit trail |
xdm:repositoryLastModifiedBy | string |
Optional | Audit trail |
xdm:segmentIdentity | Segment identity | Optional | Segment definition (this schema) |
xdm:segmentName | string |
Required | Segment definition (this schema) |
xdm:segmentStatus | enum |
Optional | Segment definition (this schema) |
xdm:version | string |
Optional | Segment definition (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)
The server date and time when the resource was created in the repository, such as when an asset file is first uploaded or a directory is created by the server as the parent of a new asset. The date time property should conform to ISO 8601 standard. An example form is "2004-10-23T12:00:00-06:00".
repo:createDate
- is optional
- type:
string
- defined in Audit trail
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
"2004-10-23T12:00:00-06:00"
The server date and time when the resource was last modified in the repository, such as when a new version of an asset is uploaded or a directory's child resource is added or removed. The date time property should conform to ISO 8601 standard. An example form is "2004-10-23T12:00:00-06:00".
repo:modifyDate
- is optional
- type:
string
- defined in Audit trail
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
"2004-10-23T12:00:00-06:00"
The dataset files in Catalog which has been originating the creation of the record.
xdm:createdByBatchID
- is optional
- type:
string
- defined in Audit trail
string
- format:
uri-reference
– URI Reference (according to RFC3986)
Description of the segment.
xdm:description
- is optional
- type:
string
- defined in this schema
string
xdm:identityMap
- is required
- type:
object
- defined in IdentityMap
object
with following properties:
Property | Type | Required |
---|
The last dataset files in Catalog which has modified the record. At creation time, modifiedByBatchID
is set as createdByBatchID
.
xdm:modifiedByBatchID
- is optional
- type:
string
- defined in Audit trail
string
- format:
uri-reference
– URI Reference (according to RFC3986)
User ID of who created the record.
xdm:repositoryCreatedBy
- is optional
- type:
string
- defined in Audit trail
string
User ID of who last modified the record. At creation time, modifiedByUser
is set as createdByUser
.
xdm:repositoryLastModifiedBy
- is optional
- type:
string
- defined in Audit trail
string
Identity of the segment.
xdm:segmentIdentity
- is optional
- type: Segment identity
- defined in this schema
- Segment identity –
https://ns.adobe.com/xdm/context/segmentidentity
Name of the segment.
xdm:segmentName
- is required
- type:
string
- defined in this schema
string
Current status of segment from external system normalized to active, inactive, deleted, draft or revoked.
xdm:segmentStatus
- is optional
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
ACTIVE |
|
INACTIVE |
|
DELETED |
|
DRAFT |
|
REVOKED |
Version of the segment.
xdm:version
- is optional
- type:
string
- defined in this schema
string