mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4b6edbd3ac
This adds a simple schema for build telemetry data. We can make it more restrictive once we have a better feeling for what kind of data we want to submit. This also moves more common data about the system to the telemetry handler. We leave psutil derivied information in the resource usage data as not every system will have psutil installed. MozReview-Commit-ID: CFRq1Ow6AOf
25 lines
727 B
JSON
25 lines
727 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"argv": {"type": "array"},
|
|
"system": {
|
|
"type": "object",
|
|
"properties": {
|
|
"architecture": {"type": "array"},
|
|
"linux_distribution": {"type": "array"},
|
|
"mac_ver": {"type": "array"},
|
|
"machine": {"type": "string"},
|
|
"python_version": {"type": "string"},
|
|
"release": {"type": "string"},
|
|
"system": {"type": "string"},
|
|
"version": {"type": "string"},
|
|
"win_ver": {"type": "array"}
|
|
},
|
|
"required": ["architecture", "machine", "python_version",
|
|
"release", "system", "version"]
|
|
}
|
|
},
|
|
"required": ["argv", "system"]
|
|
}
|