-
Notifications
You must be signed in to change notification settings - Fork 322
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
Journey AI Fatigue and Score schemas #492
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4ecc283
JSON Schemas for Journey AI Fatigue and Score schemas
30db7ec
Merge branch 'master' into journeyai-extensions
kstreeter 18eb46f
Rename scores fields and change title for Fatigue
12ab7f0
Merge remote-tracking branch 'origin/journeyai-extensions' into journ…
a31bb1d
Add profile extension to add Journey AI email channel scores
04ae1ff
Rename journeyaiscores file to follow naming convention
debf0dd
Merge branch 'master' of github.com:adobe/xdm into journeyai-extensions
796f9c7
Merge branch 'master' into journeyai-extensions
lrosenthol d131f53
Merge branch 'master' into journeyai-extensions
kstreeter e4cc256
Add journeyAI object to profile extension
b1b245c
Merge branch 'master' into journeyai-extensions
kstreeter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
extensions/adobe/experience/campaign/journeyaifatigue.schema.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2018 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/campaign/journeyaifatigue", | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"title": "Fatigue Score and Level", | ||
"type": "object", | ||
"description": "Fatigue score and fatigue level from Journey AI", | ||
"definitions": { | ||
"journeyaifatigue": { | ||
"properties": { | ||
"xdm:fatigueScore": { | ||
"title": "Fatigue Score", | ||
"description": "Fatigue score for the profile", | ||
"type": "number", | ||
"exclusiveMinimum": 0, | ||
"maximum": 1 | ||
}, | ||
"xdm:fatigueLevel": { | ||
"title": "Fatigue Level", | ||
"description": | ||
"Classification of profile into different buckets, based on fatigue score", | ||
"type": "string", | ||
"enum": ["low", "medium", "high"], | ||
"meta:enum": { | ||
"low": "Low", | ||
"medium": "Medium", | ||
"high": "High" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/journeyaifatigue" | ||
} | ||
] | ||
} |
51 changes: 51 additions & 0 deletions
51
extensions/adobe/experience/campaign/journeyaiscores.schema.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2018 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/campaign/journeyaiscores", | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"title": "Journey AI Scores", | ||
"type": "object", | ||
"description": "Journey AI scores for one channel", | ||
"definitions": { | ||
"journeyaiscores": { | ||
"properties": { | ||
"xdm:fatigue": { | ||
"title": "Fatigue", | ||
"description": "Fatigue score for the profile", | ||
"$ref": "https://ns.adobe.com/experience/campaign/journeyaifatigue" | ||
}, | ||
"xdm:openScores": { | ||
"title": "Open Scores by send hour for week", | ||
"description": | ||
"Probability/score to open a message, assuming we send a message at that hour", | ||
"type": "array", | ||
"minItems": 168, | ||
"maxItems": 168, | ||
"items": { | ||
"type": "number" | ||
} | ||
}, | ||
"xdm:clickScores": { | ||
"title": "Click Scores by send hour for week", | ||
"description": | ||
"Probability/score to click on a link in the message, assuming we send a message at that hour", | ||
"type": "array", | ||
"minItems": 168, | ||
"maxItems": 168, | ||
"items": { | ||
"type": "number" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/journeyaiscores" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2018 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/campaign/profile", | ||
"title": "Adobe Campaign Profile Extension", | ||
"type": "object", | ||
"meta:extends": ["https://ns.adobe.com/xdm/context/profile"], | ||
"description": "Adobe Campaign extension for Profile", | ||
"definitions": { | ||
"profile": { | ||
"properties": { | ||
"https://ns.adobe.com/experience/campaign/journeyai/email": { | ||
"title": "Journey AI scores for Email Channel", | ||
"$ref": "https://ns.adobe.com/experience/campaign/journeyaiscores", | ||
"description": | ||
"Journey AI open, click and fatigue scores for email channel" | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/profile" | ||
} | ||
] | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than putting this in a namespace, it would probably be better to either create a journeyAI sub-object, or perhaps just call this field emailJourneyAI or similar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kstreeter I will create a sub-object and add email field into it.