-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use campaign-experienceevent to define the mixin-class-relationship b…
…etween experience and decision events. The mixin now also includes decisionevent as a class that can add the union of campaign mixins to decisioning events On the other hand decisionevent now only needs to mix in the aggregated campaign-experienceevent and decision event will get the same union of mixin properties as before (see decisionevent.example.1.json to illustrate this) Break up proposition schema into the definitions it contained, proposition and proposition-detail. proposition-metrics is now an optional part of proposition-detail. It does not need to be its own schema component. Corrected a number of examples that didn't validate against their schemas
- Loading branch information
Showing
14 changed files
with
148 additions
and
125 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
File renamed without changes.
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
68 changes: 68 additions & 0 deletions
68
extensions/adobe/experience/decisioning/proposition-detail.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,68 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2019 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/proposition-detail", | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"title": "Decision Proposition", | ||
"type": "object", | ||
"meta:abstract": true, | ||
"meta:extensible": true, | ||
"description": "The Decision Proposition XDM is used to capture the outcome of a decisioning process", | ||
"definitions": { | ||
"proposition-detail-datatype": { | ||
"properties": { | ||
"xdm:activity": { | ||
"title": "Decision Activity", | ||
"description": "Snapshot of the activity for which the proposition was made. The object contains at least the @id property value which is the URI of the decision activity. See schema https://ns.adobe.com/experience/decisioning/activity", | ||
"$ref": "https://ns.adobe.com/xdm/data/record" | ||
}, | ||
"xdm:selections": { | ||
"title": "Selected Options", | ||
"description": "Snapshots of the options that were selected for this activity. Those options are ususally constrained. The objects contain a at least the @id property value which is the URI of an option. See schema https://ns.adobe.com/experience/decisioning/option", | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://ns.adobe.com/xdm/data/record" | ||
}, | ||
"minItems": 1, | ||
"uniqueItems": true | ||
}, | ||
"xdm:fallback": { | ||
"title": "Fallback Option", | ||
"description": "Snapshot of the fixed fallback option that was selected because no available option satisfied all constaints. The object contains at least the @id property value which is the URI of the fallback action. See schema https://ns.adobe.com/experience/decisioning/fallback-option", | ||
"$ref": "https://ns.adobe.com/xdm/data/record" | ||
}, | ||
"xdm:metrics": { | ||
"title": "Metrics", | ||
"description": "Additional measurements observed while the decision was made and which provided context to the decision process.", | ||
"$ref": "https://ns.adobe.com/experience/decisioning/eventmetrics" | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context" | ||
}, | ||
{ | ||
"$ref": "#/definitions/proposition-detail-datatype" | ||
}, | ||
{ | ||
"required": ["xdm:activity"] | ||
}, | ||
{ | ||
"oneOf": [ | ||
{ | ||
"required": ["xdm:selections"] | ||
}, | ||
{ | ||
"required": ["xdm:fallback"] | ||
} | ||
] | ||
} | ||
], | ||
"meta:status": "experimental" | ||
} |
Oops, something went wrong.