Skip to content

Commit

Permalink
Refactored the core of Experience Event
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdegroot committed Nov 20, 2018
1 parent d4e9503 commit d7c9287
Show file tree
Hide file tree
Showing 20 changed files with 635 additions and 320 deletions.
50 changes: 50 additions & 0 deletions extensions/adobe/experience/experienceevent-old.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"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/experienceevent",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Adobe Cloud Platform - Data Services extension to ExperienceEvent",
"type": "object",
"description":
"This ExperienceEvent XDM includes the core/standard ExperienceEvent as well as the Adobe solution ExperienceEvents.",
"definitions": {
"experienceevent": {
"properties": {
"https://ns.adobe.com/experience/implementations": {
"$ref": "https://ns.adobe.com/experience/implementations"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/analytics/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/target/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/campaign/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/adcloud/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/profile/experienceevent"
},
{
"$ref": "https://ns.adobe.com/experience/implementations"
}
],
"meta:status": "experimental"
}
74 changes: 58 additions & 16 deletions extensions/adobe/experience/experienceevent.schema.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,91 @@
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"Copyright 2017 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/experienceevent",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Adobe Cloud Platform - Data Services extension to ExperienceEvent",
"title": "Adobe Experience Event base schema",
"type": "object",
"description":
"This ExperienceEvent XDM includes the core/standard ExperienceEvent as well as the Adobe solution ExperienceEvents.",
"auditable": false,
"meta:extensible": true,
"meta:abstract": true,
"meta:extends": [
"https://ns.adobe.com/xdm/data/time-series",
"https://ns.adobe.com/xdm/context/identitymap",
"https://ns.adobe.com/xdm/context/experienceevent-advertising",
"https://ns.adobe.com/xdm/context/experienceevent-application",
"https://ns.adobe.com/xdm/context/experienceevent-channel",
"https://ns.adobe.com/xdm/context/experienceevent-commerce",
"https://ns.adobe.com/xdm/context/experienceevent-directmarketing",
"https://ns.adobe.com/xdm/context/experienceevent-environment-details",
"https://ns.adobe.com/xdm/context/experienceevent-marketing",
"https://ns.adobe.com/xdm/context/experienceevent-media",
"https://ns.adobe.com/xdm/context/experienceevent-profile-stitch",
"https://ns.adobe.com/xdm/context/experienceevent-search",
"https://ns.adobe.com/xdm/context/experienceevent-segmentmembership",
"https://ns.adobe.com/xdm/context/experienceevent-technical-details",
"https://ns.adobe.com/xdm/context/experienceevent-web"
],
"description": "Adobe Experience Profile schema.",
"definitions": {
"experienceevent": {
"properties": {
"https://ns.adobe.com/experience/implementations": {
"$ref": "https://ns.adobe.com/experience/implementations"
}
}
"properties": { }
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent"
"$ref": "https://ns.adobe.com/xdm/data/time-series"
},
{
"$ref": "https://ns.adobe.com/xdm/context/identitymap"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-advertising"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-application"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-channel"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-commerce"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-directmarketing"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-environment-details"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-marketing"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-media"
},
{
"$ref": "https://ns.adobe.com/experience/analytics/experienceevent"
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-profile-stitch"
},
{
"$ref": "https://ns.adobe.com/experience/target/experienceevent"
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-search"
},
{
"$ref": "https://ns.adobe.com/experience/campaign/experienceevent"
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-segmentmembership"
},
{
"$ref": "https://ns.adobe.com/experience/adcloud/experienceevent"
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-technical-details"
},
{
"$ref": "https://ns.adobe.com/experience/profile/experienceevent"
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-web"
},
{
"$ref": "https://ns.adobe.com/experience/implementations"
"$ref": "#/definitions/experienceevent"
}
],
"meta:status": "experimental"
Expand Down
3 changes: 2 additions & 1 deletion extensions/adobe/experience/profile.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
],
"$id": "https://ns.adobe.com/experience/profile",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Adobe Experience Profile",
"title": "Adobe Experience Profile base schema",
"type": "object",
"auditable": true,
"meta:extensible": true,
"meta:abstract": true,
"meta:extends": [
"https://ns.adobe.com/xdm/data/record",
"https://ns.adobe.com/xdm/common/auditable",
Expand Down
3 changes: 2 additions & 1 deletion extensions/bigCo/MembersWorkAddress.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Big Company Experience Profile",
"type": "object",
"meta:extensible": false,
"meta:extensible": true,
"meta:abstract": true,
"meta:extends": ["https://ns.adobe.com/xdm/context/profile-work-details"],
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/profile"],
"description": "Big Co Member Work Address schema.",
"definitions": {
Expand Down
36 changes: 36 additions & 0 deletions schemas/context/experienceevent-advertising.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"meta:license": [
"Copyright 2017 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/context/experienceevent-advertising",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ExperienceEvent extension for Advertising",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "The Advertising extension for ExperienceEvent.",
"definitions": {
"experienceevent-advertising": {
"properties": {
"xdm:advertising": {
"title": "Advertising",
"$ref": "https://ns.adobe.com/xdm/context/advertising",
"description": "The information related to advertising activity related to the experience event"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/experienceevent-advertising"
}
],
"meta:status": "stabilizing"
}
36 changes: 36 additions & 0 deletions schemas/context/experienceevent-application.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"meta:license": [
"Copyright 2017 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/context/experienceevent-application",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ExperienceEvent Application Extension",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "The Application extension for ExperienceEvent.",
"definitions": {
"experienceevent-application": {
"properties": {
"xdm:application": {
"title": "Application",
"$ref": "https://ns.adobe.com/xdm/context/application",
"description": "The application related to the event observation. It could be either the application targeted by the event like the send of a push notification or the application originating the event such as a click, or a login."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/experienceevent-application"
}
],
"meta:status": "stabilizing"
}
36 changes: 36 additions & 0 deletions schemas/context/experienceevent-channel.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"meta:license": [
"Copyright 2017 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/context/experienceevent-channel",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ExperienceEvent Channel Extension",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "The Channel extension for ExperienceEvent.",
"definitions": {
"experienceevent-channel": {
"properties": {
"xdm:channel": {
"title": "Experience Channel",
"description": "The experience channel related to this ExperienceEvent.",
"$ref": "https://ns.adobe.com/xdm/channels/channel"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/experienceevent-channel"
}
],
"meta:status": "stabilizing"
}
44 changes: 44 additions & 0 deletions schemas/context/experienceevent-commerce.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"meta:license": [
"Copyright 2017 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/context/experienceevent-commerce",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ExperienceEvent Commerce Extension",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "The commerce extension for XDM Experience Events",
"definitions": {
"experienceevent-commerce": {
"properties": {
"xdm:productListItems": {
"title": "Product List Items",
"type": "array",
"description": "A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.",
"items": {
"$ref": "https://ns.adobe.com/xdm/content/productlistitem"
}
},
"xdm:commerce": {
"title": "Commerce",
"$ref": "https://ns.adobe.com/xdm/context/commerce",
"description": "The commerce specific data related to this interaction."
},
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/experienceevent-commerce"
}
],
"meta:status": "stabilizing"
}
36 changes: 36 additions & 0 deletions schemas/context/experienceevent-directmarketing.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"meta:license": [
"Copyright 2017 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/context/experienceevent-directmarketing",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "ExperienceEvent for Direct Marketing",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "The Direct Marketing extension for ExperienceEvent.",
"definitions": {
"experienceevent-directmarketing": {
"properties": {
"xdm:directMarketing": {
"title": "Direct Marketing",
"$ref": "https://ns.adobe.com/xdm/context/direct-marketing",
"description": "The events and properties related to direct/outbound marketing such as email, direct mail, texts and in-app notifications."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/experienceevent-directmarketing"
}
],
"meta:status": "stabilizing"
}
Loading

0 comments on commit d7c9287

Please sign in to comment.