From 6d59ef77935b6bf53dd030f38f7002c7c51576e0 Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Fri, 31 Aug 2018 10:13:03 -0700 Subject: [PATCH] update version, changelog, and docs for 0.9.5 --- CHANGELOG.md | 19 + docs/introduction.md | 2 +- docs/reference/README.md | 80 +-- .../descriptors/itemselector.schema.json | 8 +- .../common/descriptors/itemselector.schema.md | 8 +- .../common/eventenvelope.schema.json | 68 +- docs/reference/common/eventenvelope.schema.md | 68 +- docs/reference/common/extensible.schema.json | 28 +- docs/reference/common/extensible.schema.md | 34 +- docs/reference/common/page.schema.json | 2 +- docs/reference/common/page.schema.md | 2 +- .../context/experienceevent.schema.json | 620 ++++++++--------- .../context/experienceevent.schema.md | 626 +++++++++--------- docs/reference/context/identity.schema.json | 12 +- docs/reference/context/identity.schema.md | 14 +- .../reference/context/person-name.schema.json | 14 +- docs/reference/context/person-name.schema.md | 14 +- docs/reference/context/person.schema.json | 4 +- docs/reference/context/person.schema.md | 4 +- docs/reference/context/poi-detail.schema.json | 18 +- docs/reference/context/poi-detail.schema.md | 18 +- .../external/hal/hal-link.schema.json | 6 +- .../reference/external/hal/hal-link.schema.md | 6 +- docs/reference/external/hal/hal.schema.json | 66 +- docs/reference/external/hal/hal.schema.md | 66 +- package.json | 2 +- 26 files changed, 914 insertions(+), 895 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 246cc481b3..4698549c95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## Release 0.9.5 + +[Released on August 31, 2018](https://github.com/adobe/xdm/releases/tag/v0.9.5) + +Fixed Issues + +* Change ID format from "uri" to "uri-reference" + * PR #488 Change @id's format from "uri" to "uri-reference" if exists +* Combine individual Birthday fields to a single field of format: 'date-time' + * PR #498 Create distinct fields for different cases of birth date +* Fix lint checks against extensions + * PR #485 fix linting issues in extensions folder + +Merged Pull Requests + +* #472 Add Journey context and delivery attributes in experience event +* #479 Fix Segment Identity title conflict +* #501 Campaign extension schema format/structure change for 0.9.9.5 platform release + ## Release 0.9.4 [Released on August 17, 2018](https://github.com/adobe/xdm/releases/tag/v0.9.4) diff --git a/docs/introduction.md b/docs/introduction.md index aa69ac3798..6fd33eed48 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -2,7 +2,7 @@ xdm:navOrder: 1 --- -# Experience Data Model (XDM) Version 0.9.4 +# Experience Data Model (XDM) Version 0.9.5 ## Introduction diff --git a/docs/reference/README.md b/docs/reference/README.md index 1b16b203a0..95d4d2595e 100644 --- a/docs/reference/README.md +++ b/docs/reference/README.md @@ -4,21 +4,15 @@ -## /assets/ +## /content/ -* [Aggregated Asset](./assets/aggregated-asset.schema.md) – `https://ns.adobe.com/xdm/assets/aggregated-asset` (Experimental) -* [Artboard](./assets/artboard.schema.md) – `https://ns.adobe.com/xdm/assets/artboard` (Experimental) -* [Asset](./assets/asset.schema.md) – `https://ns.adobe.com/xdm/assets/asset` (Experimental) -* [Copyright Owner](./assets/copyright-owner.schema.md) – `https://ns.adobe.com/xdm/assets/copyright-owner` (Stabilizing) -* [Font](./assets/font.schema.md) – `https://ns.adobe.com/xdm/assets/font` (Experimental) -* [Image](./assets/image.schema.md) – `https://ns.adobe.com/xdm/assets/image` (Experimental) -* [Language Alternative](./assets/language-alternative.schema.md) – `https://ns.adobe.com/xdm/assets/language-alternative` (Stabilizing) -* [Layer](./assets/layer.schema.md) – `https://ns.adobe.com/xdm/assets/layer` (Experimental) -* [Layer Group](./assets/layer-group.schema.md) – `https://ns.adobe.com/xdm/assets/layer-group` (Experimental) -* [Rectangular Object (measured in variable unit)](./assets/variable-unit-rectangular.schema.md) – `https://ns.adobe.com/xdm/assets/variable-unit-rectangular` (Experimental) -* [Resource Event](./assets/resource-event.schema.md) – `https://ns.adobe.com/xdm/assets/resource-event` (Experimental) -* [Simple Rectangular Area](./assets/rectangular.schema.md) – `https://ns.adobe.com/xdm/assets/rectangular` (Stabilizing) -* [Video](./assets/video.schema.md) – `https://ns.adobe.com/xdm/assets/video` (Experimental) +* [Component Container](./content/component-container.schema.md) – `https://ns.adobe.com/xdm/content/component-container` (Experimental) +* [Componentized Page](./content/componentized-page.schema.md) – `https://ns.adobe.com/xdm/content/componentized-page` (Experimental) +* [Content](./content/content.schema.md) – `https://ns.adobe.com/xdm/content/content` (Experimental) +* [Content Repository](./content/repository.schema.md) – `https://ns.adobe.com/xdm/content/repository` (Experimental) +* [Page Component](./content/page-component.schema.md) – `https://ns.adobe.com/xdm/content/page-component` (Experimental) +* [Product](./content/product.schema.md) – `https://ns.adobe.com/xdm/context/product` (Experimental) +* [Product List Item](./content/productlistitem.schema.md) – `https://ns.adobe.com/xdm/content/productlistitem` (Experimental) ## /common/ @@ -58,15 +52,21 @@ * [Web](./channels/mobile-app.schema.md) – `https://ns.adobe.com/xdm/channels/mobile-app` (Experimental) * [Web](./channels/web.schema.md) – `https://ns.adobe.com/xdm/channels/web` (Experimental) -## /content/ +## /assets/ -* [Component Container](./content/component-container.schema.md) – `https://ns.adobe.com/xdm/content/component-container` (Experimental) -* [Componentized Page](./content/componentized-page.schema.md) – `https://ns.adobe.com/xdm/content/componentized-page` (Experimental) -* [Content](./content/content.schema.md) – `https://ns.adobe.com/xdm/content/content` (Experimental) -* [Content Repository](./content/repository.schema.md) – `https://ns.adobe.com/xdm/content/repository` (Experimental) -* [Page Component](./content/page-component.schema.md) – `https://ns.adobe.com/xdm/content/page-component` (Experimental) -* [Product](./content/product.schema.md) – `https://ns.adobe.com/xdm/context/product` (Experimental) -* [Product List Item](./content/productlistitem.schema.md) – `https://ns.adobe.com/xdm/content/productlistitem` (Experimental) +* [Aggregated Asset](./assets/aggregated-asset.schema.md) – `https://ns.adobe.com/xdm/assets/aggregated-asset` (Experimental) +* [Artboard](./assets/artboard.schema.md) – `https://ns.adobe.com/xdm/assets/artboard` (Experimental) +* [Asset](./assets/asset.schema.md) – `https://ns.adobe.com/xdm/assets/asset` (Experimental) +* [Copyright Owner](./assets/copyright-owner.schema.md) – `https://ns.adobe.com/xdm/assets/copyright-owner` (Stabilizing) +* [Font](./assets/font.schema.md) – `https://ns.adobe.com/xdm/assets/font` (Experimental) +* [Image](./assets/image.schema.md) – `https://ns.adobe.com/xdm/assets/image` (Experimental) +* [Language Alternative](./assets/language-alternative.schema.md) – `https://ns.adobe.com/xdm/assets/language-alternative` (Stabilizing) +* [Layer](./assets/layer.schema.md) – `https://ns.adobe.com/xdm/assets/layer` (Experimental) +* [Layer Group](./assets/layer-group.schema.md) – `https://ns.adobe.com/xdm/assets/layer-group` (Experimental) +* [Rectangular Object (measured in variable unit)](./assets/variable-unit-rectangular.schema.md) – `https://ns.adobe.com/xdm/assets/variable-unit-rectangular` (Experimental) +* [Resource Event](./assets/resource-event.schema.md) – `https://ns.adobe.com/xdm/assets/resource-event` (Experimental) +* [Simple Rectangular Area](./assets/rectangular.schema.md) – `https://ns.adobe.com/xdm/assets/rectangular` (Stabilizing) +* [Video](./assets/video.schema.md) – `https://ns.adobe.com/xdm/assets/video` (Experimental) ## /context/ @@ -195,11 +195,11 @@ * [viewable-midpoints](./data/viewablemidpoints.schema.md) – `https://ns.adobe.com/xdm/data/viewablemidpoints` (Stabilizing) * [viewable-third-quartiles](./data/viewablethirdquartiles.schema.md) – `https://ns.adobe.com/xdm/data/viewablethirdquartiles` (Stabilizing) -## /common/descriptors/ +## /content/repository-policies/ -* [Item Selector](./common/descriptors/itemselector.schema.md) – `https://ns.adobe.com/xdm/common/descriptors/itemselector` (Experimental) -* [Relationship Descriptor](./common/descriptors/relationshipdescriptor.schema.md) – `https://ns.adobe.com/xdm/common/descriptors/relationshipdescriptor` (Experimental) -* [Schema Descriptor](./common/descriptors/schemadescriptor.schema.md) – `https://ns.adobe.com/xdm/common/desciptors/schemadescriptor` (Experimental) +* [At-Rest Encryption](./content/repository-policies/encryption.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/encryption` (Experimental) +* [Storage Quota](./content/repository-policies/quota.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/quota` (Experimental) +* [Versioning](./content/repository-policies/versioning.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/versioning` (Experimental) ## /common/event/ @@ -211,6 +211,12 @@ * [Unpublished Event](./common/event/unpublished.schema.md) – `https://ns.adobe.com/xdm/common/event/unpublished` (Experimental) * [Updated Event](./common/event/updated.schema.md) – `https://ns.adobe.com/xdm/common/event/updated` (Experimental) +## /common/descriptors/ + +* [Item Selector](./common/descriptors/itemselector.schema.md) – `https://ns.adobe.com/xdm/common/descriptors/itemselector` (Experimental) +* [Relationship Descriptor](./common/descriptors/relationshipdescriptor.schema.md) – `https://ns.adobe.com/xdm/common/descriptors/relationshipdescriptor` (Experimental) +* [Schema Descriptor](./common/descriptors/schemadescriptor.schema.md) – `https://ns.adobe.com/xdm/common/desciptors/schemadescriptor` (Experimental) + ## /external/hal/ * [HAL Link](./external/hal/hal-link.schema.md) – `https://ns.adobe.com/xdm/external/hal/link` (Experimental) @@ -230,16 +236,6 @@ * [Object](./external/activity-streams-2/object.schema.md) – `https://ns.adobe.com/xdm/external/activity-streams-2/object` (Experimental) * [RDF Language Tagged String](./external/activity-streams-2/rdf-langstring.schema.md) – `https://ns.adobe.com/xdm/external/activity-streams-2/rdf-langstring` (Experimental) -## /external/repo/ - -* [Access Control Entry](./external/repo/accesscontrolentry.schema.md) – `https://ns.adobe.com/xdm/external/repo/accesscontrolentry` (Experimental) -* [Access Control Policy](./external/repo/accesscontrolpolicy.schema.md) – `https://ns.adobe.com/xdm/external/repo/accesscontrolpolicy` (Experimental) -* [Asset](./external/repo/asset.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/asset` (Experimental) -* [Common Properties](./external/repo/common.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0` (Experimental) -* [Directory](./external/repo/directory.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/directory` (Experimental) -* [Effective Privileges](./external/repo/effectiveprivileges.schema.md) – `https://ns.adobe.com/xdm/external/repo/effectiveprivileges` (Experimental) -* [Sub-Directory](./external/repo/sub-directory.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/sub-directory` (Experimental) - ## /external/schema/ * [Geo Circle](./external/schema/geocircle.schema.md) – `http://schema.org/GeoCircle` (Experimental) @@ -254,9 +250,13 @@ * [Season](./external/iptc/season.schema.md) – `http://www.iptc.org/episode` (Experimental) * [Series](./external/iptc/series.schema.md) – `http://www.iptc.org/series` (Experimental) -## /content/repository-policies/ +## /external/repo/ -* [At-Rest Encryption](./content/repository-policies/encryption.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/encryption` (Experimental) -* [Storage Quota](./content/repository-policies/quota.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/quota` (Experimental) -* [Versioning](./content/repository-policies/versioning.schema.md) – `https://ns.adobe.com/xdm/content/repository-policies/versioning` (Experimental) +* [Access Control Entry](./external/repo/accesscontrolentry.schema.md) – `https://ns.adobe.com/xdm/external/repo/accesscontrolentry` (Experimental) +* [Access Control Policy](./external/repo/accesscontrolpolicy.schema.md) – `https://ns.adobe.com/xdm/external/repo/accesscontrolpolicy` (Experimental) +* [Asset](./external/repo/asset.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/asset` (Experimental) +* [Common Properties](./external/repo/common.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0` (Experimental) +* [Directory](./external/repo/directory.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/directory` (Experimental) +* [Effective Privileges](./external/repo/effectiveprivileges.schema.md) – `https://ns.adobe.com/xdm/external/repo/effectiveprivileges` (Experimental) +* [Sub-Directory](./external/repo/sub-directory.schema.md) – `http://ns.adobe.com/adobecloud/core/1.0/sub-directory` (Experimental) diff --git a/docs/reference/common/descriptors/itemselector.schema.json b/docs/reference/common/descriptors/itemselector.schema.json index afb2aa47a5..33f6a85c45 100644 --- a/docs/reference/common/descriptors/itemselector.schema.json +++ b/docs/reference/common/descriptors/itemselector.schema.json @@ -78,16 +78,16 @@ "meta:status": "experimental", "examples": [ { - "xdm:type": "https://ns.adobe.com/experience/mcid" + "xdm:index": 0 }, { - "xdm:id": "https://example.com/objects/12345" + "xdm:schema": "https://ns.adobe.com/xdm/context/identity" }, { - "xdm:index": 0 + "xdm:type": "https://ns.adobe.com/experience/mcid" }, { - "xdm:schema": "https://ns.adobe.com/xdm/context/identity" + "xdm:id": "https://example.com/objects/12345" } ] } \ No newline at end of file diff --git a/docs/reference/common/descriptors/itemselector.schema.md b/docs/reference/common/descriptors/itemselector.schema.md index 5feeea7ab3..52f39cc7d6 100644 --- a/docs/reference/common/descriptors/itemselector.schema.md +++ b/docs/reference/common/descriptors/itemselector.schema.md @@ -18,25 +18,25 @@ Matching may be done based on array index, `@id`, `@type`, or schema URI. ```json { - "xdm:type": "https://ns.adobe.com/experience/mcid" + "xdm:index": 0 } ``` ```json { - "xdm:id": "https://example.com/objects/12345" + "xdm:schema": "https://ns.adobe.com/xdm/context/identity" } ``` ```json { - "xdm:index": 0 + "xdm:type": "https://ns.adobe.com/experience/mcid" } ``` ```json { - "xdm:schema": "https://ns.adobe.com/xdm/context/identity" + "xdm:id": "https://example.com/objects/12345" } ``` diff --git a/docs/reference/common/eventenvelope.schema.json b/docs/reference/common/eventenvelope.schema.json index f44e6013f0..dff924d898 100644 --- a/docs/reference/common/eventenvelope.schema.json +++ b/docs/reference/common/eventenvelope.schema.json @@ -42,31 +42,32 @@ "meta:status": "experimental", "examples": [ { - "@type": "https://ns.adobe.com/xdm/common/event/created", - "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", + "@type": "https://ns.adobe.com/xdm/common/event/published", + "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { - "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", - "@id": "D13A1E7053E46A220A4C86E1@AdobeID" + "@type": "http://ns.adobe.com/adobecloudplatform/ims/organization", + "@id": "08B3E5CE5822FC520A494229@AdobeOrg" }, "activitystreams:generator": { "@type": "https://ns.adobe.com/xdm/content/repository", - "xdm:root": "https://cc-api-storage-stage.adobe.io/" + "@id": "https://francois.corp.adobe.com:4502/" }, "activitystreams:actor": { - "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", - "@id": "D13A1E7053E46A220A4C86E1@AdobeID" + "@type": "https://ns.adobe.com/experience/aem/user", + "@id": "admin" }, "activitystreams:object": { - "@type": "https://ns.adobe.com/xdm/assets/asset", - "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185" + "@type": "https://ns.adobe.com/xdm/content/componentized-page", + "@id": "http://adobesummit.adobesandbox.com:4502/content/geometrixx/en/vintage.html", + "dc:title": "Vintage Collection", + "xdm:path": "/content/geometrixx/en/vintage.html" } }, { - "@type": "https://ns.adobe.com/xdm/common/event/unpublished", - "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", + "@type": "https://ns.adobe.com/xdm/common/event/updated", + "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { @@ -82,10 +83,13 @@ "@id": "admin" }, "activitystreams:object": { - "@type": "https://ns.adobe.com/xdm/content/componentized-page", - "@id": "http://adobesummit.adobesandbox.com:4502/content/geometrixx/en/vintage.html", - "dc:title": "Vintage Collection", - "xdm:path": "/content/geometrixx/en/vintage.html" + "@type": "https://ns.adobe.com/xdm/assets/asset", + "repo:id": "urn:aaid:aem:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "@id": "https://francois.corp.adobe.com:4502/content/dam/Fx_DUKE-small.jpg", + "xdm:name": "Fx_DUKE-small.png", + "xdm:path": "/content/dam/Fx_DUKE-small.png", + "dc:format": "image/png", + "repo:etag": "\"6fc55d0389d856ae7wddwebba54f110e\"" } }, { @@ -108,42 +112,38 @@ "activitystreams:object": { "@type": "https://ns.adobe.com/xdm/assets/asset", "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "xdm:name": "example.jpg", - "xdm:path": "/MyFolder/example.jpg", - "dc:format": "image/jpg", - "repo:etag": "\"6fc55d0389d856ae7deccebba54f110e\"" + "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185" } }, { - "@type": "https://ns.adobe.com/xdm/common/event/updated", + "@type": "https://ns.adobe.com/xdm/common/event/created", "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { - "@type": "http://ns.adobe.com/adobecloudplatform/ims/organization", - "@id": "08B3E5CE5822FC520A494229@AdobeOrg" + "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", + "@id": "D13A1E7053E46A220A4C86E1@AdobeID" }, "activitystreams:generator": { "@type": "https://ns.adobe.com/xdm/content/repository", - "@id": "https://francois.corp.adobe.com:4502/" + "xdm:root": "https://cc-api-storage-stage.adobe.io/" }, "activitystreams:actor": { - "@type": "https://ns.adobe.com/experience/aem/user", - "@id": "admin" + "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", + "@id": "D13A1E7053E46A220A4C86E1@AdobeID" }, "activitystreams:object": { "@type": "https://ns.adobe.com/xdm/assets/asset", - "repo:id": "urn:aaid:aem:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://francois.corp.adobe.com:4502/content/dam/Fx_DUKE-small.jpg", - "xdm:name": "Fx_DUKE-small.png", - "xdm:path": "/content/dam/Fx_DUKE-small.png", - "dc:format": "image/png", - "repo:etag": "\"6fc55d0389d856ae7wddwebba54f110e\"" + "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "xdm:name": "example.jpg", + "xdm:path": "/MyFolder/example.jpg", + "dc:format": "image/jpg", + "repo:etag": "\"6fc55d0389d856ae7deccebba54f110e\"" } }, { - "@type": "https://ns.adobe.com/xdm/common/event/published", + "@type": "https://ns.adobe.com/xdm/common/event/unpublished", "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", diff --git a/docs/reference/common/eventenvelope.schema.md b/docs/reference/common/eventenvelope.schema.md index 7bff74b44a..6cff055a7a 100644 --- a/docs/reference/common/eventenvelope.schema.md +++ b/docs/reference/common/eventenvelope.schema.md @@ -21,34 +21,35 @@ An `EventEnvelope` is a type of `Activity` (in the sense of [W3C Activity Stream ```json { - "@type": "https://ns.adobe.com/xdm/common/event/created", - "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", + "@type": "https://ns.adobe.com/xdm/common/event/published", + "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { - "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", - "@id": "D13A1E7053E46A220A4C86E1@AdobeID" + "@type": "http://ns.adobe.com/adobecloudplatform/ims/organization", + "@id": "08B3E5CE5822FC520A494229@AdobeOrg" }, "activitystreams:generator": { "@type": "https://ns.adobe.com/xdm/content/repository", - "xdm:root": "https://cc-api-storage-stage.adobe.io/" + "@id": "https://francois.corp.adobe.com:4502/" }, "activitystreams:actor": { - "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", - "@id": "D13A1E7053E46A220A4C86E1@AdobeID" + "@type": "https://ns.adobe.com/experience/aem/user", + "@id": "admin" }, "activitystreams:object": { - "@type": "https://ns.adobe.com/xdm/assets/asset", - "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185" + "@type": "https://ns.adobe.com/xdm/content/componentized-page", + "@id": "http://adobesummit.adobesandbox.com:4502/content/geometrixx/en/vintage.html", + "dc:title": "Vintage Collection", + "xdm:path": "/content/geometrixx/en/vintage.html" } } ``` ```json { - "@type": "https://ns.adobe.com/xdm/common/event/unpublished", - "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", + "@type": "https://ns.adobe.com/xdm/common/event/updated", + "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { @@ -64,10 +65,13 @@ An `EventEnvelope` is a type of `Activity` (in the sense of [W3C Activity Stream "@id": "admin" }, "activitystreams:object": { - "@type": "https://ns.adobe.com/xdm/content/componentized-page", - "@id": "http://adobesummit.adobesandbox.com:4502/content/geometrixx/en/vintage.html", - "dc:title": "Vintage Collection", - "xdm:path": "/content/geometrixx/en/vintage.html" + "@type": "https://ns.adobe.com/xdm/assets/asset", + "repo:id": "urn:aaid:aem:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "@id": "https://francois.corp.adobe.com:4502/content/dam/Fx_DUKE-small.jpg", + "xdm:name": "Fx_DUKE-small.png", + "xdm:path": "/content/dam/Fx_DUKE-small.png", + "dc:format": "image/png", + "repo:etag": "\"6fc55d0389d856ae7wddwebba54f110e\"" } } ``` @@ -93,48 +97,44 @@ An `EventEnvelope` is a type of `Activity` (in the sense of [W3C Activity Stream "activitystreams:object": { "@type": "https://ns.adobe.com/xdm/assets/asset", "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "xdm:name": "example.jpg", - "xdm:path": "/MyFolder/example.jpg", - "dc:format": "image/jpg", - "repo:etag": "\"6fc55d0389d856ae7deccebba54f110e\"" + "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185" } } ``` ```json { - "@type": "https://ns.adobe.com/xdm/common/event/updated", + "@type": "https://ns.adobe.com/xdm/common/event/created", "xdm:objectType": "https://ns.adobe.com/xdm/assets/asset", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", "activitystreams:to": { - "@type": "http://ns.adobe.com/adobecloudplatform/ims/organization", - "@id": "08B3E5CE5822FC520A494229@AdobeOrg" + "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", + "@id": "D13A1E7053E46A220A4C86E1@AdobeID" }, "activitystreams:generator": { "@type": "https://ns.adobe.com/xdm/content/repository", - "@id": "https://francois.corp.adobe.com:4502/" + "xdm:root": "https://cc-api-storage-stage.adobe.io/" }, "activitystreams:actor": { - "@type": "https://ns.adobe.com/experience/aem/user", - "@id": "admin" + "@type": "https://ns.adobe.com/adobecloudplatform/ims/user", + "@id": "D13A1E7053E46A220A4C86E1@AdobeID" }, "activitystreams:object": { "@type": "https://ns.adobe.com/xdm/assets/asset", - "repo:id": "urn:aaid:aem:4123ba4c-93a8-4c5d-b979-ffbbe4318185", - "@id": "https://francois.corp.adobe.com:4502/content/dam/Fx_DUKE-small.jpg", - "xdm:name": "Fx_DUKE-small.png", - "xdm:path": "/content/dam/Fx_DUKE-small.png", - "dc:format": "image/png", - "repo:etag": "\"6fc55d0389d856ae7wddwebba54f110e\"" + "repo:id": "urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "@id": "https://cc-api-storage-stage.adobe.io/id/urn:aaid:sc:us:4123ba4c-93a8-4c5d-b979-ffbbe4318185", + "xdm:name": "example.jpg", + "xdm:path": "/MyFolder/example.jpg", + "dc:format": "image/jpg", + "repo:etag": "\"6fc55d0389d856ae7deccebba54f110e\"" } } ``` ```json { - "@type": "https://ns.adobe.com/xdm/common/event/published", + "@type": "https://ns.adobe.com/xdm/common/event/unpublished", "xdm:objectType": "https://ns.adobe.com/xdm/content/componentized-page", "activitystreams:published": "2016-07-16T19:20:30+01:00", "@id": "https://events.adobe.io/event/id/82235bac-2b81-4e70-90b5-2bd1f04b5c7b", diff --git a/docs/reference/common/extensible.schema.json b/docs/reference/common/extensible.schema.json index 1bb1b20650..9df2174502 100644 --- a/docs/reference/common/extensible.schema.json +++ b/docs/reference/common/extensible.schema.json @@ -257,6 +257,20 @@ ], "meta:status": "stabilizing", "examples": [ + { + "repo:id": "urn:aaid:a:b:01234578-0123-ABCD-abcd-0123456789ab", + "xdm:createDate": "2017-09-26T15:52:25+00:00", + "repo:createdDate": "2017-09-26T15:52:25+00:00", + "xdm:repositoryCreatedBy": "lars", + "xdm:modifyDate": "2017-09-26T15:52:25+00:00", + "repo:lastModifiedDate": "2017-09-26T15:52:25+00:00", + "xdm:repositoryLastModifiedBy": "2017-09-26T15:52:25+00:00", + "repo:version": "15", + "dc:title": "This is an example", + "repo:size": 1632418, + "xdm:path": "/here", + "repo:etag": "15" + }, { "@context": { "xdm": "https://ns.adobe.com/xdm/", @@ -316,20 +330,6 @@ "repo:size": 1632418, "xdm:path": "/here", "repo:etag": "15" - }, - { - "repo:id": "urn:aaid:a:b:01234578-0123-ABCD-abcd-0123456789ab", - "xdm:createDate": "2017-09-26T15:52:25+00:00", - "repo:createdDate": "2017-09-26T15:52:25+00:00", - "xdm:repositoryCreatedBy": "lars", - "xdm:modifyDate": "2017-09-26T15:52:25+00:00", - "repo:lastModifiedDate": "2017-09-26T15:52:25+00:00", - "xdm:repositoryLastModifiedBy": "2017-09-26T15:52:25+00:00", - "repo:version": "15", - "dc:title": "This is an example", - "repo:size": 1632418, - "xdm:path": "/here", - "repo:etag": "15" } ] } \ No newline at end of file diff --git a/docs/reference/common/extensible.schema.md b/docs/reference/common/extensible.schema.md index 68f2fbb4ee..6b562c8a9f 100644 --- a/docs/reference/common/extensible.schema.md +++ b/docs/reference/common/extensible.schema.md @@ -25,6 +25,23 @@ Replace `#/definitions/…` with the correct path to the `definitions` object in ## Extensibility base schema Examples +```json +{ + "repo:id": "urn:aaid:a:b:01234578-0123-ABCD-abcd-0123456789ab", + "xdm:createDate": "2017-09-26T15:52:25+00:00", + "repo:createdDate": "2017-09-26T15:52:25+00:00", + "xdm:repositoryCreatedBy": "lars", + "xdm:modifyDate": "2017-09-26T15:52:25+00:00", + "repo:lastModifiedDate": "2017-09-26T15:52:25+00:00", + "xdm:repositoryLastModifiedBy": "2017-09-26T15:52:25+00:00", + "repo:version": "15", + "dc:title": "This is an example", + "repo:size": 1632418, + "xdm:path": "/here", + "repo:etag": "15" +} +``` + ```json { "@context": { @@ -91,20 +108,3 @@ Replace `#/definitions/…` with the correct path to the `definitions` object in } ``` -```json -{ - "repo:id": "urn:aaid:a:b:01234578-0123-ABCD-abcd-0123456789ab", - "xdm:createDate": "2017-09-26T15:52:25+00:00", - "repo:createdDate": "2017-09-26T15:52:25+00:00", - "xdm:repositoryCreatedBy": "lars", - "xdm:modifyDate": "2017-09-26T15:52:25+00:00", - "repo:lastModifiedDate": "2017-09-26T15:52:25+00:00", - "xdm:repositoryLastModifiedBy": "2017-09-26T15:52:25+00:00", - "repo:version": "15", - "dc:title": "This is an example", - "repo:size": 1632418, - "xdm:path": "/here", - "repo:etag": "15" -} -``` - diff --git a/docs/reference/common/page.schema.json b/docs/reference/common/page.schema.json index d03d10f1ab..83d0a1480b 100644 --- a/docs/reference/common/page.schema.json +++ b/docs/reference/common/page.schema.json @@ -64,13 +64,13 @@ "orderBy": "id", "start": "123", "next": "789", - "type": "image/jpeg", "count": 100 }, { "orderBy": "id", "start": "123", "next": "789", + "type": "image/jpeg", "count": 100 } ] diff --git a/docs/reference/common/page.schema.md b/docs/reference/common/page.schema.md index a76ecb4736..01499ec994 100644 --- a/docs/reference/common/page.schema.md +++ b/docs/reference/common/page.schema.md @@ -19,7 +19,6 @@ Page information for paginated resource list operations. "orderBy": "id", "start": "123", "next": "789", - "type": "image/jpeg", "count": 100 } ``` @@ -29,6 +28,7 @@ Page information for paginated resource list operations. "orderBy": "id", "start": "123", "next": "789", + "type": "image/jpeg", "count": 100 } ``` diff --git a/docs/reference/context/experienceevent.schema.json b/docs/reference/context/experienceevent.schema.json index adba10056e..727e9a469e 100644 --- a/docs/reference/context/experienceevent.schema.json +++ b/docs/reference/context/experienceevent.schema.json @@ -143,170 +143,157 @@ "meta:status": "stabilizing", "examples": [ { - "@id": "https://data.adobe.io/experienceid-123456", - "xdm:dataSource": { - "@id": "https://data.adobe.io/datasources/datasource-123", - "xdm:code": "DataSourceIntegrationCode-123" - }, + "@id": "https://data.adobe.io/experienceid-123457", "xdm:timestamp": "2017-09-26T15:52:25+00:00", "xdm:endUserIDs": { "https://ns.adobe.com/experience/mcid": { - "xdm:id": "92312748749128", + "@id": "https://data.adobe.io/entities/identity/92312748749128", "xdm:namespace": { "xdm:code": "ECID" } }, "https://ns.adobe.com/experience/aaid": { - "xdm:id": "2394509340-30453470347", + "@id": "https://data.adobe.io/entities/identity/2394509340-30453470347", "xdm:namespace": { "xdm:code": "AVID" } - }, - "https://ns.adobe.com/experience/tntid": { - "xdm:id": "1233ce17-20e0-4a2c-8198-2a77fd60cf4d", - "xdm:namespace": { - "xdm:code": "tnt0051" - } } }, - "xdm:channel": { - "@id": "https://ns.adobe.com/xdm/channels/apns", - "@type": "https://ns.adobe.com/xdm/channel-types/mobile" - }, "xdm:environment": { - "xdm:type": "browser", "xdm:browserDetails": { - "xdm:name": "Chrome", - "xdm:version": "63.0.3239", - "xdm:acceptLanguage": "en", - "xdm:cookiesEnabled": true, - "xdm:javaScriptEnabled": true, - "xdm:javaScriptVersion": "1.8.5", - "xdm:javaEnabled": true, - "xdm:javaVersion": "Java SE 8", - "xdm:viewportHeight": 900, - "xdm:viewportWidth": 1680 + "xdm:userAgent": "AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" }, - "xdm:operatingSystem": "MAC OS", - "xdm:operatingSystemVersion": "10.13", - "xdm:connectionType": "cable" + "xdm:ipV4": "97.27.143.5" }, - "xdm:productListItems": [ - { - "xdm:SKU": "1002352692", - "xdm:lineItemId": "12345678", - "xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light", - "xdm:currencyCode": "USD", - "xdm:quantity": 1, - "xdm:priceTotal": 159 - } - ], - "xdm:commerce": { - "xdm:order": { - "xdm:purchaseID": "a8g784hjq1mnp3", - "xdm:purchaseOrderNumber": "123456", - "xdm:payments": [ - { - "xdm:transactionID": "transactid-a111", - "xdm:paymentAmount": 59, - "xdm:paymentType": "credit_card", - "xdm:currencyCode": "USD" + "xdm:media": { + "xdm:mediaTimed": { + "xdm:primaryAssetReference": { + "@id": "https://data.adobe.io/entities/media-timed-asset-reference/15234430", + "dc:title": "Floki Begs Helga for Freedom", + "xmpDM:duration": 87, + "iptc4xmpExt:Series": { + "iptc4xmpExt:Name": "nba_highlights", + "iptc4xmpExt:Identifier": "http://espn.com/series-identifiers/2613953" }, - { - "xdm:transactionId": "transactid-a222", - "xdm:paymentAmount": 100, - "xdm:paymentType": "gift_card", - "xdm:currencyCode": "USD" + "xdm:showType": "episode", + "xdm:streamFormat": "long", + "iptc4xmpExt:Season": { + "iptc4xmpExt:Number": 1 + }, + "iptc4xmpExt:Episode": { + "iptc4xmpExt:Number": 1 + }, + "iptc4xmpExt:Genre": [ + "sports" + ], + "iptc4xmpExt:Rating": [ + { + "iptc4xmpExt:RatingValue": "TV14", + "iptc4xmpExt:RatingSourceLink": "http://www.tvguidelines.org/ratings.htm" + } + ], + "iptc4xmpExt:Creator": [ + { + "iptc4xmpExt:Name": "ESPN" + } + ] + }, + "xdm:primaryAssetViewDetails": { + "@id": "https://data.adobe.io/entities/media-sessionid/1427461282884250114230", + "xdm:playerName": "watchespn", + "xdm:broadcastChannel": "WatchESPN", + "xdm:broadcastContentType": "VOD", + "xdm:streamFormat": "short", + "xdm:playerSDKVersion": { + "xdm:version": "1.0.8" + }, + "xdm:broadcastNetwork": "nbcu", + "xdm:adLoadType": "2", + "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", + "xdm:sessionTimeout": 1800, + "xdm:QOE": { + "xdm:errors": { + "xdm:value": 0 + }, + "xdm:buffers": { + "xdm:value": 4 + }, + "xdm:bufferTime": { + "xdm:value": 5 + }, + "xdm:stalls": { + "xdm:value": 0 + }, + "xdm:stallTime": { + "xdm:value": 0 + }, + "xdm:bitrateChanges": { + "xdm:value": 0 + }, + "xdm:bitrateAverage": { + "xdm:value": 320 + }, + "xdm:droppedFrames": { + "xdm:value": 2 + }, + "xdm:timeToStart": { + "xdm:value": 3 + }, + "xdm:mediaSdkErrors": "300,500.300.200", + "xdm:playerSdkErrors": "custom.error.code", + "xdm:externalSdkErrors": "100-5,11.12" } - ], - "xdm:currencyCode": "USD", - "xdm:priceTotal": 159 - }, - "xdm:purchases": { - "xdm:value": 1 - } - }, - "xdm:placeContext": { - "xdm:localTime": "2017-09-26T15:52:25+13:00", - "xdm:geo": { - "@id": "https://data.adobe.io/entities/geo/tokyo", - "xdm:countryCode": "JP", - "xdm:stateProvince": "JP-13", - "xdm:city": "Tōkyō", - "xdm:postalCode": "141-0032", - "schema:latitude": 35.6185, - "schema:longitude": 139.73237 - } - }, - "xdm:web": { - "xdm:webPageDetails": { - "xdm:siteSection": "Shopping Cart", - "xdm:server": "example.com", - "xdm:name": "Purchase Confirmation", - "xdm:URL": "https://www.example.com/orderConf", - "xdm:errorPage": false, - "xdm:homePage": false, - "xdm:pageViews": { + }, + "xdm:impressions": { "xdm:value": 1 - } - }, - "xdm:webReferrer": { - "xdm:URL": "https://www.example.com/checkout", - "xdm:referrerType": "internal" - } - }, - "xdm:marketing": { - "xdm:trackingCode": "marketingcampaign111" - }, - "xdm:profileStitching": { - "xdm:profileStitchID": { - "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", - "xdm:namespace": { - "xdm:code": "AAM" - } - }, - "xdm:version": "1.0", - "xdm:identities": [ - { - "xdm:id": "92312748749128", - "xdm:namespace": { - "xdm:code": "ECID" - } }, - { - "xdm:id": "62312748749321", - "xdm:namespace": { - "xdm:code": "ECID" - } + "xdm:completes": { + "xdm:value": 0 }, - { - "xdm:id": "49312748749132", - "xdm:namespace": { - "xdm:code": "ECID" - } - } - ] - }, - "xdm:segmentMemberships": [ - { - "xdm:segmentID": { - "@id": "https://data.adobe.io/entities/identity/92312748749128", - "xdm:namespace": { - "xdm:code": "AAM" - } + "xdm:timePlayed": { + "xdm:value": 80 }, - "xdm:profileStitchID": { - "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", - "xdm:namespace": { - "xdm:code": "AAM" - }, - "xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00", - "xdm:version": "1.0", - "xdm:validUntil": "2017-12-26T15:52:25+00:00", - "xdm:status": "realized" + "xdm:federated": { + "xdm:value": 0 + }, + "xdm:starts": { + "xdm:value": 1 + }, + "xdm:mediaSegmentView": { + "xdm:value": 1 + }, + "xdm:dropBeforeStart": { + "xdm:value": 0 + }, + "xdm:totalTimePlayed": { + "xdm:value": 190 + }, + "xdm:progress10": { + "xdm:value": 1 + }, + "xdm:firstQuartiles": { + "xdm:value": 1 + }, + "xdm:midpoints": { + "xdm:value": 1 + }, + "xdm:thirdQuartiles": { + "xdm:value": 1 + }, + "xdm:progress95": { + "xdm:value": 0 + }, + "xdm:resumes": { + "xdm:value": 0 + }, + "xdm:pauses": { + "xdm:value": 0 + }, + "xdm:pauseTime": { + "xdm:value": 0 } } - ] + } }, { "@id": "https://data.adobe.io/experienceid-2345678", @@ -538,106 +525,176 @@ "xdm:value": 1 } }, - "xdm:firstQuartiles": { - "xdm:value": 1 + "xdm:firstQuartiles": { + "xdm:value": 1 + } + } + }, + { + "@id": "https://data.adobe.io/experienceid-123456", + "xdm:dataSource": { + "@id": "https://data.adobe.io/datasources/datasource-123", + "xdm:code": "DataSourceIntegrationCode-123" + }, + "xdm:timestamp": "2017-09-26T15:52:25+00:00", + "xdm:endUserIDs": { + "https://ns.adobe.com/experience/mcid": { + "xdm:id": "92312748749128", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + "https://ns.adobe.com/experience/aaid": { + "xdm:id": "2394509340-30453470347", + "xdm:namespace": { + "xdm:code": "AVID" + } + }, + "https://ns.adobe.com/experience/tntid": { + "xdm:id": "1233ce17-20e0-4a2c-8198-2a77fd60cf4d", + "xdm:namespace": { + "xdm:code": "tnt0051" + } + } + }, + "xdm:channel": { + "@id": "https://ns.adobe.com/xdm/channels/apns", + "@type": "https://ns.adobe.com/xdm/channel-types/mobile" + }, + "xdm:environment": { + "xdm:type": "browser", + "xdm:browserDetails": { + "xdm:name": "Chrome", + "xdm:version": "63.0.3239", + "xdm:acceptLanguage": "en", + "xdm:cookiesEnabled": true, + "xdm:javaScriptEnabled": true, + "xdm:javaScriptVersion": "1.8.5", + "xdm:javaEnabled": true, + "xdm:javaVersion": "Java SE 8", + "xdm:viewportHeight": 900, + "xdm:viewportWidth": 1680 + }, + "xdm:operatingSystem": "MAC OS", + "xdm:operatingSystemVersion": "10.13", + "xdm:connectionType": "cable" + }, + "xdm:productListItems": [ + { + "xdm:SKU": "1002352692", + "xdm:lineItemId": "12345678", + "xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light", + "xdm:currencyCode": "USD", + "xdm:quantity": 1, + "xdm:priceTotal": 159 + } + ], + "xdm:commerce": { + "xdm:order": { + "xdm:purchaseID": "a8g784hjq1mnp3", + "xdm:purchaseOrderNumber": "123456", + "xdm:payments": [ + { + "xdm:transactionID": "transactid-a111", + "xdm:paymentAmount": 59, + "xdm:paymentType": "credit_card", + "xdm:currencyCode": "USD" + }, + { + "xdm:transactionId": "transactid-a222", + "xdm:paymentAmount": 100, + "xdm:paymentType": "gift_card", + "xdm:currencyCode": "USD" + } + ], + "xdm:currencyCode": "USD", + "xdm:priceTotal": 159 + }, + "xdm:purchases": { + "xdm:value": 1 + } + }, + "xdm:placeContext": { + "xdm:localTime": "2017-09-26T15:52:25+13:00", + "xdm:geo": { + "@id": "https://data.adobe.io/entities/geo/tokyo", + "xdm:countryCode": "JP", + "xdm:stateProvince": "JP-13", + "xdm:city": "Tōkyō", + "xdm:postalCode": "141-0032", + "schema:latitude": 35.6185, + "schema:longitude": 139.73237 + } + }, + "xdm:web": { + "xdm:webPageDetails": { + "xdm:siteSection": "Shopping Cart", + "xdm:server": "example.com", + "xdm:name": "Purchase Confirmation", + "xdm:URL": "https://www.example.com/orderConf", + "xdm:errorPage": false, + "xdm:homePage": false, + "xdm:pageViews": { + "xdm:value": 1 + } + }, + "xdm:webReferrer": { + "xdm:URL": "https://www.example.com/checkout", + "xdm:referrerType": "internal" } - } - }, - { - "@id": "https://data.adobe.io/experienceid-123459", - "xdm:timestamp": "2017-09-26T15:52:25+00:00", - "xdm:endUserIDs": { - "https://ns.adobe.com/experience/mcid": { - "@id": "https://data.adobe.io/entities/identity/92312748749128", + }, + "xdm:marketing": { + "xdm:trackingCode": "marketingcampaign111" + }, + "xdm:profileStitching": { + "xdm:profileStitchID": { + "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", "xdm:namespace": { - "xdm:code": "ECID" + "xdm:code": "AAM" } }, - "https://ns.adobe.com/experience/aaid": { - "@id": "https://data.adobe.io/entities/identity/2394509340-30453470347", - "xdm:namespace": { - "xdm:code": "AVID" + "xdm:version": "1.0", + "xdm:identities": [ + { + "xdm:id": "92312748749128", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + { + "xdm:id": "62312748749321", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + { + "xdm:id": "49312748749132", + "xdm:namespace": { + "xdm:code": "ECID" + } } - } - }, - "xdm:environment": { - "xdm:browserDetails": { - "xdm:userAgent": "AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" - }, - "xdm:ipV4": "97.27.143.5" + ] }, - "xdm:media": { - "xdm:mediaTimed": { - "xdm:primaryAssetReference": { - "@id": "https://data.adobe.io/entities/media-timed-asset-reference/15234430", - "dc:title": "Floki Begs Helga for Freedom", - "xmpDM:duration": 87, - "iptc4xmpExt:Series": { - "iptc4xmpExt:Name": "nba_highlights", - "iptc4xmpExt:Identifier": "http://espn.com/series-identifiers/2613953" - }, - "xdm:showType": "episode", - "xdm:streamFormat": "long", - "iptc4xmpExt:Season": { - "iptc4xmpExt:Number": 1 - }, - "iptc4xmpExt:Episode": { - "iptc4xmpExt:Number": 1 - }, - "iptc4xmpExt:Genre": [ - "sports" - ], - "iptc4xmpExt:Rating": [ - { - "iptc4xmpExt:RatingValue": "TV14", - "iptc4xmpExt:RatingSourceLink": "http://www.tvguidelines.org/ratings.htm" - } - ], - "iptc4xmpExt:Creator": [ - { - "iptc4xmpExt:Name": "ESPN" - } - ] - }, - "xdm:primaryAssetViewDetails": { - "@id": "https://data.adobe.io/entities/media-sessionid/1427461282884250114230", - "xdm:playerName": "watchespn", - "xdm:broadcastChannel": "WatchESPN", - "xdm:broadcastContentType": "VOD", - "xdm:streamFormat": "short", - "xdm:playerSDKVersion": { - "xdm:version": "1.0.8" - }, - "xdm:broadcastNetwork": "nbcu", - "xdm:adLoadType": "2", - "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", - "xdm:sessionTimeout": 1800 + "xdm:segmentMemberships": [ + { + "xdm:segmentID": { + "@id": "https://data.adobe.io/entities/identity/92312748749128", + "xdm:namespace": { + "xdm:code": "AAM" + } }, - "xdm:mediaChapter": { - "xdm:chapterAssetReference": { - "@id": "https://data.adobe.io/entities/media-chapter-asset-reference/2144511", - "dc:title": "Chapter1", - "xmpDM:duration": 44 - }, - "xdm:chapterAssetViewDetails": { - "xdm:index": 0, - "xdm:offset": 0 - }, - "xdm:impressions": { - "xdm:value": 1 - }, - "xdm:completes": { - "xdm:value": 1 - }, - "xdm:timePlayed": { - "xdm:value": 44 + "xdm:profileStitchID": { + "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", + "xdm:namespace": { + "xdm:code": "AAM" }, - "xdm:federated": { - "xdm:value": 0 - } + "xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00", + "xdm:version": "1.0", + "xdm:validUntil": "2017-12-26T15:52:25+00:00", + "xdm:status": "realized" } } - } + ] }, { "@id": "https://data.adobe.io/experienceid-123458", @@ -741,7 +798,7 @@ } }, { - "@id": "https://data.adobe.io/experienceid-123457", + "@id": "https://data.adobe.io/experienceid-123459", "xdm:timestamp": "2017-09-26T15:52:25+00:00", "xdm:endUserIDs": { "https://ns.adobe.com/experience/mcid": { @@ -808,87 +865,30 @@ "xdm:broadcastNetwork": "nbcu", "xdm:adLoadType": "2", "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", - "xdm:sessionTimeout": 1800, - "xdm:QOE": { - "xdm:errors": { - "xdm:value": 0 - }, - "xdm:buffers": { - "xdm:value": 4 - }, - "xdm:bufferTime": { - "xdm:value": 5 - }, - "xdm:stalls": { - "xdm:value": 0 - }, - "xdm:stallTime": { - "xdm:value": 0 - }, - "xdm:bitrateChanges": { - "xdm:value": 0 - }, - "xdm:bitrateAverage": { - "xdm:value": 320 - }, - "xdm:droppedFrames": { - "xdm:value": 2 - }, - "xdm:timeToStart": { - "xdm:value": 3 - }, - "xdm:mediaSdkErrors": "300,500.300.200", - "xdm:playerSdkErrors": "custom.error.code", - "xdm:externalSdkErrors": "100-5,11.12" - } - }, - "xdm:impressions": { - "xdm:value": 1 - }, - "xdm:completes": { - "xdm:value": 0 - }, - "xdm:timePlayed": { - "xdm:value": 80 - }, - "xdm:federated": { - "xdm:value": 0 - }, - "xdm:starts": { - "xdm:value": 1 - }, - "xdm:mediaSegmentView": { - "xdm:value": 1 - }, - "xdm:dropBeforeStart": { - "xdm:value": 0 - }, - "xdm:totalTimePlayed": { - "xdm:value": 190 - }, - "xdm:progress10": { - "xdm:value": 1 - }, - "xdm:firstQuartiles": { - "xdm:value": 1 - }, - "xdm:midpoints": { - "xdm:value": 1 - }, - "xdm:thirdQuartiles": { - "xdm:value": 1 - }, - "xdm:progress95": { - "xdm:value": 0 - }, - "xdm:resumes": { - "xdm:value": 0 - }, - "xdm:pauses": { - "xdm:value": 0 + "xdm:sessionTimeout": 1800 }, - "xdm:pauseTime": { - "xdm:value": 0 + "xdm:mediaChapter": { + "xdm:chapterAssetReference": { + "@id": "https://data.adobe.io/entities/media-chapter-asset-reference/2144511", + "dc:title": "Chapter1", + "xmpDM:duration": 44 + }, + "xdm:chapterAssetViewDetails": { + "xdm:index": 0, + "xdm:offset": 0 + }, + "xdm:impressions": { + "xdm:value": 1 + }, + "xdm:completes": { + "xdm:value": 1 + }, + "xdm:timePlayed": { + "xdm:value": 44 + }, + "xdm:federated": { + "xdm:value": 0 + } } } } diff --git a/docs/reference/context/experienceevent.schema.md b/docs/reference/context/experienceevent.schema.md index b97f7d6c88..d93a077ef7 100644 --- a/docs/reference/context/experienceevent.schema.md +++ b/docs/reference/context/experienceevent.schema.md @@ -35,170 +35,157 @@ The core ExperienceEvent XDM is used to capture observations that are altering o ```json { - "@id": "https://data.adobe.io/experienceid-123456", - "xdm:dataSource": { - "@id": "https://data.adobe.io/datasources/datasource-123", - "xdm:code": "DataSourceIntegrationCode-123" - }, + "@id": "https://data.adobe.io/experienceid-123457", "xdm:timestamp": "2017-09-26T15:52:25+00:00", "xdm:endUserIDs": { "https://ns.adobe.com/experience/mcid": { - "xdm:id": "92312748749128", + "@id": "https://data.adobe.io/entities/identity/92312748749128", "xdm:namespace": { "xdm:code": "ECID" } }, "https://ns.adobe.com/experience/aaid": { - "xdm:id": "2394509340-30453470347", + "@id": "https://data.adobe.io/entities/identity/2394509340-30453470347", "xdm:namespace": { "xdm:code": "AVID" } - }, - "https://ns.adobe.com/experience/tntid": { - "xdm:id": "1233ce17-20e0-4a2c-8198-2a77fd60cf4d", - "xdm:namespace": { - "xdm:code": "tnt0051" - } } }, - "xdm:channel": { - "@id": "https://ns.adobe.com/xdm/channels/apns", - "@type": "https://ns.adobe.com/xdm/channel-types/mobile" - }, "xdm:environment": { - "xdm:type": "browser", "xdm:browserDetails": { - "xdm:name": "Chrome", - "xdm:version": "63.0.3239", - "xdm:acceptLanguage": "en", - "xdm:cookiesEnabled": true, - "xdm:javaScriptEnabled": true, - "xdm:javaScriptVersion": "1.8.5", - "xdm:javaEnabled": true, - "xdm:javaVersion": "Java SE 8", - "xdm:viewportHeight": 900, - "xdm:viewportWidth": 1680 + "xdm:userAgent": "AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" }, - "xdm:operatingSystem": "MAC OS", - "xdm:operatingSystemVersion": "10.13", - "xdm:connectionType": "cable" + "xdm:ipV4": "97.27.143.5" }, - "xdm:productListItems": [ - { - "xdm:SKU": "1002352692", - "xdm:lineItemId": "12345678", - "xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light", - "xdm:currencyCode": "USD", - "xdm:quantity": 1, - "xdm:priceTotal": 159 - } - ], - "xdm:commerce": { - "xdm:order": { - "xdm:purchaseID": "a8g784hjq1mnp3", - "xdm:purchaseOrderNumber": "123456", - "xdm:payments": [ - { - "xdm:transactionID": "transactid-a111", - "xdm:paymentAmount": 59, - "xdm:paymentType": "credit_card", - "xdm:currencyCode": "USD" + "xdm:media": { + "xdm:mediaTimed": { + "xdm:primaryAssetReference": { + "@id": "https://data.adobe.io/entities/media-timed-asset-reference/15234430", + "dc:title": "Floki Begs Helga for Freedom", + "xmpDM:duration": 87, + "iptc4xmpExt:Series": { + "iptc4xmpExt:Name": "nba_highlights", + "iptc4xmpExt:Identifier": "http://espn.com/series-identifiers/2613953" }, - { - "xdm:transactionId": "transactid-a222", - "xdm:paymentAmount": 100, - "xdm:paymentType": "gift_card", - "xdm:currencyCode": "USD" + "xdm:showType": "episode", + "xdm:streamFormat": "long", + "iptc4xmpExt:Season": { + "iptc4xmpExt:Number": 1 + }, + "iptc4xmpExt:Episode": { + "iptc4xmpExt:Number": 1 + }, + "iptc4xmpExt:Genre": [ + "sports" + ], + "iptc4xmpExt:Rating": [ + { + "iptc4xmpExt:RatingValue": "TV14", + "iptc4xmpExt:RatingSourceLink": "http://www.tvguidelines.org/ratings.htm" + } + ], + "iptc4xmpExt:Creator": [ + { + "iptc4xmpExt:Name": "ESPN" + } + ] + }, + "xdm:primaryAssetViewDetails": { + "@id": "https://data.adobe.io/entities/media-sessionid/1427461282884250114230", + "xdm:playerName": "watchespn", + "xdm:broadcastChannel": "WatchESPN", + "xdm:broadcastContentType": "VOD", + "xdm:streamFormat": "short", + "xdm:playerSDKVersion": { + "xdm:version": "1.0.8" + }, + "xdm:broadcastNetwork": "nbcu", + "xdm:adLoadType": "2", + "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", + "xdm:sessionTimeout": 1800, + "xdm:QOE": { + "xdm:errors": { + "xdm:value": 0 + }, + "xdm:buffers": { + "xdm:value": 4 + }, + "xdm:bufferTime": { + "xdm:value": 5 + }, + "xdm:stalls": { + "xdm:value": 0 + }, + "xdm:stallTime": { + "xdm:value": 0 + }, + "xdm:bitrateChanges": { + "xdm:value": 0 + }, + "xdm:bitrateAverage": { + "xdm:value": 320 + }, + "xdm:droppedFrames": { + "xdm:value": 2 + }, + "xdm:timeToStart": { + "xdm:value": 3 + }, + "xdm:mediaSdkErrors": "300,500.300.200", + "xdm:playerSdkErrors": "custom.error.code", + "xdm:externalSdkErrors": "100-5,11.12" } - ], - "xdm:currencyCode": "USD", - "xdm:priceTotal": 159 - }, - "xdm:purchases": { - "xdm:value": 1 - } - }, - "xdm:placeContext": { - "xdm:localTime": "2017-09-26T15:52:25+13:00", - "xdm:geo": { - "@id": "https://data.adobe.io/entities/geo/tokyo", - "xdm:countryCode": "JP", - "xdm:stateProvince": "JP-13", - "xdm:city": "Tōkyō", - "xdm:postalCode": "141-0032", - "schema:latitude": 35.6185, - "schema:longitude": 139.73237 - } - }, - "xdm:web": { - "xdm:webPageDetails": { - "xdm:siteSection": "Shopping Cart", - "xdm:server": "example.com", - "xdm:name": "Purchase Confirmation", - "xdm:URL": "https://www.example.com/orderConf", - "xdm:errorPage": false, - "xdm:homePage": false, - "xdm:pageViews": { + }, + "xdm:impressions": { "xdm:value": 1 - } - }, - "xdm:webReferrer": { - "xdm:URL": "https://www.example.com/checkout", - "xdm:referrerType": "internal" - } - }, - "xdm:marketing": { - "xdm:trackingCode": "marketingcampaign111" - }, - "xdm:profileStitching": { - "xdm:profileStitchID": { - "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", - "xdm:namespace": { - "xdm:code": "AAM" - } - }, - "xdm:version": "1.0", - "xdm:identities": [ - { - "xdm:id": "92312748749128", - "xdm:namespace": { - "xdm:code": "ECID" - } }, - { - "xdm:id": "62312748749321", - "xdm:namespace": { - "xdm:code": "ECID" - } + "xdm:completes": { + "xdm:value": 0 }, - { - "xdm:id": "49312748749132", - "xdm:namespace": { - "xdm:code": "ECID" - } - } - ] - }, - "xdm:segmentMemberships": [ - { - "xdm:segmentID": { - "@id": "https://data.adobe.io/entities/identity/92312748749128", - "xdm:namespace": { - "xdm:code": "AAM" - } + "xdm:timePlayed": { + "xdm:value": 80 }, - "xdm:profileStitchID": { - "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", - "xdm:namespace": { - "xdm:code": "AAM" - }, - "xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00", - "xdm:version": "1.0", - "xdm:validUntil": "2017-12-26T15:52:25+00:00", - "xdm:status": "realized" + "xdm:federated": { + "xdm:value": 0 + }, + "xdm:starts": { + "xdm:value": 1 + }, + "xdm:mediaSegmentView": { + "xdm:value": 1 + }, + "xdm:dropBeforeStart": { + "xdm:value": 0 + }, + "xdm:totalTimePlayed": { + "xdm:value": 190 + }, + "xdm:progress10": { + "xdm:value": 1 + }, + "xdm:firstQuartiles": { + "xdm:value": 1 + }, + "xdm:midpoints": { + "xdm:value": 1 + }, + "xdm:thirdQuartiles": { + "xdm:value": 1 + }, + "xdm:progress95": { + "xdm:value": 0 + }, + "xdm:resumes": { + "xdm:value": 0 + }, + "xdm:pauses": { + "xdm:value": 0 + }, + "xdm:pauseTime": { + "xdm:value": 0 } } - ] + } } ``` @@ -436,109 +423,179 @@ The core ExperienceEvent XDM is used to capture observations that are altering o "xdm:value": 1 } }, - "xdm:firstQuartiles": { - "xdm:value": 1 + "xdm:firstQuartiles": { + "xdm:value": 1 + } + } +} +``` + +```json +{ + "@id": "https://data.adobe.io/experienceid-123456", + "xdm:dataSource": { + "@id": "https://data.adobe.io/datasources/datasource-123", + "xdm:code": "DataSourceIntegrationCode-123" + }, + "xdm:timestamp": "2017-09-26T15:52:25+00:00", + "xdm:endUserIDs": { + "https://ns.adobe.com/experience/mcid": { + "xdm:id": "92312748749128", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + "https://ns.adobe.com/experience/aaid": { + "xdm:id": "2394509340-30453470347", + "xdm:namespace": { + "xdm:code": "AVID" + } + }, + "https://ns.adobe.com/experience/tntid": { + "xdm:id": "1233ce17-20e0-4a2c-8198-2a77fd60cf4d", + "xdm:namespace": { + "xdm:code": "tnt0051" + } + } + }, + "xdm:channel": { + "@id": "https://ns.adobe.com/xdm/channels/apns", + "@type": "https://ns.adobe.com/xdm/channel-types/mobile" + }, + "xdm:environment": { + "xdm:type": "browser", + "xdm:browserDetails": { + "xdm:name": "Chrome", + "xdm:version": "63.0.3239", + "xdm:acceptLanguage": "en", + "xdm:cookiesEnabled": true, + "xdm:javaScriptEnabled": true, + "xdm:javaScriptVersion": "1.8.5", + "xdm:javaEnabled": true, + "xdm:javaVersion": "Java SE 8", + "xdm:viewportHeight": 900, + "xdm:viewportWidth": 1680 + }, + "xdm:operatingSystem": "MAC OS", + "xdm:operatingSystemVersion": "10.13", + "xdm:connectionType": "cable" + }, + "xdm:productListItems": [ + { + "xdm:SKU": "1002352692", + "xdm:lineItemId": "12345678", + "xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light", + "xdm:currencyCode": "USD", + "xdm:quantity": 1, + "xdm:priceTotal": 159 + } + ], + "xdm:commerce": { + "xdm:order": { + "xdm:purchaseID": "a8g784hjq1mnp3", + "xdm:purchaseOrderNumber": "123456", + "xdm:payments": [ + { + "xdm:transactionID": "transactid-a111", + "xdm:paymentAmount": 59, + "xdm:paymentType": "credit_card", + "xdm:currencyCode": "USD" + }, + { + "xdm:transactionId": "transactid-a222", + "xdm:paymentAmount": 100, + "xdm:paymentType": "gift_card", + "xdm:currencyCode": "USD" + } + ], + "xdm:currencyCode": "USD", + "xdm:priceTotal": 159 + }, + "xdm:purchases": { + "xdm:value": 1 + } + }, + "xdm:placeContext": { + "xdm:localTime": "2017-09-26T15:52:25+13:00", + "xdm:geo": { + "@id": "https://data.adobe.io/entities/geo/tokyo", + "xdm:countryCode": "JP", + "xdm:stateProvince": "JP-13", + "xdm:city": "Tōkyō", + "xdm:postalCode": "141-0032", + "schema:latitude": 35.6185, + "schema:longitude": 139.73237 + } + }, + "xdm:web": { + "xdm:webPageDetails": { + "xdm:siteSection": "Shopping Cart", + "xdm:server": "example.com", + "xdm:name": "Purchase Confirmation", + "xdm:URL": "https://www.example.com/orderConf", + "xdm:errorPage": false, + "xdm:homePage": false, + "xdm:pageViews": { + "xdm:value": 1 + } + }, + "xdm:webReferrer": { + "xdm:URL": "https://www.example.com/checkout", + "xdm:referrerType": "internal" } - } -} -``` - -```json -{ - "@id": "https://data.adobe.io/experienceid-123459", - "xdm:timestamp": "2017-09-26T15:52:25+00:00", - "xdm:endUserIDs": { - "https://ns.adobe.com/experience/mcid": { - "@id": "https://data.adobe.io/entities/identity/92312748749128", + }, + "xdm:marketing": { + "xdm:trackingCode": "marketingcampaign111" + }, + "xdm:profileStitching": { + "xdm:profileStitchID": { + "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", "xdm:namespace": { - "xdm:code": "ECID" + "xdm:code": "AAM" } }, - "https://ns.adobe.com/experience/aaid": { - "@id": "https://data.adobe.io/entities/identity/2394509340-30453470347", - "xdm:namespace": { - "xdm:code": "AVID" + "xdm:version": "1.0", + "xdm:identities": [ + { + "xdm:id": "92312748749128", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + { + "xdm:id": "62312748749321", + "xdm:namespace": { + "xdm:code": "ECID" + } + }, + { + "xdm:id": "49312748749132", + "xdm:namespace": { + "xdm:code": "ECID" + } } - } - }, - "xdm:environment": { - "xdm:browserDetails": { - "xdm:userAgent": "AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" - }, - "xdm:ipV4": "97.27.143.5" + ] }, - "xdm:media": { - "xdm:mediaTimed": { - "xdm:primaryAssetReference": { - "@id": "https://data.adobe.io/entities/media-timed-asset-reference/15234430", - "dc:title": "Floki Begs Helga for Freedom", - "xmpDM:duration": 87, - "iptc4xmpExt:Series": { - "iptc4xmpExt:Name": "nba_highlights", - "iptc4xmpExt:Identifier": "http://espn.com/series-identifiers/2613953" - }, - "xdm:showType": "episode", - "xdm:streamFormat": "long", - "iptc4xmpExt:Season": { - "iptc4xmpExt:Number": 1 - }, - "iptc4xmpExt:Episode": { - "iptc4xmpExt:Number": 1 - }, - "iptc4xmpExt:Genre": [ - "sports" - ], - "iptc4xmpExt:Rating": [ - { - "iptc4xmpExt:RatingValue": "TV14", - "iptc4xmpExt:RatingSourceLink": "http://www.tvguidelines.org/ratings.htm" - } - ], - "iptc4xmpExt:Creator": [ - { - "iptc4xmpExt:Name": "ESPN" - } - ] - }, - "xdm:primaryAssetViewDetails": { - "@id": "https://data.adobe.io/entities/media-sessionid/1427461282884250114230", - "xdm:playerName": "watchespn", - "xdm:broadcastChannel": "WatchESPN", - "xdm:broadcastContentType": "VOD", - "xdm:streamFormat": "short", - "xdm:playerSDKVersion": { - "xdm:version": "1.0.8" - }, - "xdm:broadcastNetwork": "nbcu", - "xdm:adLoadType": "2", - "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", - "xdm:sessionTimeout": 1800 + "xdm:segmentMemberships": [ + { + "xdm:segmentID": { + "@id": "https://data.adobe.io/entities/identity/92312748749128", + "xdm:namespace": { + "xdm:code": "AAM" + } }, - "xdm:mediaChapter": { - "xdm:chapterAssetReference": { - "@id": "https://data.adobe.io/entities/media-chapter-asset-reference/2144511", - "dc:title": "Chapter1", - "xmpDM:duration": 44 - }, - "xdm:chapterAssetViewDetails": { - "xdm:index": 0, - "xdm:offset": 0 - }, - "xdm:impressions": { - "xdm:value": 1 - }, - "xdm:completes": { - "xdm:value": 1 - }, - "xdm:timePlayed": { - "xdm:value": 44 + "xdm:profileStitchID": { + "@id": "https://data.adobe.io/entities/profileStitchIdentity/1", + "xdm:namespace": { + "xdm:code": "AAM" }, - "xdm:federated": { - "xdm:value": 0 - } + "xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00", + "xdm:version": "1.0", + "xdm:validUntil": "2017-12-26T15:52:25+00:00", + "xdm:status": "realized" } } - } + ] } ``` @@ -648,7 +705,7 @@ The core ExperienceEvent XDM is used to capture observations that are altering o ```json { - "@id": "https://data.adobe.io/experienceid-123457", + "@id": "https://data.adobe.io/experienceid-123459", "xdm:timestamp": "2017-09-26T15:52:25+00:00", "xdm:endUserIDs": { "https://ns.adobe.com/experience/mcid": { @@ -715,87 +772,30 @@ The core ExperienceEvent XDM is used to capture observations that are altering o "xdm:broadcastNetwork": "nbcu", "xdm:adLoadType": "2", "xdm:sourceFeed": "http%3A%2F%2Fvod01.pure.centurylink.net%2Fhls%2Fvu%2F9083406%2FVUBX0280890106690980_38_3_M_HD.m3u8", - "xdm:sessionTimeout": 1800, - "xdm:QOE": { - "xdm:errors": { - "xdm:value": 0 - }, - "xdm:buffers": { - "xdm:value": 4 - }, - "xdm:bufferTime": { - "xdm:value": 5 - }, - "xdm:stalls": { - "xdm:value": 0 - }, - "xdm:stallTime": { - "xdm:value": 0 - }, - "xdm:bitrateChanges": { - "xdm:value": 0 - }, - "xdm:bitrateAverage": { - "xdm:value": 320 - }, - "xdm:droppedFrames": { - "xdm:value": 2 - }, - "xdm:timeToStart": { - "xdm:value": 3 - }, - "xdm:mediaSdkErrors": "300,500.300.200", - "xdm:playerSdkErrors": "custom.error.code", - "xdm:externalSdkErrors": "100-5,11.12" - } - }, - "xdm:impressions": { - "xdm:value": 1 - }, - "xdm:completes": { - "xdm:value": 0 - }, - "xdm:timePlayed": { - "xdm:value": 80 - }, - "xdm:federated": { - "xdm:value": 0 - }, - "xdm:starts": { - "xdm:value": 1 - }, - "xdm:mediaSegmentView": { - "xdm:value": 1 - }, - "xdm:dropBeforeStart": { - "xdm:value": 0 - }, - "xdm:totalTimePlayed": { - "xdm:value": 190 - }, - "xdm:progress10": { - "xdm:value": 1 - }, - "xdm:firstQuartiles": { - "xdm:value": 1 - }, - "xdm:midpoints": { - "xdm:value": 1 - }, - "xdm:thirdQuartiles": { - "xdm:value": 1 - }, - "xdm:progress95": { - "xdm:value": 0 - }, - "xdm:resumes": { - "xdm:value": 0 - }, - "xdm:pauses": { - "xdm:value": 0 + "xdm:sessionTimeout": 1800 }, - "xdm:pauseTime": { - "xdm:value": 0 + "xdm:mediaChapter": { + "xdm:chapterAssetReference": { + "@id": "https://data.adobe.io/entities/media-chapter-asset-reference/2144511", + "dc:title": "Chapter1", + "xmpDM:duration": 44 + }, + "xdm:chapterAssetViewDetails": { + "xdm:index": 0, + "xdm:offset": 0 + }, + "xdm:impressions": { + "xdm:value": 1 + }, + "xdm:completes": { + "xdm:value": 1 + }, + "xdm:timePlayed": { + "xdm:value": 44 + }, + "xdm:federated": { + "xdm:value": 0 + } } } } diff --git a/docs/reference/context/identity.schema.json b/docs/reference/context/identity.schema.json index 79b6463f87..0cd79f3e2e 100644 --- a/docs/reference/context/identity.schema.json +++ b/docs/reference/context/identity.schema.json @@ -63,18 +63,18 @@ ], "meta:status": "stabilizing", "examples": [ + { + "xdm:id": "someone@example.com", + "xdm:namespace": { + "xdm:code": "Email" + } + }, { "xdm:id": "id123", "xdm:namespace": { "xdm:code": "AA12345" }, "xdm:authenticatedState": "ambiguous" - }, - { - "xdm:id": "someone@example.com", - "xdm:namespace": { - "xdm:code": "Email" - } } ] } \ No newline at end of file diff --git a/docs/reference/context/identity.schema.md b/docs/reference/context/identity.schema.md index 3c75c116c7..8c33d39736 100644 --- a/docs/reference/context/identity.schema.md +++ b/docs/reference/context/identity.schema.md @@ -21,20 +21,20 @@ Identity is used to clearly distinguish people that are interacting with digital ```json { - "xdm:id": "id123", + "xdm:id": "someone@example.com", "xdm:namespace": { - "xdm:code": "AA12345" - }, - "xdm:authenticatedState": "ambiguous" + "xdm:code": "Email" + } } ``` ```json { - "xdm:id": "someone@example.com", + "xdm:id": "id123", "xdm:namespace": { - "xdm:code": "Email" - } + "xdm:code": "AA12345" + }, + "xdm:authenticatedState": "ambiguous" } ``` diff --git a/docs/reference/context/person-name.schema.json b/docs/reference/context/person-name.schema.json index f6e5aa7756..0b14b297b9 100644 --- a/docs/reference/context/person-name.schema.json +++ b/docs/reference/context/person-name.schema.json @@ -53,10 +53,9 @@ "meta:status": "experimental", "examples": [ { - "xdm:firstName": "John", - "xdm:middleName": "S", - "xdm:lastName": "Doe", - "xdm:fullName": "John S. Doe" + "xdm:firstName": "فلانة", + "xdm:lastName": "الفلانية", + "xdm:fullName": "فلانة الفلانية" }, { "xdm:firstName": "张", @@ -64,9 +63,10 @@ "xdm:fullName": "张三" }, { - "xdm:firstName": "فلانة", - "xdm:lastName": "الفلانية", - "xdm:fullName": "فلانة الفلانية" + "xdm:firstName": "John", + "xdm:middleName": "S", + "xdm:lastName": "Doe", + "xdm:fullName": "John S. Doe" } ] } \ No newline at end of file diff --git a/docs/reference/context/person-name.schema.md b/docs/reference/context/person-name.schema.md index 4bbd2514be..29cb899ccf 100644 --- a/docs/reference/context/person-name.schema.md +++ b/docs/reference/context/person-name.schema.md @@ -23,10 +23,9 @@ In addition, a number of optional properties are made available that can be used ```json { - "xdm:firstName": "John", - "xdm:middleName": "S", - "xdm:lastName": "Doe", - "xdm:fullName": "John S. Doe" + "xdm:firstName": "فلانة", + "xdm:lastName": "الفلانية", + "xdm:fullName": "فلانة الفلانية" } ``` @@ -40,9 +39,10 @@ In addition, a number of optional properties are made available that can be used ```json { - "xdm:firstName": "فلانة", - "xdm:lastName": "الفلانية", - "xdm:fullName": "فلانة الفلانية" + "xdm:firstName": "John", + "xdm:middleName": "S", + "xdm:lastName": "Doe", + "xdm:fullName": "John S. Doe" } ``` diff --git a/docs/reference/context/person.schema.json b/docs/reference/context/person.schema.json index a23faaffd6..f5dcc0e96b 100644 --- a/docs/reference/context/person.schema.json +++ b/docs/reference/context/person.schema.json @@ -96,7 +96,7 @@ "xdm:lastName": "Doe", "xdm:fullName": "Jane F. Doe" }, - "xdm:birthDate": "1996-01-03" + "xdm:birthDayAndMonth": "01-03" }, { "xdm:name": { @@ -105,7 +105,7 @@ "xdm:lastName": "Doe", "xdm:fullName": "Jane F. Doe" }, - "xdm:birthDayAndMonth": "01-03" + "xdm:birthDate": "1996-01-03" } ] } \ No newline at end of file diff --git a/docs/reference/context/person.schema.md b/docs/reference/context/person.schema.md index ecabdc4fab..b2d321295e 100644 --- a/docs/reference/context/person.schema.md +++ b/docs/reference/context/person.schema.md @@ -28,7 +28,7 @@ An individual person. May represent a person acting in various roles, such as a "xdm:lastName": "Doe", "xdm:fullName": "Jane F. Doe" }, - "xdm:birthDate": "1996-01-03" + "xdm:birthDayAndMonth": "01-03" } ``` @@ -40,7 +40,7 @@ An individual person. May represent a person acting in various roles, such as a "xdm:lastName": "Doe", "xdm:fullName": "Jane F. Doe" }, - "xdm:birthDayAndMonth": "01-03" + "xdm:birthDate": "1996-01-03" } ``` diff --git a/docs/reference/context/poi-detail.schema.json b/docs/reference/context/poi-detail.schema.json index ef3dd74ccf..cd76b67021 100644 --- a/docs/reference/context/poi-detail.schema.json +++ b/docs/reference/context/poi-detail.schema.json @@ -79,11 +79,10 @@ "xdm:name": "Acme Hotel Tokyo", "xdm:category": "Resorts", "xdm:type": "Hotel", - "xdm:locatingType": "beacon", - "xdm:beaconInteractionDetails": { - "xdm:proximityUUID": "dd0094a0-52bb-4d3a-ab15-fcccb9b9b48e", - "xdm:beaconMajor": 100, - "xdm:beaconMinor": 23 + "xdm:locatingType": "gps", + "xdm:geoInteractionDetails": { + "xdm:distanceToCenter": 100, + "xdm:accuracy": 30 } }, { @@ -91,10 +90,11 @@ "xdm:name": "Acme Hotel Tokyo", "xdm:category": "Resorts", "xdm:type": "Hotel", - "xdm:locatingType": "gps", - "xdm:geoInteractionDetails": { - "xdm:distanceToCenter": 100, - "xdm:accuracy": 30 + "xdm:locatingType": "beacon", + "xdm:beaconInteractionDetails": { + "xdm:proximityUUID": "dd0094a0-52bb-4d3a-ab15-fcccb9b9b48e", + "xdm:beaconMajor": 100, + "xdm:beaconMinor": 23 } } ] diff --git a/docs/reference/context/poi-detail.schema.md b/docs/reference/context/poi-detail.schema.md index df2403f588..d790043ace 100644 --- a/docs/reference/context/poi-detail.schema.md +++ b/docs/reference/context/poi-detail.schema.md @@ -26,11 +26,10 @@ A Point or Place of Interest(POI) Details. Used to capture the techncial and met "xdm:name": "Acme Hotel Tokyo", "xdm:category": "Resorts", "xdm:type": "Hotel", - "xdm:locatingType": "beacon", - "xdm:beaconInteractionDetails": { - "xdm:proximityUUID": "dd0094a0-52bb-4d3a-ab15-fcccb9b9b48e", - "xdm:beaconMajor": 100, - "xdm:beaconMinor": 23 + "xdm:locatingType": "gps", + "xdm:geoInteractionDetails": { + "xdm:distanceToCenter": 100, + "xdm:accuracy": 30 } } ``` @@ -41,10 +40,11 @@ A Point or Place of Interest(POI) Details. Used to capture the techncial and met "xdm:name": "Acme Hotel Tokyo", "xdm:category": "Resorts", "xdm:type": "Hotel", - "xdm:locatingType": "gps", - "xdm:geoInteractionDetails": { - "xdm:distanceToCenter": 100, - "xdm:accuracy": 30 + "xdm:locatingType": "beacon", + "xdm:beaconInteractionDetails": { + "xdm:proximityUUID": "dd0094a0-52bb-4d3a-ab15-fcccb9b9b48e", + "xdm:beaconMajor": 100, + "xdm:beaconMinor": 23 } } ``` diff --git a/docs/reference/external/hal/hal-link.schema.json b/docs/reference/external/hal/hal-link.schema.json index 4764f59833..96b44241cf 100644 --- a/docs/reference/external/hal/hal-link.schema.json +++ b/docs/reference/external/hal/hal-link.schema.json @@ -107,12 +107,12 @@ ], "meta:status": "experimental", "examples": [ - { - "href": "http://www.adobe.com/" - }, { "href": "http://www.adobe.com/{product}", "templated": true + }, + { + "href": "http://www.adobe.com/" } ] } \ No newline at end of file diff --git a/docs/reference/external/hal/hal-link.schema.md b/docs/reference/external/hal/hal-link.schema.md index 881036fbee..8a4e7ce4e1 100644 --- a/docs/reference/external/hal/hal-link.schema.md +++ b/docs/reference/external/hal/hal-link.schema.md @@ -18,14 +18,14 @@ https://ns.adobe.com/xdm/external/hal/link ```json { - "href": "http://www.adobe.com/" + "href": "http://www.adobe.com/{product}", + "templated": true } ``` ```json { - "href": "http://www.adobe.com/{product}", - "templated": true + "href": "http://www.adobe.com/" } ``` diff --git a/docs/reference/external/hal/hal.schema.json b/docs/reference/external/hal/hal.schema.json index 325140cda8..f827b5c6e7 100644 --- a/docs/reference/external/hal/hal.schema.json +++ b/docs/reference/external/hal/hal.schema.json @@ -285,21 +285,42 @@ "self": { "href": "/orders/523" }, - "warehouses": [ - { - "href": "/warehouse/56" - }, + "replacing": [ { - "href": "/warehouse/56" + "href": "/orders/521" }, { - "href": "/warehouse/56" + "href": "/orders/520" } ], "invoice": { "href": "/invoices/873" } }, + "_embedded": { + "replacing": [ + { + "_links": { + "self": { + "href": "/orders/521" + } + }, + "currency": "USD", + "status": "open", + "total": 10.2 + }, + { + "_links": { + "self": { + "href": "/orders/521" + } + }, + "currency": "EUR", + "status": "open", + "total": 10.2 + } + ] + }, "currency": "USD", "status": "shipped", "total": 10.2 @@ -325,42 +346,21 @@ "self": { "href": "/orders/523" }, - "replacing": [ + "warehouses": [ { - "href": "/orders/521" + "href": "/warehouse/56" }, { - "href": "/orders/520" + "href": "/warehouse/56" + }, + { + "href": "/warehouse/56" } ], "invoice": { "href": "/invoices/873" } }, - "_embedded": { - "replacing": [ - { - "_links": { - "self": { - "href": "/orders/521" - } - }, - "currency": "USD", - "status": "open", - "total": 10.2 - }, - { - "_links": { - "self": { - "href": "/orders/521" - } - }, - "currency": "EUR", - "status": "open", - "total": 10.2 - } - ] - }, "currency": "USD", "status": "shipped", "total": 10.2 diff --git a/docs/reference/external/hal/hal.schema.md b/docs/reference/external/hal/hal.schema.md index 26cfd20beb..849d55e3fb 100644 --- a/docs/reference/external/hal/hal.schema.md +++ b/docs/reference/external/hal/hal.schema.md @@ -26,21 +26,42 @@ This external schema definition allows adding HAL expressions into an existing s "self": { "href": "/orders/523" }, - "warehouses": [ - { - "href": "/warehouse/56" - }, + "replacing": [ { - "href": "/warehouse/56" + "href": "/orders/521" }, { - "href": "/warehouse/56" + "href": "/orders/520" } ], "invoice": { "href": "/invoices/873" } }, + "_embedded": { + "replacing": [ + { + "_links": { + "self": { + "href": "/orders/521" + } + }, + "currency": "USD", + "status": "open", + "total": 10.2 + }, + { + "_links": { + "self": { + "href": "/orders/521" + } + }, + "currency": "EUR", + "status": "open", + "total": 10.2 + } + ] + }, "currency": "USD", "status": "shipped", "total": 10.2 @@ -72,42 +93,21 @@ This external schema definition allows adding HAL expressions into an existing s "self": { "href": "/orders/523" }, - "replacing": [ + "warehouses": [ { - "href": "/orders/521" + "href": "/warehouse/56" }, { - "href": "/orders/520" + "href": "/warehouse/56" + }, + { + "href": "/warehouse/56" } ], "invoice": { "href": "/invoices/873" } }, - "_embedded": { - "replacing": [ - { - "_links": { - "self": { - "href": "/orders/521" - } - }, - "currency": "USD", - "status": "open", - "total": 10.2 - }, - { - "_links": { - "self": { - "href": "/orders/521" - } - }, - "currency": "EUR", - "status": "open", - "total": 10.2 - } - ] - }, "currency": "USD", "status": "shipped", "total": 10.2 diff --git a/package.json b/package.json index 25ad952987..d01e3ac8f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xdm", - "version": "0.9.4", + "version": "0.9.5", "description": "Experience Data Models", "main": "", "config": {