Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue#364 - Video Analytics additions for ExperienceEvent - June 29th Milestone #417

Merged
merged 53 commits into from
Jul 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
3b01868
proposal #1
Jun 13, 2018
9c65fb2
first set of metric definitions
Jun 14, 2018
0195807
1
Jun 19, 2018
6cd42f4
2
Jun 19, 2018
914f0b7
proposal #1
Jun 13, 2018
198e6bd
first set of metric definitions
Jun 14, 2018
5cfcf71
Run npm run lint
chrisdegroot Jun 20, 2018
8b07ef5
Merge branch 'media-analytics-schemas' of https://git.corp.adobe.com/…
chrisdegroot Jun 20, 2018
102829d
Corrected naming, removed undefined fields in example for errors.
chrisdegroot Jun 20, 2018
b686ffc
Removed files that did were duplicates due to media-timed renaming
chrisdegroot Jun 20, 2018
d614976
Extracted the advertising-timed schemas out of advertising.schema.json
chrisdegroot Jun 20, 2018
e910ee7
typo
chrisdegroot Jun 20, 2018
94a3b87
typo
chrisdegroot Jun 20, 2018
ab9e445
Merge branch 'master' into final-PR-to-Adobe-WG
chrisdegroot Jun 20, 2018
c934240
Update package.json
cdegroot-adobe Jun 20, 2018
7e1cd04
Added uri format to @id in advertising-break schema
chrisdegroot Jun 22, 2018
ff1e440
Updated ad-break examples to be URIs
chrisdegroot Jun 22, 2018
1ab8e76
pr feedback #1
Jun 28, 2018
c5e4091
update several properties to follow ITPC standard
Jul 11, 2018
1271312
fix validation issues
Jul 11, 2018
5804ea2
add stream format to examples
Jul 11, 2018
c4746c1
lowercase ITPC namespace and property names
Jul 11, 2018
d8de4fa
Corrected xmpDM:duration in example
chrisdegroot Jul 11, 2018
116f630
Merge branch 'final-PR-to-Adobe-WG' of https://github.com/cdegroot-ad…
chrisdegroot Jul 11, 2018
87c307d
Added the IPTC context to the common context.
chrisdegroot Jul 11, 2018
a19c952
Used the 1.1 version for IPTC vs the data option for consistency.
chrisdegroot Jul 11, 2018
0708107
added the correct context references.
chrisdegroot Jul 11, 2018
2388ddc
Fixed white spacing
chrisdegroot Jul 11, 2018
b325f4f
testing examples
chrisdegroot Jul 11, 2018
8011732
Improved example
chrisdegroot Jul 11, 2018
11d5522
Added the iptc4xmpExt tot eh other field
chrisdegroot Jul 11, 2018
7903fab
Correcte the iptc4xmpExt adoption as they are mostly complex objects
chrisdegroot Jul 11, 2018
4736e5f
Corrected all examples with the complex itpc schema usage
chrisdegroot Jul 11, 2018
cf08a2d
Corrected number formatting in examples
chrisdegroot Jul 11, 2018
abe8072
Corrected case in examples
chrisdegroot Jul 11, 2018
e8c7907
Corrected types
chrisdegroot Jul 11, 2018
938355b
Corrected example type
chrisdegroot Jul 11, 2018
5ba57bc
Removed "xdm:dayPart" from examples.
chrisdegroot Jul 12, 2018
f65652c
Corrected examples
chrisdegroot Jul 12, 2018
71d1563
Corrected description of
chrisdegroot Jul 12, 2018
d42e603
Changed the title of @id from "Content ID" to "Asset ID"
chrisdegroot Jul 12, 2018
e9ac45a
Moved ShowName and assetID to be an IPTC Series structure.
chrisdegroot Jul 12, 2018
06f01ba
Corrected examples, typo
chrisdegroot Jul 12, 2018
0214f1d
Merge remote-tracking branch 'upstream/master' into final-PR-to-Adobe-WG
chrisdegroot Jul 12, 2018
8464282
Updated change log
chrisdegroot Jul 12, 2018
443cd81
Moved airDate and digitalDate out of this PR and into a future one so…
chrisdegroot Jul 13, 2018
50aa3db
Moved mediaSegment and bitrateAverageBucket out of this PR and into a…
chrisdegroot Jul 13, 2018
9b103db
Updated package schema count
chrisdegroot Jul 13, 2018
d08209f
Extracted the IPTC abstract schemas tot he \external\iptc folder.
chrisdegroot Jul 13, 2018
f33057a
Added rating schema
chrisdegroot Jul 13, 2018
a859d51
added iptc.org to the validator. Incremented the package.json schema …
chrisdegroot Jul 13, 2018
91651f1
typo
chrisdegroot Jul 13, 2018
2ec0440
Merge branch 'master' into final-PR-to-Adobe-WG
fmeschbe Jul 14, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@

