https://ns.adobe.com/experience/offer-management/offer
This is the base concept for offers that are used for personalization and those that serve as fallback choices when none of offers for personalization qualify at within the given context. (deprecated)
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Deprecated | No | Forbidden | Permitted | adobe/experience/offer-management/offer.schema.json |
{
"@id": "xcore:personalized-offer:e526a1503bf29e9",
"xdm:name": "Personalized Offer 1",
"xdm:status": "approved",
"xdm:representations": [
{
"xdm:components": [
{
"xdm:text": "You can always get what you want!",
"@type": "https://ns.adobe.com/experience/offer-management/content-component-text",
"dc:format": "text/template"
}
],
"xdm:channel": "https://ns.adobe.com/xdm/channels/email",
"xdm:placement": "xcore:offer-placement:e51944a87919861"
}
],
"xdm:tags": [
"xcore:tag:e5196f1d9119862"
]
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Offer (deprecated) (this schema) |
xdm:customMetadata | object |
Optional | Offer (deprecated) (this schema) |
xdm:name | string |
Required | Offer (deprecated) (this schema) |
xdm:representations | Representation (deprecated) | Optional | Offer (deprecated) (this schema) |
xdm:status | enum |
Required | Offer (deprecated) (this schema) |
xdm:tags | string[] |
Optional | Offer (deprecated) (this schema) |
* |
any | Additional | this schema allows additional properties |
The unique identifier of the offer. It must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object.
@id
- is optional
- type:
string
- defined in this schema
string
- format:
uri-reference
– URI Reference (according to RFC3986)
Custom metadata is a key-value map that allows the end-users to attach properties to individual offer instances. Any string can be used as a key name, the values are also strings.
xdm:customMetadata
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|
The offer's name. A human readable string to find one or more offers.
xdm:name
- is required
- type:
string
- defined in this schema
string
Offer representations for different content variants. A single offer can have multiple contents variants. An offer representation is the object that connects offers to content. Content is information that is directed towards an audience for consumption in a (digital) experience. Content is delivered through channels (or a particular medium).
xdm:representations
-
is optional
-
type: Representation (deprecated)
-
defined in this schema
Array type: Representation (deprecated)
All items must be of the type:
- Representation (deprecated) –
https://ns.adobe.com/experience/offer-management/offer-representation
Offer Status allows user workflows to be conducted with offers. The status may affect where an offer is visible or considered relevant. Status changes are driven by the clients or services that use offers.
xdm:status
- is required
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
draft |
Draft |
pending |
Pending |
rejected |
Rejected |
approved |
Approved |
archived |
Archived |
The set of tags associated with this offer. The tags are used in offer filter expressions to constrain the overall offer inventory to a topical sub set (category).
xdm:tags
-
is optional
-
type:
string[]
-
defined in this schema
Array type: string[]
All items must be of the type:
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
An identifier of a tag object. The value is the @id of the tag that is referenced. See tag schema: https://ns.adobe.com/experience/offer-management/tag