<?xml version="1.0" encoding="UTF-8"?>
<cup>
  <name>Coppa Italia</name>
  <short_name>Coppa</short_name>
  <symbol>flag_italy.png</symbol>
  <sid>italy_coppa</sid>
  <last_week>43</last_week>
  <week_gap>3</week_gap>
  <property>national</property>

    <cup_rounds>
        <cup_round>
            <round_name>1st Round</round_name>
            <byes>0</byes>
            <delay>-16</delay>
            <home_away>0</home_away>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>italy3a</choose_team_sid>
                    <number_of_teams>9</number_of_teams>
                    <start_idx>2</start_idx>
                    <end_idx>20</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy3b</choose_team_sid>
                    <number_of_teams>9</number_of_teams>
                    <start_idx>2</start_idx>
                    <end_idx>20</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy3c</choose_team_sid>
                    <number_of_teams>9</number_of_teams>
                    <start_idx>2</start_idx>
                    <end_idx>20</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4a</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4b</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4c</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4d</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4e</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4f</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4g</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4h</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy4i</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
            </choose_teams>
        </cup_round>
        
        <cup_round>
            <round_name>2nd Round</round_name>
            <byes>0</byes>
            <delay>-18</delay>
            <home_away>0</home_away>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>italy3a</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>1</end_idx>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy3b</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>1</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy3c</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>1</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>italy2</choose_team_sid>
                    <number_of_teams>19</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>20</end_idx>
                    <randomly>1</randomly>
                </choose_team>
            </choose_teams>
        </cup_round>
        
        <cup_round>
            <round_name>3rd Round</round_name>
            <byes>0</byes>
            <delay>-20</delay>
            <home_away>0</home_away>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>italy1</choose_team_sid>
                    <number_of_teams>12</number_of_teams>
                    <start_idx>9</start_idx>
                    <end_idx>20</end_idx>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>4th Round</round_name>
            <byes>0</byes>
            <delay>-6</delay>
            <home_away>0</home_away>
        </cup_round>

        <cup_round>
            <round_name>5th Round</round_name>
            <byes>0</byes>
            <delay>-4</delay>
            <home_away>0</home_away>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>italy1</choose_team_sid>
                    <number_of_teams>8</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>8</end_idx>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>Quarter Final</round_name>
            <byes>0</byes>
            <delay>-1</delay>
            <home_away>0</home_away>
        </cup_round>

        <cup_round>
            <round_name>Semi Final</round_name>
            <byes>0</byes>
            <home_away>1</home_away>
        </cup_round>

        <cup_round>
            <round_name>Final</round_name>
            <home_away>0</home_away>
            <neutral>1</neutral>
        </cup_round>
    </cup_rounds>
</cup>
