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,12 +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-statistics.schema.json",
"title": "Job statistics",
"description": "Format specification for job metric statistics",
"type": "object",
"properties": {
"unit": {
"description": "Metric unit",
"#ref": "https://github.com/RRZE-HPC/HPCJobDatabase/blob/master/json-schema/unit.schema.json"
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json"
},
"avg": {
"description": "Job metric average",