summaryrefslogtreecommitdiffstats
path: root/build/telemetry-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'build/telemetry-schema.json')
-rw-r--r--build/telemetry-schema.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/telemetry-schema.json b/build/telemetry-schema.json
new file mode 100644
index 000000000..6157bf9d5
--- /dev/null
+++ b/build/telemetry-schema.json
@@ -0,0 +1,24 @@
+{
+ "$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"]
+}