-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperf-data.schema.json
66 lines (66 loc) · 2.07 KB
/
perf-data.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ArcticAnalytics performance data",
"description": "Analytics data from the Project Borealis performance test",
"type": "object",
"properties": {
"sessionId": {
"description": "The unique session identifier for a performance test run",
"type": "string"
},
"userId": {
"description": "The random base identifier for a performance test user",
"type": "string"
},
"buildInfo": {
"description": "The game client version",
"type": "string"
},
"events": {
"description": "The logged analytics events",
"type": "array",
"items": {
"$ref": "#/definitions/event"
}
}
},
"required": [ "sessionId", "userId", "buildInfo", "events" ],
"definitions": {
"event": {
"description": "An event that was logged by analytics",
"type": "object",
"required": [ "eventName" ],
"properties": {
"eventName": {
"description": "The key name of this event",
"type": "string"
},
"attributes": {
"$ref": "#/definitions/attributes"
}
}
},
"attributes": {
"description": "The attributes of an event",
"type": "array",
"items": {
"$ref": "#/definitions/attribute"
}
},
"attribute": {
"description": "An attribute of an event",
"type": "object",
"required": [ "name", "value" ],
"properties": {
"name": {
"description": "The key name of this attribute",
"type": "string"
},
"value": {
"description": "The value of the attribute",
"type": "string"
}
}
}
}
}