Update to draft 2020. Fix reference schemas.

This commit is contained in:
Jan Eitzinger
2022-07-27 13:01:15 +02:00
parent 25cedadc4c
commit 8b8d55f209
6 changed files with 133 additions and 127 deletions

View File

@@ -1,11 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json",
"title": "Job metric data",
"description": "Metric data of a HPC job",
"type": "object",
"properties": {
"unit": {
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/unit.schema.json"
"description": "Metric unit",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json"
},
"scope": {
"type": "string",