cc-backend/pkg/schema/schemas/job-metric-statistics.schema.json

35 lines
872 B
JSON
Raw Permalink Normal View History

2022-09-20 07:05:01 +02:00
{
"$schema": "http://json-schema.org/draft/2020-12/schema",
2023-06-27 15:35:29 +02:00
"$id": "embedfs://job-metric-statistics.schema.json",
2022-09-20 07:05:01 +02:00
"title": "Job statistics",
"description": "Format specification for job metric statistics",
"type": "object",
"properties": {
"unit": {
"description": "Metric unit",
2022-09-20 10:27:23 +02:00
"$ref": "embedfs://unit.schema.json"
2022-09-20 07:05:01 +02:00
},
"avg": {
"description": "Job metric average",
"type": "number",
"minimum": 0
},
"min": {
"description": "Job metric minimum",
"type": "number",
"minimum": 0
},
"max": {
"description": "Job metric maximum",
"type": "number",
"minimum": 0
}
},
"required": [
"unit",
"avg",
"min",
"max"
]
}