{
    "description": "The schema is made for RenderTheFuck line chart.",
    "properties": {
        "labels": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "lines": {
            "items": {
                "properties": {
                    "data": {
                        "items": {
                            "type": "number"
                        },
                        "type": "array"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "data"
                ],
                "type": "object"
            },
            "type": "array"
        },
        "settings": {
            "properties": {
                "title": {
                    "minLength": 1,
                    "type": "string"
                }
            },
            "required": [
                "title"
            ],
            "type": "object"
        },
        "wtf": {
            "enum": [
                "line"
            ],
            "type": "string"
        }
    },
    "required": [
        "wtf",
        "settings",
        "lines"
    ],
    "type": "object"
}