File size: 1,594 Bytes
15dcc1e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://resmp.dev/schemas/benchmark-instrument-rev01.json",
"title": "RESMP Benchmark Instrument Rev 01",
"type": "object",
"required": ["title", "series", "groups"],
"additionalProperties": false,
"properties": {
"title": {"type": "string", "minLength": 1},
"subtitle": {"type": "string"},
"higherIsBetter": {"type": "boolean", "default": true},
"series": {
"type": "array", "minItems": 1,
"items": {
"type": "object", "required": ["id", "label", "color"], "additionalProperties": false,
"properties": {
"id": {"type": "string", "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"},
"label": {"type": "string", "minLength": 1},
"color": {"type": "string", "pattern": "^#[0-9A-Fa-f]{6}$"}
}
}
},
"groups": {
"type": "array", "minItems": 1,
"items": {
"type": "object", "required": ["name", "panels"], "additionalProperties": false,
"properties": {
"name": {"type": "string", "minLength": 1},
"panels": {
"type": "array", "minItems": 1,
"items": {
"type": "object", "required": ["name", "values"], "additionalProperties": false,
"properties": {
"name": {"type": "string", "minLength": 1},
"values": {
"type": "object",
"additionalProperties": {"type": ["number", "null"]}
}
}
}
}
}
}
}
}
}
|