diff --git a/extensions/adobe/experience/experienceevent.schema.json b/extensions/adobe/experience/experienceevent.schema.json index 155176f37..0d9d81f2f 100644 --- a/extensions/adobe/experience/experienceevent.schema.json +++ b/extensions/adobe/experience/experienceevent.schema.json @@ -31,7 +31,7 @@ "$ref": "https://ns.adobe.com/experience/analytics/experienceevent" }, { - "$ref": "https://ns.adobe.com/xdm/experience/target/experienceevent" + "$ref": "https://ns.adobe.com/experience/target/experienceevent" }, { "$ref": "https://ns.adobe.com/experience/campaign/experienceevent" diff --git a/extensions/adobe/experience/target/activityevent.schema.json b/extensions/adobe/experience/target/activity/activityevent.schema.json similarity index 98% rename from extensions/adobe/experience/target/activityevent.schema.json rename to extensions/adobe/experience/target/activity/activityevent.schema.json index d534d800c..1b822672e 100644 --- a/extensions/adobe/experience/target/activityevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent.schema.json @@ -51,7 +51,7 @@ "description": "The Capture Score engagement metric calculates an aggregated score based on the value assigned to pages visited on the site, from the point the visitor first sees the campaign's first display mbox." }, "xdm:eventScope": { - "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope" + "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope#/definitions/eventscope" }, "xdm:segmentEvents": { "type": "array", diff --git a/extensions/adobe/experience/target/activityeventcontext.schema.json b/extensions/adobe/experience/target/activity/activityevent/context.schema.json similarity index 100% rename from extensions/adobe/experience/target/activityeventcontext.schema.json rename to extensions/adobe/experience/target/activity/activityevent/context.schema.json diff --git a/extensions/adobe/experience/target/eventscope.schema.json b/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json similarity index 93% rename from extensions/adobe/experience/target/eventscope.schema.json rename to extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json index a7cbaaf8c..f14e17c81 100644 --- a/extensions/adobe/experience/target/eventscope.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json @@ -25,10 +25,5 @@ } } }, - "allOf": [ - { - "$ref": "#/definitions/eventscope" - } - ], "meta:status": "experimental" } diff --git a/extensions/adobe/experience/target/optionevent.schema.json b/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json similarity index 96% rename from extensions/adobe/experience/target/optionevent.schema.json rename to extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json index 6c58d54e4..4793fa1b9 100644 --- a/extensions/adobe/experience/target/optionevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json @@ -15,6 +15,7 @@ "properties": { "https://ns.adobe.com/experience/target/activity/activityevent/optionevent/activityLocation": { "title": "Activity Location", + "type": "object", "description": "A location is a page on your website. It could also refer to a place in a mobile app, an email, or any other place where you run an optimization.", "properties": { "xdm:locationID": { @@ -34,6 +35,7 @@ }, "https://ns.adobe.com/experience/target/activity/activityevent/optionevent/targetOption": { "title": "Activity Option", + "type": "object", "description": "An option is the displayed content on your web pages during activities.", "properties": { "xdm:optionID": { @@ -57,7 +59,7 @@ ] }, "xdm:eventScope": { - "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope" + "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope#/definitions/eventscope" } }, "required": [ diff --git a/extensions/adobe/experience/target/segmentevent.schema.json b/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json similarity index 95% rename from extensions/adobe/experience/target/segmentevent.schema.json rename to extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json index 5a7e48ba2..afd41af24 100644 --- a/extensions/adobe/experience/target/segmentevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json @@ -19,7 +19,7 @@ "description": "Activity Segment Event." }, "xdm:eventScope": { - "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope" + "$ref": "https://ns.adobe.com/experience/target/activity/activityevent/eventscope#/definitions/eventscope" } }, "required": [ diff --git a/extensions/adobe/experience/target/activitypreview.schema.json b/extensions/adobe/experience/target/activity/preview.schema.json similarity index 100% rename from extensions/adobe/experience/target/activitypreview.schema.json rename to extensions/adobe/experience/target/activity/preview.schema.json diff --git a/extensions/adobe/experience/target/experienceevent.schema.json b/extensions/adobe/experience/target/experienceevent.schema.json index 26020330a..029cf96ae 100644 --- a/extensions/adobe/experience/target/experienceevent.schema.json +++ b/extensions/adobe/experience/target/experienceevent.schema.json @@ -52,7 +52,7 @@ "type": "string", "description": "Identifier of the environment on which the event was processed." }, - "xdm:activities": { + "https://ns.adobe.com/experience/target/activities": { "title": "Activities", "type": "array", "description": "A list of items representing executed activities.",