Skip to content

Commit

Permalink
Merge pull request #1188 from snowplow/release/r130
Browse files Browse the repository at this point in the history
Release/r130
  • Loading branch information
jbeemster committed Dec 1, 2021
2 parents 4ee98cc + cb35fbb commit be84568
Show file tree
Hide file tree
Showing 10 changed files with 854 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Release 130 (2021-12-01)
------------------------
Add schemas/nl.basjes/yauaa_context/jsonschema/1-0-3 (#1126)
Add com.snowplowanalytics.snowplow/identify/jsonschema/1-0-0 (#1185)
Add com.youtube/youtube/jsonschema/1-0-0 (#1180)
Add org.whatwg/video_element/jsonschema/1-0-0 (#1179)
Add org.whatwg/media_element/jsonschema/1-0-0 (#1178)
Add com.snowplowanalytics.snowplow/media_player_event/jsonschema/1-0-0 (#1177)
Add com.snowplowanalytics.snowplow/media_player/jsonschema/1-0-0 (#1176)

Release 129 (2021-11-01)
------------------------
Infrastructure: Push schema lists to Iglu Central (#1181)
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ limitations under the License.
[cd]: https://github.com/snowplow/iglu-central/actions?query=workflow%3ACI
[cd-image]: https://github.com/snowplow/iglu-central/workflows/CI/badge.svg

[release-image]: http://img.shields.io/badge/release-128-orange.svg?style=flat
[release-image]: https://img.shields.io/github/v/release/snowplow/iglu-central
[releases]: https://github.com/snowplow/iglu-central/releases

[license-image]: http://img.shields.io/badge/license-Apache--2-blue.svg?style=flat
[license]: http://www.apache.org/licenses/LICENSE-2.0
[license-image]: https://img.shields.io/github/license/snowplow/iglu-central
[license]: https://www.apache.org/licenses/LICENSE-2.0

[iglucentral-website]: http://iglucentral.com
[snowplow-repo]: https://github.com/snowplow/snowplow
Expand Down
25 changes: 25 additions & 0 deletions schemas/com.snowplowanalytics.snowplow/identify/jsonschema/1-0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "identify",
"version": "1-0-0",
"format": "jsonschema"
},
"description": "A Snowplow identify event.",
"type": "object",
"properties": {
"id": {
"description": "The user identifier.",
"type": ["string", "null"],
"maxLength": 256
},
"email": {
"description": "The user email address.",
"type": ["string", "null"],
"maxLength": 256
}

},
"additionalProperties": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Common Context Schema for a media player event",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "media_player",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"currentTime": {
"type": "number",
"description": "The current playback time",
"minimum": 0,
"maximum": 9007199254740991
},
"duration": {
"type": [
"number",
"null"
],
"description": "A double-precision floating-point value indicating the duration of the media in seconds",
"minimum": 0,
"maximum": 9007199254740991
},
"ended": {
"type": "boolean",
"description": "If playback of the media has ended"
},
"isLive": {
"type": "boolean",
"description": "If the media is live"
},
"loop": {
"type": "boolean",
"description": "If the video should restart after ending"
},
"muted": {
"type": "boolean",
"description": "If the media element is muted"
},
"paused": {
"type": "boolean",
"description": "If the media element is paused"
},
"percentProgress": {
"type": [
"integer",
"null"
],
"description": "The percent of the way through the media",
"minimum": 0,
"maximum": 100
},
"playbackRate": {
"type": "number",
"description": "Playback rate (1 is normal)",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"volume": {
"type": "integer",
"description": "Volume percent",
"minimum": 0,
"maximum": 100
}
},
"additionalProperties": false,
"required": [
"currentTime",
"duration",
"ended",
"loop",
"muted",
"paused",
"playbackRate",
"volume"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for a media event",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "media_player_event",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The event fired by the media player",
"maxLength": 255
},
"label": {
"type": [
"string",
"null"
],
"description": "A custom identifier",
"maxLength": 4096
}
},
"required": [
"type"
],
"additionalProperties": false
}

158 changes: 158 additions & 0 deletions schemas/com.youtube/youtube/jsonschema/1-0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Context Schema for a youtube player event",
"self": {
"vendor": "com.youtube",
"name": "youtube",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"avaliablePlaybackRates": {
"type": "array",
"description": "An array of playback rates in which the current video is available",
"items": {
"type": "number",
"minimum": 0,
"maximum": 128
}
},
"avaliableQualityLevels": {
"type": ["array", "null"],
"description": "An array of quality levels in which the current video is available",
"items": {
"type": "string",
"maxLength": 128
}
},
"cued": {
"type": "boolean",
"description": "If the video is cued"
},
"playerId": {
"type": "string",
"description": "The HTML id of the video element",
"maxLength": 65535
},
"autoPlay": {
"type": "boolean",
"description": "This specifies whether the initial video will automatically start to play when the player loads."
},
"buffering": {
"type": "boolean",
"description": "If the player is buffering"
},
"controls": {
"type": "boolean",
"description": "Whether the video player controls are displayed"
},
"error": {
"type": [
"string",
"null"
],
"description": "A string of the latest error to occur, or null if no errors",
"enum": [
"INVALID_PARAMETER",
"HTML5_PLAYER_ERROR",
"NOT_FOUND",
"EMBED_DISALLOWED"
]
},
"loaded": {
"type": "integer",
"description": "The percentage of the video that the player shows as buffered",
"minimum": 0,
"maximum": 100
},
"origin": {
"type": [
"string",
"null"
],
"description": "The origin domain of the embed",
"maxLength": 65535
},
"playbackQuality": {
"type": "string",
"description": "The quality level of the current video",
"maxLength": 128
},
"playlist": {
"type": [
"array",
"null"
],
"description": "An array of the video IDs in the playlist as they are currently ordered."
},
"playlistIndex": {
"type": [
"number",
"null"
],
"description": "The index of the playlist video that is currently playing",
"minimum": 0,
"maximum": 65535
},
"unstarted": {
"type": "boolean",
"description": "If the player hasn't started"
},
"url": {
"type": "string",
"description": "The YouTube embed URL of the media resource",
"maxLength": 65535,
"format": "uri"
},
"fov": {
"type": [
"number",
"null"
],
"description": "The field-of-view of the view in degrees, as measured along the longer edge of the viewport",
"minimum": 30,
"maximum": 120
},
"roll": {
"type": [
"number",
"null"
],
"description": "The clockwise or counterclockwise rotational angle of the view in degrees",
"minimum": -180,
"maximum": 180
},
"pitch": {
"type": [
"number",
"null"
],
"description": "The vertical angle of the view in degrees",
"minimum": -90,
"maximum": 90
},
"yaw": {
"type": [
"number",
"null"
],
"description": "The horizontal angle of the view in degrees",
"minimum": 0,
"maximum": 360
}
},
"additionalProperties": false,
"required": [
"avaliablePlaybackRates",
"autoPlay",
"buffering",
"controls",
"cued",
"loaded",
"playbackQuality",
"playerId",
"unstarted",
"url"
]
}
Loading

0 comments on commit be84568

Please sign in to comment.