-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1188 from snowplow/release/r130
Release/r130
- Loading branch information
Showing
10 changed files
with
854 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
schemas/com.snowplowanalytics.snowplow/identify/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
80 changes: 80 additions & 0 deletions
80
schemas/com.snowplowanalytics.snowplow/media_player/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
schemas/com.snowplowanalytics.snowplow/media_player_event/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |
Oops, something went wrong.