{
    "description": "The schema is made for RenderTheFuck timeline diagram.",
    "properties": {
        "lines": {
            "items": {
                "properties": {
                    "from": {
                        "type": "number"
                    },
                    "title": {
                        "type": "string"
                    },
                    "to": {
                        "type": "number"
                    },
                    "wiki": {
                        "type": "string"
                    }
                },
                "required": [
                    "title",
                    "from",
                    "to"
                ],
                "type": "object"
            },
            "type": "array"
        },
        "settings": {
            "properties": {
                "title": {
                    "minLength": 1,
                    "type": "string"
                },
                "unit": {
                    "enum": [
                        "year"
                    ],
                    "type": "string"
                }
            },
            "required": [
                "title",
                "unit"
            ],
            "type": "object"
        },
        "wtf": {
            "enum": [
                "timeline"
            ],
            "type": "string"
        }
    },
    "required": [
        "wtf",
        "settings",
        "lines"
    ],
    "type": "object"
}