{
    "output": "playoff.html",
    "page": {
        "title": "II liga NE, play-off",
        "logoh": "<span id=\"logo\"></span><script type=\"text/javascript\">loadIt('playoff_logo.html','logo');</script>",
        "refresh": 0,
        "width": 250,
        "height": 80,
        "margin": 60
    },
    "teams": [
        ["BC SUDOVIA INTERNATIONAL", "SUDOVIA"],
        ["AUTOSTRADA EKSPLOATACJA & 2S MEDIA Warszawa", "AUTOSTRADA"],
        ["K2", "K2"],
        ["KBS LEGIONOWIANIN", "LEGIONOWIANIN"],
        ["SPEKTR Mińsk", "Spektr"],
        ["Gambling Ciechanów", "Gambling"],
        ["SDK Tczew", "SDK Tczew"],
        ["AUTO MIRAS Pępowo", "AUTO MIRAS"],
        ["GAME OVER Gdańsk", "GAME OVER"],
        ["COMPENSA Gdańsk", "COMPENSA"],
        ["Mazovia Płock", "Mazovia"],
        ["MAKABI Gdańsk", "MAKABI"],
        ["GOK Bielsk", "GOK Bielsk"],
        ["Amado Trans Olsztyn", "Amado Trans"],
        ["Dolina Narwi MOSiR Łomża", "Dolina Narwi"],
        ["Akademia Brydża AZS UW Warszawa", "AZS UW"]
    ],
    "position_styles": [
        {
            "class": "promotion",
            "positions": [1, 2],
            "caption": "Awans do I ligi 2018/19"
        },
        {
            "class": "repechage",
            "positions": [],
            "caption": "Baraże"
        },
        {
            "class": "relegation",
            "positions": [11, 12, 13, 14, 15, 16],
            "caption": "Spadek do III ligi 2018/19"
        }
    ],
    "phases": [
        {
            "title": "26 stycznia, 20:00",
            "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nepo1runda1.html",
            "dummies": [0, 2, 3, 6],
            "matches": [
                {
                    "id": 1,
                    "table": 1,
                    "teams": [
                        {"place": [2]},
                        {"place": [3]}
                    ]
                },
                {
                    "id": 2,
                    "teams": [
                        {"place": [7]},
                        {"place": [9]}
                    ],
                    "winner": [7, 8],
                    "score": [183.4, 64.0],
                    "link": "http://brydz.meritum-gda.pl/2018/playoff/IILigarunda1.html"
                },
                {
                    "id": 3,
                    "teams": [
                        {"place": [8]},
                        {"place": [10]}
                    ],
                    "winner": [7, 8],
                    "score": [151.7, 93.0],
                    "link": "http://brydz.meritum-gda.pl/2018/playoff/IILigarunda1.html"
                },
                {
                    "id": 4,
                    "table": 4,
                    "teams": [
                        {"place": [11]},
                        {"place": [13]}
                    ]
                },
                {
                    "id": 5,
                    "table": 5,
                    "teams": [
                        {"place": [12]},
                        {"place": [14]}
                    ]
                }
            ]
        },
        {
            "title": "27 stycznia, 19:30",
            "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nepo2runda1.html",
            "dummies": [0],
            "matches": [
                {
                    "id": 6,
                    "table": 1,
                    "teams": [
                        {"loser": [1]},
                        {"place": [5,6]}
                    ],
                    "loser": [5, 6]
                },
                {
                    "id": 7,
                    "table": 2,
                    "teams": [
                        {"place": [4]},
                        {"place": [5,6]}
                    ],
                    "loser": [5, 6]
                },
                {
                    "id": 8,
                    "table": 3,
                    "teams": [
                        {"loser": [2]},
                        {"winner": [4, 5]}
                    ],
                    "winner": [9, 10]
                },
                {
                    "id": 9,
                    "table": 4,
                    "teams": [
                        {"loser": [3]},
                        {"winner": [4, 5]}
                    ],
                    "winner": [9, 10]
                },
                {
                    "id": 10,
                    "table": 5,
                    "teams": [
                        {"place": [15]},
                        {"loser": [4, 5]}
                    ],
                    "loser": [15, 16]
                },
                {
                    "id": 11,
                    "table": 6,
                    "teams": [
                        {"place": [16]},
                        {"loser": [4, 5]}
                    ],
                    "loser": [15, 16]
                }
            ]
        },
        {
            "title": "V zjazd",
            "matches": [
                {
                    "id": 12,
                    "teams": [
                        {"place": [1]},
                        {"winner": [6, 7]}
                    ],
                    "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nepo3runda1.html",
                    "table": 1
                },
                {
                    "id": 13,
                    "teams": [
                        {"winner": [1]},
                        {"winner": [6, 7]}
                    ],
                    "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nepo3runda1.html",
                    "table": 2
                },
                {
                    "id": 14,
                    "teams": [
                        {"loser": [8]},
                        {"winner": [10, 11]}
                    ],
		    "winner": [12],
                    "loser": [13, 14],
                    "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nesp1runda1.html",
                    "table": 1
                },
                {
                    "id": 15,
                    "teams": [
                        {"loser": [9]},
                        {"winner": [10, 11]}
                    ],
		    "winner": [11],
                    "loser": [13, 14],
                    "score": {"10": 172.6, "12": 158}
                }
            ]
        },
        {
            "title": "V zjazd",
            "dummies": [2, 3],
            "link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/ne/nepo4runda1.html",
            "matches": [
                {
                    "id": 16,
                    "teams": [
                        {"winner": [12]},
                        {"winner": [13]}
                    ],
                    "winner": [1],
                    "loser": [2],
                    "table": 1
                },
                {
                    "id": 17,
                    "teams": [
                        {"loser": [12]},
                        {"loser": [13]}
                    ],
                    "winner": [3],
                    "loser": [4],
                    "table": 2
                }
            ]
        }
    ]
}