cc-specifications/schema/json/unit.schema.json
Jan Eitzinger 344fc6fdef Rework schema
* Change cpu to hwthread and gpu to accelerator
* Change sampletime to timestep
* Add Metric Data repository to cluster
2021-11-29 10:26:00 +01:00

37 lines
812 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Metric unit",
"description": "Format specification for job metric units",
"type": "object",
"properties": {
"base_unit": {
"description": "Metric base unit",
"type": "string",
"enum": [
"B",
"F",
"B/s",
"F/s",
"CPI",
"IPC",
"Hz"
]
},
"prefix": {
"description": "Unit prefix",
"type": "string",
"enum": [
"K",
"M",
"G",
"T",
"P",
"E"
]
}
},
"required": [
"base_unit"
]
}