mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2024-12-26 05:19:05 +01:00
Fix cluster.json
Add missing braces. Remove null value from aggregation enum. Make aggregation optional. Add required properties.
This commit is contained in:
parent
074ececbf8
commit
25cedadc4c
@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "HPC Cluster description",
|
||||
"title": "HPC cluster description",
|
||||
"description": "Meta data information of a HPC cluster",
|
||||
"type": "object",
|
||||
"properties":{
|
||||
@ -60,8 +60,7 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"sum",
|
||||
"avg",
|
||||
null
|
||||
"avg"
|
||||
]
|
||||
|
||||
},
|
||||
@ -87,10 +86,22 @@
|
||||
"alert": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"peak",
|
||||
"caution",
|
||||
"alert"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"unit",
|
||||
"scope",
|
||||
"timestep"
|
||||
]
|
||||
},
|
||||
"subClusters": {
|
||||
"description": "Array of cluster hardware partitions",
|
||||
@ -239,6 +250,10 @@
|
||||
"name",
|
||||
"metricDataRepository",
|
||||
"metricConfig",
|
||||
"partitions"
|
||||
"subClusters"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user