{
    "output": "playoff.html",
    "page": {
        "title": "II liga NW, play-off",
        "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
        "refresh": 60,
        "width": 280,
        "height": 70,
        "margin": 80,
        "finishing_position_indicators": 1,
        "team_boxes": {
            "label_length_limit": 25,
            "predict_teams": 1
        }
    },
    "canvas": {
        "box_positioning": {
            "5": 30,
            "6": 150,
            "7": 350,
            "8": 200,
            "9": 91,
            "15": 710,
            "16": 890
        }
    },
    "teams": {
		"link": "http://www.pzbs.pl/wyniki/liga/liga2018-19/2liga/nw/nwrrleaderb.html"
	},
    "position_styles": [
        {
            "class": "promotion",
            "positions": [1, 2],
            "caption": "Awans do I ligi 2019/20"
        },
        {
            "class": "repechage",
            "positions": [3],
            "caption": "Baraże o I ligę 2019/20"
        },
        {
            "class": "repechage",
            "positions": [11, 12],
            "caption": "Baraże o II ligę 2019/20"
        },
        {
            "class": "relegation",
            "positions": [13, 14, 15, 16],
            "caption": "Spadek do III ligi 2019/20"
        }
    ],
    "phases": [
        {
            "title": "1 lutego 2019, 20:00",
            "link": "http://www.pzbs.pl/wyniki/liga/liga2018-19/2liga/nw/nwpo1runda1.html",
            "matches": [
                {
                    "id": 1,
                    "table": 1,
                    "teams": [
                        {"place": [1]},
                        {"place": [4]}
                    ],
		    "score": [20.304, 0.0],
		    "running": 0
                },
                {
                    "id": 2,
                    "table": 2,
                    "teams": [
                        {"place": [2]},
                        {"place": [3]}
                    ],
		    "score": [4.968, 0.0],
		    "running": 0
                },
                {
                    "id": 4,
                    "table": 4,
                    "teams": [
                        {"place": [6]},
                        {"place": [7]}
                    ],
                    "loser": [7, 8],
                    "score": [4.352, 0.0],
                    "running": 0
                },
                {
                    "id": 3,
                    "table": 3,
                    "teams": [
                        {"place": [5]},
                        {"place": [8]}
                    ],
                    "loser": [7, 8],
                    "score": [6.672, 0.0],
                    "running": 0
                },
                {
                    "id": 11,
                    "table": 5,
                    "teams": [
                        {"place": [9]},
                        {"place": [11]}
                    ],
                    "winner": [9, 10],
                    "score": [4.964, 0.0],
                    "running": 0
                },
                {
                    "id": 12,
                    "table": 6,
                    "teams": [
                        {"place": [10]},
                        {"place": [12]}
                    ],
                    "winner": [9, 10],
                    "score": [2.18, 0.0],
                    "running": 0
                },
                {
                    "id": 14,
                    "table": 8,
                    "teams": [
                        {"place": [14]},
                        {"place": [15]}
                    ],
                    "loser": [15, 16],
                    "score": [1.096, 0.0],
                    "running": 0
                },
                {
                    "id": 13,
                    "table": 7,
                    "teams": [
                        {"place": [13]},
                        {"place": [16]}
                    ],
                    "loser": [15, 16],
                    "score": [19.464, 0.0],
                    "running": 0
                }
            ]
        },
        {
            "title": "2 lutego 2019, 19:30",
            "dummies": [3, 4, 7],
            "matches": [
                {
                    "id": 5,
                    "table": 1,
                    "teams": [
                        {"winner": [1]},
                        {"winner": [2]}
                    ],
                    "winner": [1]
                },
                {
                    "id": 6,
                    "table": 2,
                    "teams": [
                        {"loser": [1]},
                        {"winner": [3, 4]}
                    ],
                    "loser": [5, 6]
                },
                {
                    "id": 7,
                    "table": 3,
                    "teams": [
                        {"loser": [2]},
                        {"winner": [3, 4]}
                    ],
                    "loser": [5, 6]
                },
                {
                    "id": 15,
                    "table": 4,
                    "teams": [
                        {"loser": [11]},
                        {"winner": [13, 14]}
                    ],
                    "winner": [11, 12],
                    "loser": [13, 14]
                },
                {
                    "id": 16,
                    "table": 5,
                    "teams": [
                        {"loser": [12]},
                        {"winner": [13, 14]}
                    ],
                    "winner": [11, 12],
                    "loser": [13, 14]
                }
            ]
        },
        {
            "title": "22 lutego 2019, 20:00",
            "dummies": [0, 2, 3, 4, 5, 6, 7],
            "matches": [
                {
                    "id": 8,
                    "table": 1,
                    "teams": [
                        {"winner": [6]},
                        {"winner": [7]}
                    ],
                    "loser": [4]
                }
            ]
        },
        {
            "title": "23 lutego 2019, 19:30",
            "dummies": [0, 2, 3, 4, 5, 6, 7],
            "matches": [
                {
                    "id": 9,
                    "teams": [
                        {"loser": [5]},
                        {"winner": [8]}
                    ],
                    "winner": [2],
                    "loser": [3]
                }
            ]
        }
    ]
}