{ "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/MetricDataResult", "definitions": { "MessageData": { "required": [ "Code", "Value" ], "properties": { "Code": { "type": "string" }, "Value": { "type": "string" } }, "additionalProperties": false, "type": "object" }, "MetricDataResult": { "required": [ "Id", "Label", "Messages", "StatusCode", "Timestamps", "Values" ], "properties": { "Id": { "type": "string" }, "Label": { "type": "string" }, "Messages": { "items": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/MessageData" }, "type": "array" }, "StatusCode": { "type": "string" }, "Timestamps": { "items": { "type": "string", "format": "date-time" }, "type": "array" }, "Values": { "items": { "type": "number" }, "type": "array" } }, "additionalProperties": false, "type": "object" } } }