Replace URL with local refs and small fixes

* Remove stop_time from job meta
* make Unit use unit.schema in cluster.json
This commit is contained in:
Jan Eitzinger
2022-10-06 11:17:48 +02:00
parent 42ff1e33a1
commit 1de04dd30d
6 changed files with 108 additions and 114 deletions

View File

@@ -1,13 +1,13 @@
{
"$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json",
"$id": "job-metric-data.schema.json",
"title": "Job metric data",
"description": "Metric data of a HPC job",
"type": "object",
"properties": {
"unit": {
"description": "Metric unit",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json"
"$ref": "unit.schema.json"
},
"timestep": {
"description": "Measurement interval in seconds",