Skip to content

Latest commit

 

History

History
455 lines (241 loc) · 15.1 KB

File metadata and controls

455 lines (241 loc) · 15.1 KB

Personalized Content Decision Option Schema

https://ns.adobe.com/experience/decisioning/personalized-content-option

Personalized decision options form the set of choices for any decision actvity. The objective for decisioning is to take a large inventory of items and apply numerous constraint rules to that inventory to narrow it down and then to rank the qualifying options according to a criteria. The resulting propositions assemble and personalize the experience for specific individuals.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stable No Forbidden Permitted adobe/experience/decisioning/personalized-content-option.schema.json

Schema Hierarchy

Personalized Content Decision Option Example

{
  "@id": "xcore:personalized-offer:e526a1503bf29e9",
  "https://ns.adobe.com/experience/decisioning/name": "Personalized Offer 1",
  "https://ns.adobe.com/experience/decisioning/status": "approved",
  "https://ns.adobe.com/experience/decisioning/contents": [
    {
      "https://ns.adobe.com/experience/decisioning/components": [
        {
          "https://ns.adobe.com/experience/decisioning/content": "You can always get what you want!",
          "@type": "https://ns.adobe.com/experience/offer-management/content-component-text",
          "dc:format": "text/template"
        }
      ],
      "https://ns.adobe.com/experience/decisioning/placement": "xcore:offer-placement:e51944a87919861"
    }
  ],
  "https://ns.adobe.com/experience/decisioning/tags": [
    "xcore:tag:e5196f1d9119862"
  ],
  "https://ns.adobe.com/experience/decisioning/calendarConstraints": {
    "https://ns.adobe.com/experience/decisioning/startDate": "2018-03-13T05:59:18.914Z",
    "https://ns.adobe.com/experience/decisioning/endDate": "2018-12-27T05:59:18.914Z"
  },
  "https://ns.adobe.com/experience/decisioning/profileConstraints": {
    "https://ns.adobe.com/experience/decisioning/profileConstraintType": "eligibilityRule",
    "https://ns.adobe.com/experience/decisioning/eligibilityRule": "xcore:eligibility-rule:e5244c22eff29e8"
  },
  "https://ns.adobe.com/experience/decisioning/ranking": {
    "https://ns.adobe.com/experience/decisioning/priority": 1
  }
}

Personalized Content Decision Option Properties

Property Type Required Defined by
https://ns.adobe.com/experience/decisioning/calendarConstraints Calendar Constraint Details Optional Decision Option Calendar Constraints
https://ns.adobe.com/experience/decisioning/contents Content Details Optional Decision Option Contents
https://ns.adobe.com/experience/decisioning/lifecycleStatus enum Optional Decision Option Lifecycle Status
https://ns.adobe.com/experience/decisioning/profileConstraints Profile Constraint Details Optional Decision Option Profile Constraints
https://ns.adobe.com/experience/decisioning/ranking Ranking Details Optional Decision Option Ranking
https://ns.adobe.com/experience/decisioning/tags string[] Optional Decisioning Option Tags
xdm:frequencyCappingConstraints object[] Optional Frequency Capping Constraints
* any Additional this schema allows additional properties

Calendar Constraint Details

Calendar constraints decide if a decision option is valid given a date range. Outside that date range the option cannot be proposed.

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

Content Details

Content items to render the decision item in different contexts. A single decision option can have multiple contents variants. Content is information that is directed towards an audience for consumption in a (digital) experience. Content is delivered through channels into a particular placement.

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

Array type: Content Details

All items must be of the type:

  • Content Detailshttps://ns.adobe.com/experience/decisioning/content-details

Lifecycle Status

Lifecycle status allows workflows to be conducted with an object. The status may affect where an object is visible or considered relevant. Status changes are driven by the clients or services that use the objects.

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

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

Value Description
draft Draft
approved Approved
live Live
completed Completed
archived Archived

Profile Constraint Details

The profile constraints decide if an option is eligible for this profile identity, at this moment, in this context. If the profile constraint does not need to consider values of each of the option, i.e. it is invariant of the options from the option selection, the profile constraint that evaluates to 'false' cancels out the entire option selection. On the other hand, a profile constraint rule that takes an option as a parameter is evaluated for each qualifiying option of the option selection.

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

Ranking Details

Rank (priority). Defines what is considered the "best action" given the context of the decision criterion. Among all the selected options that meet the eligibility constraint, the ranking order will decide the top (or top N) option(s) to be proposed.

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

  • Ranking Detailshttps://ns.adobe.com/experience/decisioning/ranking-details

Tags

The set of tags associated with this entity. The tags are used in filter expressions to constrain the overall inventory to a sub set (category).

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

Array type: string[]

All items must be of the type: string

  • format: uri-reference – URI Reference (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/decisioning/tag

xdm:frequencyCappingConstraints

xdm:frequencyCappingConstraints

xdm:frequencyCappingConstraints Type

Array type: object[]

All items must be of the type: object with following properties:

Property Type Required Default
xdm:duration integer Optional
xdm:endDate string Optional
xdm:entity string Required
xdm:events array Optional ["decisioning"]
xdm:limit integer Required
xdm:placement string Optional
xdm:repeat boolean Optional false
xdm:scope string Required
xdm:startDate string Optional

xdm:duration

Duration

Duration in hours. When xdm:repeat is true, daily scan job of the rules will update all expired rules to start from current time and end with the specific xdm:duration

xdm:duration

  • is optional
  • type: integer
xdm:duration Type

integer

  • minimum value: 1

xdm:endDate

End Date and Time

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

xdm:endDate

  • is optional
  • type: string
xdm:endDate Type

string

xdm:entity

Entity

Entity to comply with. It will be Offer or Placement.

xdm:entity

  • is required
  • type: enum

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

xdm:entity Known Values
Value Description
offer To comply with offer.
placement To comply with offer placement.

xdm:events

Events

Events of the capping to comply with. Since most of the events don't support offerId level counting, we will start with only support decisioning event, and will extend to support custom event in future phases. Other events to be supported in the future : web-display, web-click, message-delivery, message-open, message-click

xdm:events

  • is optional
  • type: enum[]
  • at least 1 items in the array
  • default: ["decisioning"]
xdm:events Type

Array type: enum[]

All items must be of the type: string

xdm:limit

Limit

How many times an option can be proposed

xdm:limit

  • is required
  • type: integer
xdm:limit Type

integer

  • minimum value: 1

xdm:placement

Offer Placement

Placement to comply with. The value is the URI (@id) of the offer placement that is referenced. See schema https://ns.adobe.com/experience/offer-management/offer-placement. If placement id is not provided and entity is on placement, the capping will be applied to every placement. If placement is provided, it will only be applied to specified placement.

xdm:placement

  • is optional
  • type: string
xdm:placement Type

string

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

xdm:repeat

Repeat

When true, new counter rule with updated time window will be created. Configure a capping to be repeated (e.g., max times every 1 week). ECS will support repeating config in the rules, scan rules daily, and create a new rule with new expiry when the rule is due for repeating

xdm:repeat

  • is optional
  • type: boolean
  • default: false
xdm:repeat Type

boolean

xdm:scope

scope

Scope of the capping

xdm:scope

  • is required
  • type: enum

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

xdm:scope Known Values
Value Description
global Global cap is a constraint on how many times an option can be proposed in totality.
profile Profile cap is a constraint on how many times an option can be proposed to a certain profile.

xdm:startDate

Start Date and Time

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

xdm:startDate

  • is optional
  • type: string
xdm:startDate Type

string

Frequency capping constraint define additional rules based on prior offer proposition, either across all audiences or for a particular profile identity.