forked from mozilla-services/mozilla-pipeline-schemas
/
installation.1.schema.json
79 lines (79 loc) · 1.68 KB
/
installation.1.schema.json
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "installation",
"properties": {
"device_id": {
"type": ["string", "null"],
"description": "hashed Google Ad ID"
},
"client_id": {
"type": "string",
@COMMON_PATTERN_UUID_1_JSON@,
"description": "telemetry client_id"
},
"seq": {
"type": "integer",
"minimum": 0,
"description": "0-indexed sequence number"
},
"reason": {
"type": "string"
},
"locale": {
"type": "string",
"description": "application locale, such as 'en-US'"
},
"os": {
"type": "string"
},
"osversion": {
"type": "string"
},
"manufacturer": {
"type": "string",
"description": "Build.MANUFACTURER"
},
"model": {
"type": "string",
"description": "Build.MODEL"
},
"arch": {
"type": "string",
"description": "device architecture"
},
"profile_date": {
"type": "integer"
},
"created": {
"type": "string"
},
"tz": {
"type": "integer",
"description": "timezone offset in minutes from UTC"
},
"app_name": {
"type": "string"
},
"channel": {
"type": "string"
},
"campaign": {
"type": ["string", "null"],
"description": "Adjust campaign"
},
"adgroup": {
"type": ["string", "null"],
"description": "Adjust AdGroup"
},
"creative": {
"type": ["string", "null"],
"description": "Adjust creative"
},
"network": {
"type": ["string", "null"],
"description": "Adjust network"
}
},
"required": [ "client_id", "app_name", "channel" ]
}