Create hud_metrics.schema.json
Browse files
tools/hud_metrics.schema.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 3 |
+
"title": "HUDMetric",
|
| 4 |
+
"type": "object",
|
| 5 |
+
"properties": {
|
| 6 |
+
"metric": { "type": "string" },
|
| 7 |
+
"value": { "type": "number" },
|
| 8 |
+
"type": { "enum": ["bio", "dig"] }
|
| 9 |
+
},
|
| 10 |
+
"required": ["metric", "value", "type"]
|
| 11 |
+
}
|