From b8720bac6ce54035168dced94c4be2574d276904 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 28 Nov 2023 16:40:41 +0100 Subject: [PATCH] Added special days. --- tariffs/tariff01.json | 576 +++++++++++++++--------------------------- 1 file changed, 200 insertions(+), 376 deletions(-) diff --git a/tariffs/tariff01.json b/tariffs/tariff01.json index b3155a3..8662012 100644 --- a/tariffs/tariff01.json +++ b/tariffs/tariff01.json @@ -1,9 +1,12 @@ { + "Project" : "Korneuburg", + "Version" : "1.0.0", + "Info" : "", "Currency": [ { "pcu_id": 2, - "pcu_sign": "Ft", - "pcu_major": "HUF", + "pcu_sign": "€", + "pcu_major": "EUR", "pcu_minor": "", "pcu_active": true } @@ -29,30 +32,30 @@ "PaymentOption": [ { "pop_id": 1049, - "pop_label": "Zone Lila", + "pop_label": "Zone 1", "pop_payment_method_id": 3, - "pop_day_end_time": "16:25:00", - "pop_day_night_end_time": "16:25:00", + "pop_day_end_time": "00:00:00", + "pop_day_night_end_time": "00:00:00", "pop_price_night": 0, - "pop_min_time": 15, - "pop_max_time": 300, - "pop_min_price": 0, + "pop_min_time": 30, + "pop_max_time": 180, + "pop_min_price": 60, "pop_carry_over": 1, - "pop_daily_card_price": 900 + "pop_daily_card_price": 0 } ], "PaymentRate": [ { "pra_payment_option_id": 1049, "pra_payment_unit_id": 1, - "pra_price": 150 + "pra_price": 10 } ], "Duration": [ { "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_label": "5 min", + "pun_duration": 5 }, { "pun_id": 3, @@ -71,6 +74,13 @@ "pwd_period_week_day_id": 36, "pwd_period_day_in_week_id": 1, "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "14:00:00", "pwd_time_to": "18:00:00" }, { @@ -78,6 +88,13 @@ "pwd_period_week_day_id": 36, "pwd_period_day_in_week_id": 2, "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "14:00:00", "pwd_time_to": "18:00:00" }, { @@ -85,6 +102,13 @@ "pwd_period_week_day_id": 36, "pwd_period_day_in_week_id": 3, "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "14:00:00", "pwd_time_to": "18:00:00" }, { @@ -92,6 +116,13 @@ "pwd_period_week_day_id": 36, "pwd_period_day_in_week_id": 4, "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "14:00:00", "pwd_time_to": "18:00:00" }, { @@ -99,73 +130,21 @@ "pwd_period_week_day_id": 36, "pwd_period_day_in_week_id": 5, "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "14:00:00", "pwd_time_to": "18:00:00" - } - ], - "PeriodYear": [ - { - "pye_id": 8, - "pye_label": "Whole year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 }, { - "pye_id": 9, - "pye_label": "Whole year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 10, - "pye_label": "Whole year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 11, - "pye_label": "Whole Year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 12, - "pye_label": "Whole Year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 13, - "pye_label": "Whole Year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 14, - "pye_label": "Whole Year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 - }, - { - "pye_id": 15, - "pye_label": "Whole year", - "pye_start_month": 1, - "pye_start_day": 1, - "pye_end_month": 12, - "pye_end_day": 31 + "pwd_id": 626, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 6, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" } ], "SpecialDaysWorktime": [ @@ -385,421 +364,266 @@ "pedwt_time_from": "00:00:00", "pedwt_time_to": "00:00:00", "pedwt_price": 0 - }, - { - "pedwt_id": 2260, - "pedwt_period_exc_day_id": 2061, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2261, - "pedwt_period_exc_day_id": 2062, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2262, - "pedwt_period_exc_day_id": 2063, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2263, - "pedwt_period_exc_day_id": 2064, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2264, - "pedwt_period_exc_day_id": 2065, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2265, - "pedwt_period_exc_day_id": 2066, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2266, - "pedwt_period_exc_day_id": 2067, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2267, - "pedwt_period_exc_day_id": 2068, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2268, - "pedwt_period_exc_day_id": 2069, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2269, - "pedwt_period_exc_day_id": 2070, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 - }, - { - "pedwt_id": 2270, - "pedwt_period_exc_day_id": 2071, - "pedwt_time_from": "00:00:00", - "pedwt_time_to": "00:00:00", - "pedwt_price": 0 } ], "SpecialDays": [ { "ped_id": 11, - "ped_label": "Christmas 1st day", - "ped_date_start": "2022-12-25", - "ped_date_end": "2022-12-25", - "ped_period_special_day_id": 2, + "ped_label": "Mariae Empfaengnis", + "ped_date_start": "2023-12-08", + "ped_date_end": "2023-12-08", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 13, - "ped_label": "Christmas 2nd day", - "ped_date_start": "2022-12-26", - "ped_date_end": "2022-12-26", - "ped_period_special_day_id": 2, + "ped_label": "Christtag", + "ped_date_start": "2023-12-25", + "ped_date_end": "2023-12-25", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 14, - "ped_label": "Republic Day (Hungary)", - "ped_date_start": "2022-10-23", - "ped_date_end": "2022-10-23", - "ped_period_special_day_id": 2, + "ped_label": "Stefanitag", + "ped_date_start": "2023-12-26", + "ped_date_end": "2023-12-26", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2016, - "ped_label": "Christmas (Sunday)", - "ped_date_start": "2022-12-24", - "ped_date_end": "2022-12-24", - "ped_period_special_day_id": 2, + "ped_label": "Neujahr", + "ped_date_start": "2024-01-01", + "ped_date_end": "2024-01-01", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2021, - "ped_label": "Holiday (Hungary)", - "ped_date_start": "2022-12-31", - "ped_date_end": "2022-12-31", + "ped_label": "Heilig Drei Koenige", + "ped_date_start": "2024-01-06", + "ped_date_end": "2024-01-06", "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2022, - "ped_label": "NewYear", - "ped_date_start": "2023-01-01", - "ped_date_end": "2023-01-01", - "ped_period_special_day_id": 2, - "ped_year": 0 + "ped_label": "Ostermontag", + "ped_date_start": "2024-01-04", + "ped_date_end": "2024-01-04", + "ped_period_special_day_id": 1, + "ped_year": 2024 }, { "ped_id": 2024, - "ped_label": "Good Friday", - "ped_date_start": "2023-04-07", - "ped_date_end": "2023-04-07", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Staatsfeiertag", + "ped_date_start": "2024-05-01", + "ped_date_end": "2024-05-01", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2025, - "ped_label": "Easter Sunday", - "ped_date_start": "2023-04-09", - "ped_date_end": "2023-04-09", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Christi Himmelfahrt", + "ped_date_start": "2024-05-09", + "ped_date_end": "2024-05-09", + "ped_period_special_day_id": 1, + "ped_year": 2024 }, { "ped_id": 2026, - "ped_label": "Easter Monday", - "ped_date_start": "2023-04-10", - "ped_date_end": "2023-04-10", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Pfingst Montag", + "ped_date_start": "2024-05-20", + "ped_date_end": "2024-05-20", + "ped_period_special_day_id": 1, + "ped_year": 2024 }, { "ped_id": 2027, - "ped_label": "Whit Sunday", - "ped_date_start": "2023-05-28", - "ped_date_end": "2023-05-28", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Fronleichnam", + "ped_date_start": "2024-05-30", + "ped_date_end": "2024-05-30", + "ped_period_special_day_id": 1, + "ped_year": 2024 }, { "ped_id": 2028, - "ped_label": "Whit Monday", - "ped_date_start": "2023-05-29", - "ped_date_end": "2023-05-29", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Maria Himmelfahrt", + "ped_date_start": "2024-08-15", + "ped_date_end": "2024-08-15", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2029, - "ped_label": "Revolution Day (Hungary)", - "ped_date_start": "2023-03-15", - "ped_date_end": "2023-03-15", - "ped_period_special_day_id": 2, + "ped_label": "Nationalfeiertag", + "ped_date_start": "2024-10-26", + "ped_date_end": "2024-10-26", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2030, - "ped_label": "Labour Day", - "ped_date_start": "2023-05-01", - "ped_date_end": "2023-05-01", - "ped_period_special_day_id": 2, + "ped_label": "Allerheiligen", + "ped_date_start": "2024-11-01", + "ped_date_end": "2024-11-01", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2031, - "ped_label": "Saint Stephens Day (Hungary)", - "ped_date_start": "2023-08-20", - "ped_date_end": "2023-08-20", - "ped_period_special_day_id": 2, + "ped_label": "Mariae Empfaengnis", + "ped_date_start": "2024-08-12", + "ped_date_end": "2024-08-12", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2032, - "ped_label": "All Saints Day", - "ped_date_start": "2023-11-01", - "ped_date_end": "2023-11-01", - "ped_period_special_day_id": 2, + "ped_label": "Christtag", + "ped_date_start": "2024-12-25", + "ped_date_end": "2024-12-25", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2034, - "ped_label": "Good Friday", - "ped_date_start": "2024-03-29", - "ped_date_end": "2024-03-29", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "ped_label": "Stefanitag", + "ped_date_start": "2024-12-26", + "ped_date_end": "2024-12-26", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2035, - "ped_label": "Easter", - "ped_date_start": "2024-03-31", - "ped_date_end": "2024-03-31", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "ped_label": "Neujahr", + "ped_date_start": "2025-01-01", + "ped_date_end": "2025-01-01", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2036, - "ped_label": "Easter Monday", - "ped_date_start": "2024-04-01", - "ped_date_end": "2024-04-01", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "ped_label": "Heilig Drei Koenige", + "ped_date_start": "2025-06-01", + "ped_date_end": "2025-06-01", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2037, - "ped_label": "Whit Monday", - "ped_date_start": "2024-05-20", - "ped_date_end": "2024-05-20", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "ped_label": "Ostermontag", + "ped_date_start": "2025-04-21", + "ped_date_end": "2025-04-21", + "ped_period_special_day_id": 1, + "ped_year": 2025 }, { "ped_id": 2038, - "ped_label": "Whit Sunday", - "ped_date_start": "2024-05-19", - "ped_date_end": "2024-05-19", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "ped_label": "Staatsfeiertag", + "ped_date_start": "2025-05-01", + "ped_date_end": "2025-05-01", + "ped_period_special_day_id": 1, + "ped_year": 2025 }, { "ped_id": 2050, - "ped_label": "Uskrs", - "ped_date_start": "2023-04-16", - "ped_date_end": "2023-04-16", + "ped_label": "Christi Himmelfahrt", + "ped_date_start": "2025-05-29", + "ped_date_end": "2025-05-29", "ped_period_special_day_id": 1, - "ped_year": 0 + "ped_year": 2025 }, { "ped_id": 2051, - "ped_label": "Uskrs", - "ped_date_start": "2023-04-16", - "ped_date_end": "2023-04-16", + "ped_label": "Pfingstmontag", + "ped_date_start": "2025-06-09", + "ped_date_end": "2025-06-09", "ped_period_special_day_id": 1, - "ped_year": 0 + "ped_year": 2025 }, { "ped_id": 2052, - "ped_label": "Christmas 1st day", - "ped_date_start": "2022-12-25", - "ped_date_end": "2022-12-25", - "ped_period_special_day_id": 2, - "ped_year": 0 + "ped_label": "Fronlaeichnam", + "ped_date_start": "2025-06-19", + "ped_date_end": "2025-06-19", + "ped_period_special_day_id": 1, + "ped_year": 2025 }, { "ped_id": 2053, - "ped_label": "Christmas 2nd day", - "ped_date_start": "2022-12-26", - "ped_date_end": "2022-12-26", - "ped_period_special_day_id": 2, + "ped_label": "Mariae Himmelfahrt", + "ped_date_start": "2025-08-15", + "ped_date_end": "2025-08-15", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2054, - "ped_label": "Republic Day (Hungary)", - "ped_date_start": "2022-10-23", - "ped_date_end": "2022-10-23", - "ped_period_special_day_id": 2, + "ped_label": "Nationalfeiertag", + "ped_date_start": "2025-10-26", + "ped_date_end": "2025-10-26", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2055, - "ped_label": "Christmas (Sunday)", - "ped_date_start": "2022-12-24", - "ped_date_end": "2022-12-24", - "ped_period_special_day_id": 2, + "ped_label": "Allerheiligen", + "ped_date_start": "2025-11-01", + "ped_date_end": "2025-11-01", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2056, - "ped_label": "Holiday (Hungary)", - "ped_date_start": "2022-12-31", - "ped_date_end": "2022-12-31", + "ped_label": "Mariae Empfaengnis", + "ped_date_start": "2025-12-08", + "ped_date_end": "2025-12-08", "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2057, - "ped_label": "NewYear", - "ped_date_start": "2023-01-01", - "ped_date_end": "2023-01-01", - "ped_period_special_day_id": 2, + "ped_label": "Christtag", + "ped_date_start": "2025-12-25", + "ped_date_end": "2025-12-25", + "ped_period_special_day_id": 1, "ped_year": 0 }, { "ped_id": 2058, - "ped_label": "Good Friday", - "ped_date_start": "2023-04-07", - "ped_date_end": "2023-04-07", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Stefanitag", + "ped_date_start": "2025-12-26", + "ped_date_end": "2025-12-26", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2059, - "ped_label": "Easter Sunday", - "ped_date_start": "2023-04-09", - "ped_date_end": "2023-04-09", - "ped_period_special_day_id": 2, - "ped_year": 2023 + "ped_label": "Neujahr", + "ped_date_start": "2026-01-01", + "ped_date_end": "2026-01-01", + "ped_period_special_day_id": 1, + "ped_year": 0 }, { "ped_id": 2060, - "ped_label": "Easter Monday", - "ped_date_start": "2023-04-10", - "ped_date_end": "2023-04-10", - "ped_period_special_day_id": 2, - "ped_year": 2023 - }, - { - "ped_id": 2061, - "ped_label": "Whit Sunday", - "ped_date_start": "2023-05-28", - "ped_date_end": "2023-05-28", - "ped_period_special_day_id": 2, - "ped_year": 2023 - }, - { - "ped_id": 2062, - "ped_label": "Whit Monday", - "ped_date_start": "2023-05-29", - "ped_date_end": "2023-05-29", - "ped_period_special_day_id": 2, - "ped_year": 2023 - }, - { - "ped_id": 2063, - "ped_label": "Revolution Day (Hungary)", - "ped_date_start": "2023-03-15", - "ped_date_end": "2023-03-15", - "ped_period_special_day_id": 2, + "ped_label": "Heilige Drei Koenige", + "ped_date_start": "2026-01-06", + "ped_date_end": "2026-01-06", + "ped_period_special_day_id": 1, "ped_year": 0 - }, + } + ], + "PeriodYear": [ { - "ped_id": 2064, - "ped_label": "Labour Day", - "ped_date_start": "2023-05-01", - "ped_date_end": "2023-05-01", - "ped_period_special_day_id": 2, - "ped_year": 0 - }, - { - "ped_id": 2065, - "ped_label": "Saint Stephens Day (Hungary)", - "ped_date_start": "2023-08-20", - "ped_date_end": "2023-08-20", - "ped_period_special_day_id": 2, - "ped_year": 0 - }, - { - "ped_id": 2066, - "ped_label": "All Saints Day", - "ped_date_start": "2023-11-01", - "ped_date_end": "2023-11-01", - "ped_period_special_day_id": 2, - "ped_year": 0 - }, - { - "ped_id": 2067, - "ped_label": "Good Friday", - "ped_date_start": "2024-03-29", - "ped_date_end": "2024-03-29", - "ped_period_special_day_id": 2, - "ped_year": 2024 - }, - { - "ped_id": 2068, - "ped_label": "Easter", - "ped_date_start": "2024-03-31", - "ped_date_end": "2024-03-31", - "ped_period_special_day_id": 2, - "ped_year": 2024 - }, - { - "ped_id": 2069, - "ped_label": "Easter Monday", - "ped_date_start": "2024-04-01", - "ped_date_end": "2024-04-01", - "ped_period_special_day_id": 2, - "ped_year": 2024 - }, - { - "ped_id": 2070, - "ped_label": "Whit Monday", - "ped_date_start": "2024-05-20", - "ped_date_end": "2024-05-20", - "ped_period_special_day_id": 2, - "ped_year": 2024 - }, - { - "ped_id": 2071, - "ped_label": "Whit Sunday", - "ped_date_start": "2024-05-19", - "ped_date_end": "2024-05-19", - "ped_period_special_day_id": 2, - "ped_year": 2024 + "pye_id": 8, + "pye_label": "Whole year", + "pye_start_month": 1, + "pye_start_day": 1, + "pye_end_month": 12, + "pye_end_day": 31 } ] }