def valid_application_round_data(
    reservation_unit,
    reservation_unit2,
    service_sector,
    purpose,
    purpose2,
    valid_application_round_basket_data,
):
    """ Valid JSON data for creating a new application round """
    return {
        "name": "Kevään nuorten säännöllisten vuorojen haku 2021",
        "reservation_unit_ids": [reservation_unit.id, reservation_unit2.id],
        "application_period_begin": "2020-01-01T08:00",
        "application_period_end": "2020-01-31T09:00",
        "reservation_period_begin": "2021-02-01",
        "reservation_period_end": "2021-06-01",
        "public_display_begin": "2020-11-10T08:00",
        "public_display_end": "2021-11-10T08:00",
        "purpose_ids": [purpose.id, purpose2.id],
        "service_sector_id": service_sector.id,
        "status": "draft",
        "application_round_baskets": [valid_application_round_basket_data],
    }