1{ 2 "$schema": "http://json-schema.org/draft-06/schema#", 3 "title": "Performance Results", 4 "description": "Results from performance tests (AKA benchmarks).", 5 "type": "array", 6 "items": { 7 "type": "object", 8 "properties": { 9 "label": { "type": "string" }, 10 "unit": { "type": "string" }, 11 "samples": { 12 "type": "array", 13 "items": { 14 "$ref": "#/definitions/sample" 15 } 16 } 17 }, 18 "additionalProperties": false, 19 "required": ["label", "unit", "samples"] 20 }, 21 "definitions": { 22 "sample": { 23 "type": "object", 24 "properties": { 25 "label": { "type": "string" }, 26 "values": { 27 "type": "array", 28 "items": { "type": "number" } 29 } 30 }, 31 "additionalProperties": false, 32 "required": ["values"] 33 } 34 } 35} 36