Skip to content

Latest commit

 

History

History
337 lines (174 loc) · 9.96 KB

offer-activity.schema.md

File metadata and controls

337 lines (174 loc) · 9.96 KB

Activity Schema

https://ns.adobe.com/experience/offer-management/offer-activity

An offer activity is used to control the decisioning process. It specifies the filter applied to the total inventory to narrow down offers by topic/category, the placement to narrow down the inventory to those offers that technically fit into the reserved space for the offer and specifies a fall back option should the combined constraints disqualify all available personalization offers. (deprecated)

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stable No Forbidden Permitted adobe/experience/offer-management/offer-activity.schema.json

Schema Hierarchy

Activity Properties

Property Type Required Defined by
@id string Optional Record Schema
https://ns.adobe.com/experience/decisioning/criteria Decision Criterion Details Optional Decision Activity Criteria
https://ns.adobe.com/experience/decisioning/endTime string Optional Decision Activity
https://ns.adobe.com/experience/decisioning/fallback string Optional Decision Activity
https://ns.adobe.com/experience/decisioning/name string Optional Decision Activity
https://ns.adobe.com/experience/decisioning/startTime string Optional Decision Activity
repo:etag string Optional Decision Activity
xdm:endDate string Optional Activity (this schema)
xdm:fallback string Optional Activity (this schema)
xdm:filter string Optional Activity (this schema)
xdm:name string Optional Activity (this schema)
xdm:placement string Optional Activity (this schema)
xdm:startDate string Optional Activity (this schema)
xdm:status enum Optional Activity (this schema)
* any Additional this schema allows additional properties

@id

Identifier

A unique identifier for the record.

@id

@id Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

Criteria

Defines a set of decision criteria where each contains a set of constraints.

https://ns.adobe.com/experience/decisioning/criteria

Array type: Decision Criterion Details

All items must be of the type:

Activity End Date and Time

Activity end date and end time. Property has the semantic of schema.org's 'endTime' property defined on http://schema.org/Action

https://ns.adobe.com/experience/decisioning/endTime

string

Fallback Option

The reference to a fallback option that is used when decisioning in the context of this activity does not qualify any of the regular options (this typically happens when hard constraints are applied). The value is the URI (@id) of the fallback option that is referenced.

https://ns.adobe.com/experience/decisioning/fallback

string

  • format: uri-reference – URI Reference (according to RFC3986)

Activity Name

Activity name. The name is displayed in various user interfaces.

https://ns.adobe.com/experience/decisioning/name

string

Activity Start Date and Time

Activity start date and end time. Property has the semantic of schema.org's 'startTime' property defined on http://schema.org/Action

https://ns.adobe.com/experience/decisioning/startTime

string

repo:etag

Activity ETag

The revision that the decision activity object was at when the snapshot was taken.

repo:etag

repo:etag Type

string

xdm:endDate

End Date

Activity End Date

xdm:endDate

  • is optional
  • type: string
  • defined in this schema

xdm:endDate Type

string

xdm:fallback

Fallback Offer

The reference to a fallback offer that is used when decisioning in the context of this activity does not qualify any of the offers specified in the fallback offer. The value is the URI (@id) of the fallback offer that is referenced. See schema https://ns.adobe.com/experience/offer-management/fallback-offer

xdm:fallback

  • is optional
  • type: string
  • defined in this schema

xdm:fallback Type

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

xdm:filter

Offer Filter

The reference to a filter that is applied to the inventory when a decisioning is made the context of this activity. The value is the URI (@id) of the offer filter that is referenced. See schema https://ns.adobe.com/experience/offer-management/offer-filter

xdm:filter

  • is optional
  • type: string
  • defined in this schema

xdm:filter Type

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

xdm:name

Name

Activity name. The name is displayed in various user interfaces.

xdm:name

  • is optional
  • type: string
  • defined in this schema

xdm:name Type

string

xdm:placement

Offer Placement

The reference to an offer placement instance. Offer placements are used by offer activities to limit the offer selection to those offers that have a representation that complies with the offer placement restrictions. The value is the URI (@id) of the offer placement that is referenced. See schema https://ns.adobe.com/experience/offer-management/offer-placement

xdm:placement

  • is optional
  • type: string
  • defined in this schema

xdm:placement Type

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

xdm:startDate

Start Date

Activity Start Date

xdm:startDate

  • is optional
  • type: string
  • defined in this schema

xdm:startDate Type

string

xdm:status

Status

Activity Status

xdm:status

  • is optional
  • type: enum
  • defined in this schema

The value of this property must be equal to one of the known values below.

xdm:status Known Values

Value Description
draft Draft
live Live
complete Complete
archived Archived