Skip to content

Import FAST Tournaments

Below you can find the structure required for 1 tournament:

{
    "id": 1234,
    "name": "Paris Masters",
    "table": "BONZINI",
    "competitions": [
        {
            "id": 1234,
            "name": "Open Doubles",
            "ranking": true,
            "dyp": false,
            "standings": [
                {
                    "players": ["64200120", "24200120"],
                    "rank": 1,
                }
            ],
            "phases": [
                {
                    "id": 1234,
                    "stage": 1,
                    "system": "swiss",
                    "standings": [
                        {
                            "players": ["64200120", "24200120"],
                            "rank": 1,
                            "seed": 1
                        }
                    ],
                    "matches": [
                        {
                            "round": 1,
                            "home": [
                                "64200120",
                                "24200120"
                            ],
                            "away": [
                                "44200120",
                                "34200120"
                            ],
                            "start_at": "2000-01-01 12:00:00",
                            "end_at": "2000-01-01 13:00:00",
                            "table": 1,
                            "score": [2, 1]
                        }
                    ]
                },
                {
                    "id": 1234,
                    "stage": 2,
                    "system": "sko",
                    "standings": [
                        {
                            "players": ["64200120", "24200120"],
                            "rank": 1
                        }
                    ],
                    "matches": [
                        {
                            "round": 1,
                            "home": [
                                "64200120",
                                "24200120"
                            ],
                            "away": [
                                "44200120",
                                "34200120"
                            ],
                            "start_at": "2000-01-01 12:00:00",
                            "end_at": "2000-01-01 13:00:00",
                            "table": 1,
                            "score": [[2 ,5, 5], [5, 1, 2]]
                        }
                    ]
                }
            ]
        }
    ]
}

Phases

  • stage: 1, 2, 3...
  • system: sko, dko, swiss, round_robin, half_robin

Matches

  • round is always required
  • sko - order of matches is important to ensure the matches are linked properly
    • matches with byes must also be provided (use null for a bye)
  • dko - order of matches is important to ensure the matches are linked properly
    • matches with byes must also be provided
    • winner bracket rounds start from 1, 2,...
    • loser bracket rounds start with -1, -2,...

Mandatory fields:

{
    "round": 1,
    "home": [
        "64200120",
        "24200120"
    ],
    "away": [
        "44200120",
        "34200120"
    ],
    "score": [[2 ,5, 5], [5, 1, 2]]
}

Optional fields:

{
    "start_at": "2000-01-01 12:00:00",
    "end_at": "2000-01-01 13:00:00",
    "table": 1,
}

Note

For swiss, round_robin and half_robin make sure the number of matches per round is the same.

Standings

  • players field is required
  • if rank is not provided, the import will use the first item as rank #1 etc.
  • seed is optional - it is only needed in the main phase (stage=1)