debian-mirror-gitlab/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json
2019-07-31 17:26:46 +00:00

20 lines
420 B
JSON

{
"type": "object",
"required": [
"unit",
"label"
],
"oneOf": [
{ "required": ["query"] },
{ "required": ["query_range"] }
],
"properties": {
"id": { "type": "string" },
"query_range": { "type": "string" },
"query": { "type": "string" },
"unit": { "type": "string" },
"label": { "type": "string" },
"track": { "type": "string" }
},
"additionalProperties": false
}