Add Decisioning Content data type for ExD Offer Content Personalization#2120
Open
kmmraju wants to merge 1 commit intoadobe:masterfrom
Open
Add Decisioning Content data type for ExD Offer Content Personalization#2120kmmraju wants to merge 1 commit intoadobe:masterfrom
kmmraju wants to merge 1 commit intoadobe:masterfrom
Conversation
Introduces a new XDM data type `decisioning-content` to support expression-based content personalization in decisioning offers. The schema defines a content field with a contentType enum (text, json, html) and an expression string, enabling dynamic content rendering across different media formats. Techspec: https://wiki.corp.adobe.com/spaces/CJM/pages/3757303279/ExD+Offer+Content+Personalization+Techspec Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://jira.corp.adobe.com/browse/CJM-135243
Summary
decisioning-contentunderextensions/adobe/experience/decisioning/to support expression-based content personalization in decisioning offers.contentType— an enum (text,json,html) indicating how the expression should be interpretedexpression— a string containing the dynamic content expressionMotivation
As part of the ExD Offer Content Personalization initiative (Techspec), decisioning offers need a standardized way to define dynamic content fields with expression-based personalization. This data type enables offers to carry content expressions in multiple formats (plain text, HTML, JSON), allowing the decisioning engine to render personalized content at delivery time.
Files Changed
decisioning-content.schema.jsoncontentTypeenum andexpressionstringdecisioning-content.example.1.jsondecisioning-content.example.2.jsonTest Plan
npm test— all 2131 mocha tests pass (schema loads and validates against meta-schema)ajv validate— both examples validate against the schema