{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Esquema Contenido tabla",
    "definitions": {
        "contenido": {
            "type": "object",
            "properties": {
                "titulos": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "minItems": 6,
                    "maxItems": 6
                },
                "filas": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/valoresFila"
                    },
                    "minItems": 1
                },
                "fuente": {
                    "type": "string"
                }
            },
            "required": [
                "titulos",
                "filas"
            ]
        },
        "valoresFila": {
            "type": "object",
            "properties": {
                "mes": {
                    "type": "string"
                },
                "porcentajes": {
                    "type": "array",
                    "items": {
                        "type": "number"
                    },
                    "minItems": 5,
                    "maxItems": 5
                }
            },
            "required": [
                "mes",
                "porcentajes"
            ]
        }
    },
    "type": "object",
    "properties": {
        "contenido": {
            "$ref": "#/definitions/contenido"
        }
    },
    "required": [
        "contenido"
    ]
}