cc-specifications/schema/json/job-metric-statistics.schema.json
Jan Eitzinger fc69a29b34 Rework schema
* Add partition and topology to cluster
* Move accelerator spec from job resources to partitions
* Change to consistent camelCase
* Fix ref URLS
2021-12-17 06:54:16 +01:00

34 lines
867 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Job statistics",
"description": "Format specification for job metric statistics",
"type": "object",
"properties": {
"unit": {
"description": "Metric unit",
"#ref": "https://github.com/RRZE-HPC/HPCJobDatabase/blob/master/json-schema/unit.schema.json"
},
"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"
]
}