{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://hepdata.org/bad-submission/schema/data",
    "type": "object",
    "properties": {
        "type": {
            "id": "http://jsonschema.net/data_file",
            "type": "string"
        },
        "some_variables": {
            "id": "http://hepdata.org/submission/schema/data/independent_variables",
            "type": "array",
            "items": {
                "id": "http://hepdata.org/submission/schema/data/independent_variables/0",
                "type": "object",
                "properties": {
                    "header": {
                        "id": "http://hepdata.org/submission/schema/data/independent_variables/0/header",
                        "type": "object",
                        "properties": {
                            "name": {
                                "id": "http://hepdata.org/submission/schema/data/independent_variables/0/header/name",
                                "type": "string"
                            },
                            "units": {
                                "id": "http://hepdata.org/submission/schema/data/independent_variables/0/header/units",
                                "type": "string"
                            }
                        },
                        "additionalProperties": false,
                        "required": [
                            "name"
                        ]
                    },
                    "values": {
                        "id": "http://hepdata.org/submission/schema/data/independent_variables/0/values",
                        "type": "array",
                        "items": {
                            "id": "http://hepdata.org/submission/schema/data/independent_variables/0/values/1",
                            "type": "object",
                            "properties": {
                                "value": {
                                    "id": "http://hepdata.org/submission/schema/data/independent_variables/0/values/1/value",
                                    "type": [
                                        "string",
                                        "number"
                                    ]
                                },
                                "low": {
                                    "id": "http://hepdata.org/submission/schema/data/independent_variables/0/values/1/value",
                                    "type": "number"
                                },
                                "high": {
                                    "id": "http://hepdata.org/submission/schema/data/independent_variables/0/values/1/value",
                                    "type": "number"
                                }
                            },
                            "additionalProperties": false
                        }
                    }
                },
                "additionalProperties": false,
                "required": [
                    "header",
                    "values"
                ]
            },
            "required": [
                "0"
            ]
        },
        "name": {
            "id": "http://hepdata.org/submission/schema/data/name",
            "type": "string",
            "title": "Name.",
            "description": "Used to reference a data record when everything is in the same file.",
            "name": "name"
        }
    },
    "additionalProperties": false,
    "required": [
        "some_variables"
    ]
}