{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "LineChartSettings",
    "description": "The data contained in a LineChart settings object",
    "type": "object",
    "properties": {
        "title": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "xLabel": {
            "type": "string"
        },
        "yLabel": {
            "type": "string"
        },
        "legendPosition": {
            "enum": [
                "top",
                "right",
                "bottom",
                "left",
                "in",
                "none"
            ]
        },
        "maxItems": {
            "type": "integer",
            "minimum": 1
        },
        "style": {
            "type": "object",
            "properties": {
                "maxValue": {
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "minValue": {
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "pointDotSize": {
                    "type": "integer",
                    "minimum": 0
                },
                "bezierCurve": {
                    "type": "boolean"
                },
                "showGrid": {
                    "type": "boolean"
                },
                "animationDuration": {
                    "type": "integer",
                    "minimum": 0
                }
            }
        }
    }
}