[Planned for June 29, 2018](https://github.com/adobe/xdm/releases/tag/v0.9.3)

* Added Timed Media schemas to `Experience Event` based schemas #417
* Change `Identity` Schema `@id` property renamed to `xdm:id` #420
* Add post office box to align with Microsoft CDM #423
* Added datasourceID to the ExperienceCloud Extension for Experience Event. #425
2 changes: 1 addition & 1 deletion meta.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"type": "string",
"format": "uri",
"pattern":
"(https://ns\\.adobe\\.com/xdm/[a-z0-9-/]*)|(http://schema\\.org/.*)|(http://ns.adobe.com/adobecloud/core/1.0.*)|(https://tools\\.ietf\\.org/html/draft-kelly-json-hal-08/.*)"
"(https://ns\\.adobe\\.com/xdm/[a-z0-9-/]*)|(http://schema\\.org/.*)|(http://ns.adobe.com/adobecloud/core/1.0.*)|(https://tools\\.ietf\\.org/html/draft-kelly-json-hal-08/.*)|(http://www.iptc\\.org/.*)"
},
"meta:license": {
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"aem_user": "packageUser",
"aem_password": "override me securely",
"markdown-importer-version": "0.0.4",
"schemas": 176
"schemas": 211
},
"scripts": {
"clean": "rm -rf docs/reference",
Expand Down
5 changes: 3 additions & 2 deletions schemas/common/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"exif": "http://ns.adobe.com/exif/1.0/#",
"activitystreams": "https://www.w3.org/ns/activitystreams",
"schema": "http://schema.org",
"repo": "http://ns.adobe.com/adobecloud/core/1.0/"
"repo": "http://ns.adobe.com/adobecloud/core/1.0/",
"iptc4xmpExt": "http://iptc.org/std/Iptc4xmpExt/1.1/"
}
}
}
7 changes: 7 additions & 0 deletions schemas/common/extensible.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"^activitystreams:.*$": {},
"^schema:.*$": {},
"^repo:.*$": {},
"^iptc4xmpExt:.*$": {},
".+://.+": {},
"@.*": {}
},
Expand Down Expand Up @@ -196,6 +197,11 @@
"type": "string",
"format": "url",
"const": "http://ns.adobe.com/adobecloud/core/1.0/"
},
"iptc4xmpExt": {
"type": "string",
"format": "url",
"const": "http://iptc.org/std/Iptc4xmpExt/1.1/"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -231,6 +237,7 @@
"^activitystreams:.*$": {},
"^schema:.*$": {},
"^repo:.*$": {},
"^iptc4xmpExt:.*$": {},
".+://.+": {}
},
"required": ["@context"],
Expand Down
5 changes: 5 additions & 0 deletions schemas/context/advertising-break.example.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"@id": "https://data.adobe.io/entities/ad-break/2394509340-30453470347",
"dc:title": "My Pod",
"xdm:offset": 3
}
46 changes: 46 additions & 0 deletions schemas/context/advertising-break.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"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/xdm/context/advertising-break",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Ad Break",
"type": "object",
"description": "Details about how a timed advertising is being inserted into a timed media.",
"meta:extensible": true,
"definitions": {
"adBreak": {
"properties": {
"@id": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be format URI, or else be an xdm:id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved, thanks, also updated examples.

"title": "Ad Break ID",
"format": "uri",
"type": "string",
"description": "Identifier of the ad break."
},
"dc:title": {
"title": "Ad Break Name",
"type": "string",
"description": "The friendly name of the ad break."
},
"xdm:offset": {
"title": "Ad Break Offset",
"type": "integer",
"description": "The offset, in seconds, of the ad break from the start of the primary content."
}
},
"required": [
"@id",
"xdm:offset"
]
}
},
"allOf": [
{
"$ref": "#/definitions/adBreak"
}
],
"meta:status": "experimental"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"@id": "https://data.adobe.io/entities/asser-reference/23423",
"dc:title": "Acme offer 21",
"xmpDM:duration": 23
}
49 changes: 49 additions & 0 deletions schemas/context/advertising-timed-asset-reference.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"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/xdm/context/advertising-timed-asset-reference",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Ad Asset Reference",
"type": "object",
"description": "Asset information about the ad captured by the experience event.",
"meta:extensible": true,
"definitions": {
"adAssetReference": {
"properties": {
"@id": {
"title": "Ad ID",
"type": "string",
"format": "uri",
"description": "Identifier of the ad asset provided by Media Analytics customers."
},
"dc:title": {
"title": "Ad Name",
"type": "string",
"description": "The friendly (human-readable) name of the ad asset."
},
"xmpDM:duration": {
"title": "Ad Length/Duration",
"type": "integer",
"description": "Length of ad asset in seconds."
}
},
"required": [
"@id",
"xmpDM:duration"
]
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/adAssetReference"
}
],
"meta:status": "experimental"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"xdm:playerName": "Acme Ad Player",
"xdm:index": 1,
"xdm:adBreak": {
"@id": "https://data.adobe.io/entities/adbreak/2394509340-30453470347",
"dc:title": "My Pod",
"xdm:offset": 3
}
}
47 changes: 47 additions & 0 deletions schemas/context/advertising-timed-asset-view-details.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"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/xdm/context/advertising-timed-asset-view-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Ad Asset View Details",
"type": "object",
"description": "View details for the ad playback captured by the experience event.",
"meta:extensible": true,
"definitions": {
"adAssetViewDetails": {
"properties": {
"xdm:playerName": {
"title": "Ad Player Name",
"type": "string",
"description": "The name of the player responsible for rendering the ad."
},
"xdm:index": {
"title": "Ad Index in Pod",
"type": "integer",
"description": "The index of the ad inside the parent ad break. The first ad has index 0, the second 1, and so on."
},
"xdm:adBreak": {
"title": "Ad Break",
"description": "Details about how a timed advertising is being inserted into a timed media.",
"$ref": "https://ns.adobe.com/xdm/context/advertising-break"
}
},
"required": [
"xdm:index"
]
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/adAssetViewDetails"
}
],
"meta:status": "experimental"
}
37 changes: 29 additions & 8 deletions schemas/context/advertising.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,58 @@
"description":
"The runtime measured viewability specific details such as player volume, library version, window status, viewport/ad measured dimensions, etc."
},
"xdm:clicks": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Click(s) actions on an advertisement."
"xdm:adAssetReference": {
"title": "Ad Asset Reference",
"description": "Asset information about the ad captured by the experience event.",
"$ref": "https://ns.adobe.com/xdm/context/advertising-timed-asset-reference"
},
"xdm:adAssetViewDetails": {
"title": "Ad Asset View Details",
"description": "View details for the ad playback captured by the experience event.",
"$ref": "https://ns.adobe.com/xdm/context/advertising-timed-asset-view-details"
},
"xdm:completes": {
"title": "Completes",
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "Indicates if a timed media asset was watched to completion - this does not necessarily mean the viewer watched the whole video; viewer could have skipped ahead."
},
"xdm:timePlayed": {
"title": "Time Spent",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through it's entirety."
"description": "Describes the amount of time spent by a user on a specific timed media asset."
},
"xdm:federated": {
"title": "Federated",
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "Indicates if an experience event was created through data federation (data sharing between customers)."
},
"xdm:clicks": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "Click(s) actions on an advertisement."
},
"xdm:conversions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "A pre-defined action on a website triggered a conversion event to be fired"
"description": "A customer pre-defined action(s) which triggers an event for performance evaluation."
},
"xdm:firstQuartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through 25% of it's duration at normal speed."
"description": "A digital video ad has played through 25% of its duration at normal speed."
},
"xdm:impressions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "Impression(s) of an advertisement to an end user with the potential of being viewed."
},
"xdm:midpoints": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "A digital video ad has played through 50% of it's duration at normal speed."
"description": "A digital video ad has played through 50% of its duration at normal speed."
},
"xdm:starts": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has started playing."
},
"xdm:thirdQuartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like the right reference...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, this is how we implement metrics across all the schemas in XC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"description": "A digital video ad has played through 75% of it's duration at normal speed."
"description": "A digital video ad has played through 75% of its duration at normal speed."
}
}
}
Expand Down
Loading