{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "values": {
            "type": "array",
            "items": {
                "type": "integer"
            }
        },
        "categoryActual": {
            "type": "object",
            "properties": {
                "category": {
                    "type": "integer"
                },
                "values": {
                    "$ref": "#/definitions/values"
                }
            },
            "additionalProperties": false,
            "required": [
                "category",
                "values"
            ]
        }
    },
    "type": "array",
    "items": {
        "$ref": "#/definitions/categoryActual"
    }
}