Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cjm 62042 #1823

Merged
merged 38 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6263658
Update option-detail.schema.json
kenadobe Feb 15, 2024
0146c17
Update option-detail.example.4.json
kenadobe Feb 15, 2024
798a9d9
Update option-detail.schema.json
kenadobe Feb 15, 2024
2578a47
Update option-detail.schema.json
kenadobe Feb 15, 2024
3eff297
Update option-detail.schema.json
kenadobe Feb 15, 2024
eaa5ed5
Update option-detail.example.4.json
kenadobe Feb 15, 2024
af50ffc
Add files via upload
kenadobe Feb 20, 2024
e351aa1
Update selection-detail.schema.json
kenadobe Feb 20, 2024
9ff432a
Update selection-detail.schema.json
kenadobe Feb 20, 2024
9c78f6e
Add files via upload
kenadobe Feb 20, 2024
552c49f
Update item-selection.schema.json
kenadobe Feb 20, 2024
45a81a9
Update selection-detail.schema.json
kenadobe Feb 20, 2024
2b890c2
Add files via upload
kenadobe Feb 20, 2024
f788073
Update option-detail.schema.json
kenadobe Feb 20, 2024
b3da05f
Update option-detail.schema.json
kenadobe Feb 20, 2024
fca15d2
Update item-selection.schema.json
kenadobe Feb 20, 2024
6ca9767
Update item-selection.example.1.json
kenadobe Feb 20, 2024
4fdfd5e
Update option-detail.example.4.json
kenadobe Feb 20, 2024
4001491
Update option-detail.schema.json
kenadobe Feb 20, 2024
9423673
Update item-selection.example.2.json
kenadobe Feb 20, 2024
a1d7eaf
Update option-detail.example.4.json
kenadobe Feb 20, 2024
3b2c7b1
Update option-detail.example.4.json
kenadobe Feb 20, 2024
b4d669f
Delete extensions/adobe/experience/decisioning/selection-detail.examp…
kenadobe Feb 20, 2024
2928939
Update option-detail.schema.json
kenadobe Feb 20, 2024
e7d375b
Update option-detail.schema.json
kenadobe Feb 20, 2024
4d326dc
Update selection-detail.schema.json
kenadobe Feb 20, 2024
c6edef6
Update selection-detail.schema.json
kenadobe Feb 20, 2024
2f35b73
Update option-detail.schema.json
kenadobe Feb 21, 2024
67e3097
Update option-detail.schema.json
kenadobe Feb 21, 2024
8b4c31e
Update option-detail.example.4.json
kenadobe Feb 23, 2024
f2c9dd9
Update option-detail.schema.json
kenadobe Feb 23, 2024
c64e32d
Update option-detail.schema.json
kenadobe Feb 24, 2024
e2ce501
Update selection-detail.schema.json
kenadobe Feb 24, 2024
8a28ae9
Update selection-detail.example.1.json
kenadobe Feb 24, 2024
1035c44
Update item-selection.example.1.json
kenadobe Feb 26, 2024
124fb94
Update option-detail.example.4.json
kenadobe Feb 26, 2024
a79c9fb
Update item-selection.example.2.json
kenadobe Feb 26, 2024
64c28c8
Merge branch 'master' into feature/CJM-62042
anandphatak Feb 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"xdm:selectionDetail": {
"xdm:strategyID": "xcore:selection-strategy:185c87454fb2e35a",
"xdm:strategyName": "most popular category",
"xdm:type": "selectionStrategy",
kenadobe marked this conversation as resolved.
Show resolved Hide resolved
"xdm:version": "xcore:selection-strategy:185c87454fb2e35a_1"
},
"xdm:rankingDetail": {
"xdm:strategyID": "xcore:ranking-function:1853235aea57ca0e",
"xdm:step": "rankingFormula"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"xdm:selectionDetail": {
"xdm:strategyID": "xcore:selection-strategy:185c87454fb2e35a",
"xdm:strategyName": "most popular category",
"xdm:type": "selectionStrategy",
kenadobe marked this conversation as resolved.
Show resolved Hide resolved
"xdm:version": "xcore:selection-strategy:185c87454fb2e35a_1"
},
"xdm:rankingDetail": {
"xdm:strategyID": "4ajr78banuUg4Og6or3LFa",
"xdm:algorithmID": "1",
"xdm:step": "rankingAIModel",
"xdm:trafficType": "random"
}
}
39 changes: 39 additions & 0 deletions extensions/adobe/experience/decisioning/item-selection.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"meta:license": [
"Copyright 2023 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/experience/decisioning/item-selection",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Item Selection Detail",
"description": "A selection detail of an item result from a decisioning.",
"type": "object",
"meta:extensible": true,
"definitions": {
"item-selection": {
"properties": {
"xdm:selectionDetail": {
"$ref": "https://ns.adobe.com/experience/decisioning/selection-detail",
"title": "Selection Detail",
"description": "Selection detail of a decisioning item."
},
"xdm:rankingDetail": {
"$ref": "https://ns.adobe.com/experience/decisioning/strategy-details",
"title": "Ranking Detail",
"description": "Ranking detail of a decisioning item."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/item-selection"
}
],
"meta:status": "stable"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{
"xdm:id": "xcore:personalized-offer:e91ee850a0bb7d9",
"xdm:selectionID": "xcore:fb30c2f0a6a98e030dd107f2c531c5fe374ce410bb96b02b:184a0fc14872e39c",
"xdm:selectionType": "manual",
"xdm:trackingToken": "Tracking Token Value"
"xdm:score": 101,
"xdm:itemSelection": {
"xdm:selectionDetail": {
"xdm:strategyID": "xcore:selection-strategy:1863a7b4254b8778",
"xdm:strategyName": "sample strategy name",
"xdm:type": "selectionStrategy",
kenadobe marked this conversation as resolved.
Show resolved Hide resolved
"xdm:version": "xcore:selection-strategy:1863a7b4254b8778_1"
},
"xdm:rankingDetail": {
"xdm:id": "xcore:ranking-function:17bb67e976902620",
"xdm:type": "rankingFormula"
kenadobe marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,19 @@
"description": "The number of times a particular option was proposed so far to a particular profile. When this metric is present the record or time-series entity must include an IdentityMap the profile.",
"meta:descriptionId": "option-detail##https://ns.adobe.com/experience/decisioning/propositionsProfile##description##18831"
},
"xdm:itemSelection": {
"$ref": "https://ns.adobe.com/experience/decisioning/item-selection",
"title": "Item Selection",
"description": "The detail of an item selection of which the item was proposed."
},
"xdm:selectionID": {
"meta:status": "deprecated",
"title": "Decision Option Selection ID",
"type": "string",
"description": "Option selection ID. The selectionID of which the item was derived from."
},
"xdm:selectionType": {
"meta:status": "deprecated",
"title": "Decision Option Selection Type",
"type": "string",
"description": "Option selection type. The selection type of which the item was derived from."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"xdm:strategyID": "xcore:selection-strategy:185c87454fb2e35a",
"xdm:strategyName": "most popular category",
"xdm:selectionType": "selectionStrategy",
"xdm:version": "xcore:selection-strategy:185c87454fb2e35a_1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"meta:license": [
"Copyright 2021 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://ns.adobe.com/experience/decisioning/selection-detail",
"meta:extensible": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/experience/decisioning/item-selection"
],
"type": "object",
"title": "Selection Detail",
"description": "Detail about the selection that represents one of the possible selections or choices for a decision.",
"definitions": {
"selection-detail": {
"type": "object",
"properties": {
"xdm:strategyID": {
"title": "Decision Option Strategy ID",
"type": "string",
"description": "Strategy ID. The strategy identifier of which the item was derived from."
},
"xdm:strategyName": {
"title": "Strategy Name",
"type": "string",
"description": "Strategy name. The strategy name of which the item was derived from."
},
"xdm:selectionType": {
"title": "Selection Type",
"type": "string",
"description": "Selection type. The type of selection of which the item was derived from.",
"meta:enum": {
"selectionStrategy": "Selection Strategy",
"fallback": "Fallback Item",
"manual": "Manual Item"
}
},
"xdm:version": {
"title": "Selection Version",
"type": "string",
"description": "Selection version. The version of which the item was derived from."
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/selection-detail"
}
],
"meta:status": "stable",
"meta:titleId": "selection-detail##title##28091",
"meta:descriptionId": "selection-detail##description##90741"
}