mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2026-01-11 16:26:17 +01:00
Update to draft 2020. Fix reference schemas.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user