-
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 #1196 from snowplow/release/r131
R131
- Loading branch information
Showing
4 changed files
with
439 additions
and
0 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
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,159 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Context Schema with information about Roku device (reflects the ifDeviceInfo interface: https://developer.roku.com/en-gb/docs/references/brightscript/interfaces/ifdeviceinfo.md)", | ||
"self": { | ||
"format": "jsonschema", | ||
"name": "device_info", | ||
"vendor": "com.roku", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"model": { | ||
"type": "string", | ||
"description": "Model name of the Roku device.", | ||
"maxLength": 255 | ||
}, | ||
"modelDisplayName": { | ||
"type": "string", | ||
"description": "Model display name.", | ||
"maxLength": 65535 | ||
}, | ||
"modelType": { | ||
"type": "string", | ||
"description": "Type of device.", | ||
"maxLength": 255 | ||
}, | ||
"osVersion": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "Major, minor, revision, and build number of the Roku OS running on the device separated by dots.", | ||
"maxLength": 255 | ||
}, | ||
"channelClientId": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "A unique device identifier that is different across channels.", | ||
"maxLength": 255 | ||
}, | ||
"isRIDADisabled": { | ||
"type": [ | ||
"boolean", | ||
"null" | ||
], | ||
"description": "Indicates whether tracking via Roku's ID for Advertisers (RIDA) is disabled on the device." | ||
}, | ||
"RIDA": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "A persistent unique identifier (UUID) for the device.", | ||
"maxLength": 255 | ||
}, | ||
"captionsMode": { | ||
"type": "string", | ||
"description": "Determines whether global captions are turned on or off, or are in instant replay mode.", | ||
"maxLength": 255 | ||
}, | ||
"audioOutputChannel": { | ||
"type": "string", | ||
"description": "Type of audio output.", | ||
"maxLength": 255 | ||
}, | ||
"memoryLevel": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "General memory level of the channel.", | ||
"maxLength": 255 | ||
}, | ||
"timeSinceLastKeypress": { | ||
"type": "integer", | ||
"description": "The number of seconds since the last remote keypress was received.", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"userCountryCode": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "Country code associated with the user's Roku account, normally the ISO 3166-1 (2-letter) code", | ||
"maxLength": 255 | ||
}, | ||
"countryCode": { | ||
"type": "string", | ||
"description": "Indicates the Roku Channel Store associated with a user's Roku account. May be a ISO 3166-1 country code or a Roku Powered Channel Store Identifier", | ||
"maxLength": 255 | ||
}, | ||
"videoMode": { | ||
"type": "string", | ||
"description": "Video playback resolution.", | ||
"maxLength": 255 | ||
}, | ||
"displayWidth": { | ||
"type": "integer", | ||
"description": "Physical width of the attached display in centimeters.", | ||
"minimum": 0, | ||
"maximum": 65535 | ||
}, | ||
"displayHeight": { | ||
"type": "integer", | ||
"description": "Physical height of the attached display in centimeters.", | ||
"minimum": 0, | ||
"maximum": 65535 | ||
}, | ||
"displayProperties": { | ||
"type": "array", | ||
"description": "List of keys for display properties of the screen.", | ||
"items": { | ||
"type": "string", | ||
"description": "Display property of the screen.", | ||
"maxLength": 255 | ||
} | ||
}, | ||
"connectionType": { | ||
"type": "string", | ||
"description": "Type of internet connection the device is using.", | ||
"maxLength": 255 | ||
}, | ||
"internetStatus": { | ||
"type": [ | ||
"boolean", | ||
"null" | ||
], | ||
"description": "Internet connection status of the device." | ||
}, | ||
"features": { | ||
"type": "array", | ||
"description": "List of features that the current device/firmware supports.", | ||
"items": { | ||
"type": "string", | ||
"description": "Feature that the current device/firmware supports.", | ||
"maxLength": 255 | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"model", | ||
"modelDisplayName", | ||
"modelType", | ||
"captionsMode", | ||
"audioOutputChannel", | ||
"timeSinceLastKeypress", | ||
"countryCode", | ||
"videoMode", | ||
"displayWidth", | ||
"displayHeight", | ||
"displayProperties", | ||
"connectionType", | ||
"features" | ||
], | ||
"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,143 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Context Schema for a Roku video event (reflects the Video node: https://developer.roku.com/en-gb/docs/references/scenegraph/media-playback-nodes/video.md)", | ||
"self": { | ||
"format": "jsonschema", | ||
"name": "video", | ||
"vendor": "com.roku", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"videoId": { | ||
"type": "string", | ||
"description": "ID generated when video tracking of the video node was initialized.", | ||
"maxLength": 255 | ||
}, | ||
"contentId": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "ID of video provided in content metadata.", | ||
"maxLength": 255 | ||
}, | ||
"contentTitle": { | ||
"description": "Title of video provided in content metadata.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 65535 | ||
}, | ||
"contentUrl": { | ||
"description": "URL of video provided in content metadata.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 65535, | ||
"format": "uri" | ||
}, | ||
"contentType": { | ||
"description": "Category of video (e.g., movie, season, series) provided in content metadata.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 255 | ||
}, | ||
"streamFormat": { | ||
"description": "Container format of video (e.g., mp4, wma, mkv) provided in content metadata.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 255 | ||
}, | ||
"streamUrl": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "URL of the current stream.", | ||
"maxLength": 65535, | ||
"format": "uri" | ||
}, | ||
"measuredBitrate": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"description": "Measured bitrate (bps) of the network when the stream was selected.", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"streamBitrate": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"description": "Current bitrate of the stream.", | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"isUnderrun": { | ||
"type": [ | ||
"boolean", | ||
"null" | ||
], | ||
"description": "Indicates whether the stream was downloaded due to an underrun." | ||
}, | ||
"isResumed": { | ||
"type": [ | ||
"boolean", | ||
"null" | ||
], | ||
"description": "Indicates whether the playback was resumed after trickplay." | ||
}, | ||
"videoFormat": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "Video codec of the currently playing video stream (e.g., hevc, mpeg2, mpeg4_15).", | ||
"maxLength": 255 | ||
}, | ||
"timeToStartStreaming": { | ||
"type": [ | ||
"number", | ||
"null" | ||
], | ||
"description": "Time in seconds from playback being started until the video actually began playing.", | ||
"minimum": 0, | ||
"maximum": 9007199254740991 | ||
}, | ||
"width": { | ||
"type": "integer", | ||
"description": "Width of the video play window in pixels. 0 if the play window is set to the width of the entire display screen.", | ||
"minimum": 0, | ||
"maximum": 65535 | ||
}, | ||
"height": { | ||
"type": "integer", | ||
"description": "Height of the video play window in pixels. 0 if the play window is set to the height of the entire display screen.", | ||
"minimum": 0, | ||
"maximum": 65535 | ||
}, | ||
"errorStr": { | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"description": "A diagnostic message indicating a video play error. Refer to the Roku Video documentation for the format of the string.", | ||
"maxLength": 65535 | ||
} | ||
}, | ||
"required": [ | ||
"videoId", | ||
"width", | ||
"height" | ||
], | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.