https://ns.adobe.com/xdm/schemas/aep-hygiene-ops
AEP Data Hygiene operations that instruct AEP to delete or modify records in a specified dataset and sandbox.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | hygiene/aep-hygiene-ops-record.schema.json |
- AEP Hygiene Operation Request
https://ns.adobe.com/xdm/schemas/aep-hygiene-ops
- AEP Hygiene
https://ns.adobe.com/xdm/classes/aep-hygiene
- AEP Hygiene
{
"xdm:batchTime": "2022-03-03T18:57:00+00:00",
"xdm:action": "deleteIdentity",
"xdm:targetDatasetId": "1234567890ABCDEFGH",
"xdm:operation": {
"xdm:deleteIdentity": {
"xdm:identities": [
{
"xdm:namespace": {
"xdm:code": "ECID"
},
"xdm:ID": "2154547663131313"
},
{
"xdm:namespace": {
"xdm:code": "Email"
},
"xdm:ID": "[email protected]"
}
]
}
},
"xdm:extSourceSystemAudit": {
"xdm:createdBy": "USER111",
"xdm:createdDate": "2022-03-03T18:57:00+00:00"
}
}
{
"xdm:action": "updateField",
"xdm:targetDatasetID": "1234567890ABCDEFGH",
"xdm:operation": {
"xdm:updateField": {
"xdm:changes": [
"{\"cid\":\"1234567\",\"address\":{\"city\":\"San Jose\",\"state\":\"CA\",\"postalCode\":\"95110\"}}",
"{\"cid\": \"1234567\",\"phone\": {\"mobile\": \"+1-123-456-7890\"}"
]
}
}
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:action | enum |
Optional | AEP Hygiene Operation Request (this schema) |
xdm:batchTime | string |
Optional | AEP Hygiene Operation Request (this schema) |
xdm:operation | object |
Optional | AEP Hygiene Operation Request (this schema) |
xdm:targetDatasetID | string |
Optional | AEP Hygiene Operation Request (this schema) |
xdm:workorderID | string |
Optional | AEP Hygiene Operation Request (this schema) |
* |
any | Additional | this schema allows additional properties |
Name of the hygiene operation to be applied by downstream consumers.
xdm:action
- 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 |
---|---|
deleteIdentity |
Delete Identity |
updateField |
Update Field |
Time the hygiene batch was created
xdm:batchTime
- is optional
- type:
string
- defined in this schema
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Contents of this payload provides identities to delete, or records to update
xdm:operation
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
xdm:deleteIdentity |
object | Optional |
xdm:updateField |
object | Optional |
Specifies rows to delete for matching identities
xdm:deleteIdentity
- is optional
- type:
object
Unknown type object
.
{
"title": "Specifies rows to delete for matching identities",
"description": "Specifies rows to delete for matching identities",
"type": "object",
"properties": {
"xdm:identities": {
"title": "Set of primary identities",
"description": "Set of primary identities",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:namespace": {
"title": "The identity namespace",
"description": "The namespace associated with the xdm:id attribute.",
"$ref": "https://ns.adobe.com/xdm/context/namespace",
"meta:titleId": "aep-hygiene-ops##xdm:namespace##title##4581",
"meta:descriptionId": "aep-hygiene-ops##xdm:namespace##description##62051"
},
"xdm:ID": {
"title": "Experience identifier",
"type": "string",
"description": "Experience identifier",
"meta:titleId": "aep-hygiene-ops##xdm:ID##title##32631",
"meta:descriptionId": "aep-hygiene-ops##xdm:ID##description##31251"
}
}
},
"meta:titleId": "aep-hygiene-ops##xdm:identities##title##19841",
"meta:descriptionId": "aep-hygiene-ops##xdm:identities##description##14911"
}
},
"meta:titleId": "aep-hygiene-ops##xdm:deleteIdentity##title##65751",
"meta:descriptionId": "aep-hygiene-ops##xdm:deleteIdentity##description##86391",
"simpletype": "`object`"
}
Details of the update operation
xdm:updateField
- is optional
- type:
object
Unknown type object
.
{
"title": "Details of the update operation",
"description": "Details of the update operation",
"type": "object",
"properties": {
"xdm:changes": {
"title": "Array of records to update",
"description": "Array of records to update",
"type": "array",
"items": {
"title": "String-encoded JSON record to update",
"description": "String-encoded JSON record to update",
"type": "string",
"meta:titleId": "aep-hygiene-ops##items##title##26921",
"meta:descriptionId": "aep-hygiene-ops##items##description##24961"
},
"meta:titleId": "aep-hygiene-ops##xdm:changes##title##99521",
"meta:descriptionId": "aep-hygiene-ops##xdm:changes##description##4771"
}
},
"meta:titleId": "aep-hygiene-ops##xdm:updateField##title##65571",
"meta:descriptionId": "aep-hygiene-ops##xdm:updateField##description##2691",
"simpletype": "`object`"
}
May be "*", but only if operationType = "deleteIdentity". Otherwise a valid value is required.
xdm:targetDatasetID
- is optional
- type:
string
- defined in this schema
string
Each row in a batch will be produced by a different customer REST API request, and will therefore have a different workorderID for tracking purposes.
xdm:workorderID
- is optional
- type:
string
- defined in this schema
string