-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request adobe#1450 from daniux/AddToCampaign_113
Added "Add to Campaign" experience event.
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 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
2 changes: 2 additions & 0 deletions
2
components/fieldgroups/experience-event/events/add-to-campaign.example.1.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,2 @@ | ||
{ | ||
} |
61 changes: 61 additions & 0 deletions
61
components/fieldgroups/experience-event/events/add-to-campaign.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,61 @@ | ||
{ | ||
"meta:license": [ | ||
"Copyright 2022 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/xdm/mixins/events/add-to-campaign", | ||
"$schema": "http://json-schema.org/draft-06/schema#", | ||
"title": "Add To Campaign", | ||
"type": "object", | ||
"meta:tags": { | ||
"b2bSchema": true | ||
}, | ||
"meta:conditionalField": "xdm:eventType", | ||
"meta:conditionalValue": "leadOperation.addToCampaign", | ||
"meta:intendedToExtend": [ | ||
"https://ns.adobe.com/xdm/context/experienceevent" | ||
], | ||
"description": "Use to add a person to the specific campaign.", | ||
"definitions": { | ||
"addtocampaign": { | ||
"properties": { | ||
"xdm:leadOperation": { | ||
"title": "Lead Operation", | ||
"type": "object", | ||
"properties": { | ||
"xdm:addToCampaign": { | ||
"title": "Add To Campaign", | ||
"type": "object", | ||
"properties": { | ||
"xdm:campaignKey": { | ||
"title": "Campaign Key", | ||
"description": "Unique composite identifier of the campaign.", | ||
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-source" | ||
}, | ||
"xdm:streamKey": { | ||
"title": "Stream Key", | ||
"description": "Unique composite identifier of the stream.", | ||
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-source" | ||
}, | ||
"xdm:streamName": { | ||
"title": "Stream Name", | ||
"type": "string", | ||
"description": "Name of the stream." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/addtocampaign" | ||
} | ||
], | ||
"meta:status": "experimental", | ||
"meta:createdDate": "2022-02-14" | ||
} |