{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "measuredParameter": {
            "description": "recorded parameter value",
            "properties": {
                "date": {
                    "_format": "date-time",
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                },
                "value": {
                    "type": "number"
                }
            },
            "required": [
                "date",
                "unit",
                "value"
            ],
            "type": "object"
        }
    },
    "description": "QISKit device backend parameters",
    "id": "http://qiskit.org/device-file/parameters-01/schema#",
    "properties": {
        "fridgeParameters": {
            "cooldownDate": {
                "_format": "date-time",
                "type": "string"
            },
            "properties": {
                "Temperature": {
                    "$ref": "#/definitions/measuredParameter"
                }
            },
            "required": [
                "Temperature",
                "cooldownDate"
            ],
            "type": "object"
        },
        "lastUpdateData": {
            "_format": "date-time",
            "type": "string"
        },
        "qubits": {
            "items": {
                "properties": {
                    "T1": {
                        "$ref": "#/definitions/measuredParameter"
                    },
                    "T2": {
                        "$ref": "#/definitions/measuredParameter"
                    },
                    "buffer": {
                        "$ref": "#/definitions/measuredParameter"
                    },
                    "frequency": {
                        "$ref": "#/definitions/measuredParameter"
                    },
                    "gateTime": {
                        "$ref": "#/definitions/measuredParameter"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "required": [
                    "T1",
                    "T2",
                    "buffer",
                    "frequency",
                    "gateTime",
                    "name"
                ],
                "type": "object"
            },
            "minItems": 1,
            "title": "System qubit parameters",
            "type": "array"
        }
    },
    "required": [
        "fridgeParameters",
        "lastUpdateDate",
        "qubits"
    ],
    "type": "object"
}