/
1-0-0
138 lines (138 loc) · 3.49 KB
/
1-0-0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for a context entity for media player events that tracks a session of a single media player usage",
"self": {
"vendor": "com.snowplowanalytics.snowplow.media",
"name": "session",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"mediaSessionId": {
"type": "string",
"maxLength": 256,
"description": "An identifier for the media session that is kept while the media content is played in the media player."
},
"startedAt": {
"type": [
"null",
"string"
],
"description": "Local date-time timestamp of when the session started.",
"format": "date-time"
},
"pingInterval": {
"type": [
"integer",
"null"
],
"description": "Interval (seconds) in which the ping events will be sent. Default (specified in the tracker media docs) is assumed if not specified.",
"minimum": 0,
"maximum": 65535
},
"timePlayed": {
"type": [
"number",
"null"
],
"description": "Total seconds user spent playing content (excluding linear ads).",
"minimum": 0,
"maximum": 2147483647
},
"timePlayedMuted": {
"type": [
"number",
"null"
],
"description": "Total seconds user spent playing content on mute (excluding linear ads).",
"minimum": 0,
"maximum": 2147483647
},
"timePaused": {
"type": [
"number",
"null"
],
"description": "Total seconds user spent with paused content (excluding linear ads).",
"minimum": 0,
"maximum": 2147483647
},
"contentWatched": {
"type": [
"number",
"null"
],
"description": "Total seconds of the content played. Each part of the content played is counted once (i.e., counts rewinding or rewatching the same content only once). Playback rate does not affect this value.",
"minimum": 0,
"maximum": 2147483647
},
"timeBuffering": {
"type": [
"number",
"null"
],
"description": "Total seconds that playback was buffering during the session.",
"minimum": 0,
"maximum": 2147483647
},
"timeSpentAds": {
"type": [
"number",
"null"
],
"description": "Total seconds that ads played during the session.",
"minimum": 0,
"maximum": 2147483647
},
"ads": {
"type": [
"integer",
"null"
],
"description": "Number of ads played.",
"minimum": 0,
"maximum": 65535
},
"adsClicked": {
"type": [
"integer",
"null"
],
"description": "Number of ads that the user clicked on.",
"minimum": 0,
"maximum": 65535
},
"adsSkipped": {
"type": [
"integer",
"null"
],
"description": "Number of ads that the user skipped.",
"minimum": 0,
"maximum": 65535
},
"adBreaks": {
"type": [
"integer",
"null"
],
"description": "Number of ad breaks played.",
"minimum": 0,
"maximum": 65535
},
"avgPlaybackRate": {
"type": [
"number",
"null"
],
"description": "Average playback rate (1 is normal speed).",
"minimum": 0,
"maximum": 16
}
},
"additionalProperties": false,
"required": [
"mediaSessionId"
]
}