mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
41 lines
934 B
JSON
41 lines
934 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft/2020-12/schema",
|
|
"$id": "embedfs://unit.schema.json",
|
|
"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",
|
|
"cpu_used",
|
|
"cpu_load",
|
|
"Hz",
|
|
"W"
|
|
]
|
|
},
|
|
"prefix": {
|
|
"description": "Unit prefix",
|
|
"type": "string",
|
|
"enum": [
|
|
"K",
|
|
"M",
|
|
"G",
|
|
"T",
|
|
"P",
|
|
"E"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"base_unit"
|
|
]
|
|
}
|