diff --git a/etc/psa_tariff/tariff01.json b/etc/psa_tariff/tariff01.json index 2ebbc9d..27f4277 100644 --- a/etc/psa_tariff/tariff01.json +++ b/etc/psa_tariff/tariff01.json @@ -1,6 +1,6 @@ { "Project" : "Kleipeda", - "Version" : "1.0.0-2024-08-01T09:32:12+02:00", + "Version" : "2.0.0-2024-10-01T09:32:12+02:00", "Info" : "Red Zone (center)", "Currency": [ { @@ -27,18 +27,23 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" } ], "TimeRange" : [ { "time_range_id": 1, - "time_range_from": "22:00:00", + "time_range_from": "20:00:00", "time_range_to": "08:00:00" }, { "time_range_id": 2, "time_range_from": "08:00:00", - "time_range_to": "22:00:00" + "time_range_to": "20:00:00" }, { "time_range_id": 3, @@ -46,171 +51,11 @@ "time_range_to": "08:00:00" } ], - "Prepaid": [ - { - "prepaid_id": 1, - "prepaid_anytime": true, - "prepaid_never": false - }, - { - "prepaid_id": 2, - "prepaid_anytime": false, - "prepaid_never": true - }, - { - "prepaid_id": 3, - "prepaid_anytime": false, - "prepaid_never": false, - "prepaid_static_start": "22:00:00", - "prepaid_static_end": "08:00:00" - } - ], - "CarryOver": [ - { - "carry_over_id" : 1, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - } - ] - }, - { - "carry_over_id" : 2, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - } - ] - } - ], "PaymentOption": [ { "pop_id": 1049, "pop_label": "Zone 1", - "pop_payment_method_id": 4, - "pop_day_end_time": "00:00:00", - "pop_day_night_end_time": "00:00:00", - "pop_price_night": 0, + "pop_payment_method_id": 5, "pop_min_time": 12, "comment_pop_min_time": "12mins -> 30 cent", "pop_max_time": 840, @@ -221,15 +66,9 @@ "pop_minus_steps": 1, "pop_time_step_config": 1, "pop_time_step_config_comment": "STATIC", - "pop_allow_overpay": false, + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_carry_over_option_id": 1, - "pop_prepaid_option_id" : 3, - "pop_carry_over_time_range": 1, - "pop_carry_over_start_time_range": 2, - "pop_carry_over_end_time_range": 3, - "pop_business_hours": 163584, - "comment_1": "163584 = 0x27F00 = 10|0011|1111|0000|0000 -> all days with restricted hours" + "pop_business_hours": 0 } ], "PaymentRate": [ @@ -2346,73 +2185,452 @@ "pun_label": "840 min" } ], - "WeekDaysWorktime": [ - { - "pwd_id": 621, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 1, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 622, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 2, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 623, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 3, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 624, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 4, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 625, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 5, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "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": "22:00:00" - }, - { - "pwd_id": 627, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 7, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - } - ], - "PeriodYear": [ - { - "pye_id": 1, - "pye_label": "May - September", - "pye_start_month": 5, - "pye_start_day": 1, - "pye_end_month": 9, - "pye_end_day": 15 - }, - { - "pye_id": 2, - "pye_label": "September - April", - "pye_start_month": 9, - "pye_start_day": 16, - "pye_end_month": 4, - "pye_end_day": 30 - } - ] + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff02.json b/etc/psa_tariff/tariff02.json index 6ea270d..9aff88e 100644 --- a/etc/psa_tariff/tariff02.json +++ b/etc/psa_tariff/tariff02.json @@ -1,7 +1,7 @@ { "Project" : "Kleipeda", - "Version" : "1.0.0-2024-08-01T09:32:12+02:00", - "Info" : "Yellow Zone", + "Version" : "2.0.0-2024-10-01T09:32:12+02:00", + "Info" : "Yellow Zone (plus)", "Currency": [ { "pcu_id": 2, @@ -27,18 +27,23 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" } ], "TimeRange" : [ { "time_range_id": 1, - "time_range_from": "22:00:00", + "time_range_from": "18:00:00", "time_range_to": "08:00:00" }, { "time_range_id": 2, "time_range_from": "08:00:00", - "time_range_to": "22:00:00" + "time_range_to": "18:00:00" }, { "time_range_id": 3, @@ -49,13 +54,10 @@ "PaymentOption": [ { "pop_id": 1049, - "pop_label": "Zone 2", - "pop_payment_method_id": 4, - "pop_day_end_time": "00:00:00", - "pop_day_night_end_time": "00:00:00", - "pop_price_night": 0, + "pop_label": "Zone 1", + "pop_payment_method_id": 5, "pop_min_time": 30, - "comment_pop_min_time": "30mins -> 30 cent", + "comment_pop_min_time": "12mins -> 30 cent", "pop_max_time": 840, "comment_pop_max_time": "840mins = 14h -> 21 euros", "pop_min_price": 30, @@ -64,172 +66,9 @@ "pop_minus_steps": 1, "pop_time_step_config": 1, "pop_time_step_config_comment": "STATIC", - "pop_allow_overpay": false, + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_carry_over_option_id": 1, - "pop_prepaid_option_id" : 3, - "pop_carry_over_time_range": 1, - "pop_carry_over_start_time_range": 2, - "pop_carry_over_end_time_range": 3, - "pop_business_hours": 163584, - "comment_1": "163584 = 0x27F00 = 10|0011|1111|0000|0000 -> all days with restricted hours" - } - ], - "Prepaid": [ - { - "prepaid_id": 1, - "prepaid_anytime": true, - "prepaid_never": false - }, - { - "prepaid_id": 2, - "prepaid_anytime": false, - "prepaid_never": true - }, - { - "prepaid_id": 3, - "prepaid_anytime": false, - "prepaid_never": false, - "prepaid_static_start": "22:00:00", - "prepaid_static_end": "08:00:00" - } - ], - "CarryOver": [ - { - "carry_over_id" : 1, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - } - ] - }, - { - "carry_over_id" : 2, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - } - ] + "pop_business_hours": 0 } ], "PaymentRate": [ @@ -1146,73 +985,874 @@ "pun_label": "840 min" } ], - "WeekDaysWorktime": [ - { - "pwd_id": 621, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 1, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 622, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 2, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 623, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 3, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 624, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 4, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 625, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 5, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "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": "22:00:00" - }, - { - "pwd_id": 626, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 7, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - } - ], - "PeriodYear": [ - { - "pye_id": 1, - "pye_label": "May - September", - "pye_start_month": 5, - "pye_start_day": 1, - "pye_end_month": 9, - "pye_end_day": 15 - }, - { - "pye_id": 2, - "pye_label": "September - April", - "pye_start_month": 9, - "pye_start_day": 16, - "pye_end_month": 4, - "pye_end_day": 30 - } - ] + "Monday" : [{ + "2025-04-21" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "2024-12-24" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-03-11" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "2024-12-25" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-01-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "2024-12-26" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "2024-11-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "2024-11-02" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "2025-02-16" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-04-20" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-04" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff03.json b/etc/psa_tariff/tariff03.json index b61ea58..eedc1cd 100644 --- a/etc/psa_tariff/tariff03.json +++ b/etc/psa_tariff/tariff03.json @@ -1,7 +1,7 @@ { "Project" : "Kleipeda", - "Version" : "1.0.0-2024-08-01T09:32:12+02:00", - "Info" : "Red Zone", + "Version" : "2.0.0-2024-10-01T09:32:12+02:00", + "Info" : "Red Zone ()", "Currency": [ { "pcu_id": 2, @@ -27,18 +27,23 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" } ], "TimeRange" : [ { "time_range_id": 1, - "time_range_from": "22:00:00", + "time_range_from": "20:00:00", "time_range_to": "08:00:00" }, { "time_range_id": 2, "time_range_from": "08:00:00", - "time_range_to": "22:00:00" + "time_range_to": "20:00:00" }, { "time_range_id": 3, @@ -46,171 +51,11 @@ "time_range_to": "08:00:00" } ], - "Prepaid": [ - { - "prepaid_id": 1, - "prepaid_anytime": true, - "prepaid_never": false - }, - { - "prepaid_id": 2, - "prepaid_anytime": false, - "prepaid_never": true - }, - { - "prepaid_id": 3, - "prepaid_anytime": false, - "prepaid_never": false, - "prepaid_static_start": "22:00:00", - "prepaid_static_end": "08:00:00" - } - ], - "CarryOver": [ - { - "carry_over_id" : 1, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 600, - "carry_over_static_start" : "22:00:00", - "carry_over_static_end": "08:00:00" - } - ] - }, - { - "carry_over_id" : 2, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 720, - "carry_over_static_start" : "20:00:00", - "carry_over_static_end": "08:00:00" - } - ] - } - ], "PaymentOption": [ { "pop_id": 1049, "pop_label": "Zone 1", - "pop_payment_method_id": 4, - "pop_day_end_time": "00:00:00", - "pop_day_night_end_time": "00:00:00", - "pop_price_night": 0, + "pop_payment_method_id": 5, "pop_min_time": 12, "comment_pop_min_time": "12mins -> 30 cent", "pop_max_time": 840, @@ -221,15 +66,9 @@ "pop_minus_steps": 1, "pop_time_step_config": 1, "pop_time_step_config_comment": "STATIC", - "pop_allow_overpay": false, + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_carry_over_option_id": 1, - "pop_prepaid_option_id" : 3, - "pop_carry_over_time_range": 1, - "pop_carry_over_start_time_range": 2, - "pop_carry_over_end_time_range": 3, - "pop_business_hours": 163584, - "comment_1": "163584 = 0x27F00 = 10|0011|1111|0000|0000 -> all days with restricted hours" + "pop_business_hours": 0 } ], "PaymentRate": [ @@ -2346,73 +2185,874 @@ "pun_label": "840 min" } ], - "WeekDaysWorktime": [ - { - "pwd_id": 621, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 1, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 622, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 2, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 623, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 3, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 624, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 4, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "pwd_id": 625, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 5, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - }, - { - "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": "22:00:00" - }, - { - "pwd_id": 627, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 7, - "pwd_time_from": "08:00:00", - "pwd_time_to": "22:00:00" - } - ], - "PeriodYear": [ - { - "pye_id": 1, - "pye_label": "May - September", - "pye_start_month": 5, - "pye_start_day": 1, - "pye_end_month": 9, - "pye_end_day": 15 - }, - { - "pye_id": 2, - "pye_label": "September - April", - "pye_start_month": 9, - "pye_start_day": 16, - "pye_end_month": 4, - "pye_end_day": 30 - } - ] + "Monday" : [{ + "2025-04-21" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "2024-12-24" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-03-11" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "2024-12-25" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-01-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "2024-12-26" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "2024-11-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 12, + "max_time" : 840, + "max_price": 2100, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 240, + "prepaid_start" : "20:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 240, + "carry_over_start" : "20:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "08:00:00", + "service_end": "20:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "2024-11-02" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "2025-02-16" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-04-20" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-04" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff04.json b/etc/psa_tariff/tariff04.json index 96985e1..c29f61b 100644 --- a/etc/psa_tariff/tariff04.json +++ b/etc/psa_tariff/tariff04.json @@ -1,6 +1,6 @@ { "Project" : "Kleipeda", - "Version" : "1.0.0-2024-08-01T09:32:12+02:00", + "Version" : "2.0.0-2024-10-01T09:32:12+02:00", "Info" : "Yellow Zone (center)", "Currency": [ { @@ -27,18 +27,23 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" } ], "TimeRange" : [ { "time_range_id": 1, - "time_range_from": "22:00:00", + "time_range_from": "18:00:00", "time_range_to": "08:00:00" }, { "time_range_id": 2, "time_range_from": "08:00:00", - "time_range_to": "22:00:00" + "time_range_to": "18:00:00" }, { "time_range_id": 3, @@ -49,13 +54,10 @@ "PaymentOption": [ { "pop_id": 1049, - "pop_label": "Zone 2", - "pop_payment_method_id": 4, - "pop_day_end_time": "00:00:00", - "pop_day_night_end_time": "00:00:00", - "pop_price_night": 0, + "pop_label": "Zone 1", + "pop_payment_method_id": 5, "pop_min_time": 30, - "comment_pop_min_time": "30mins -> 30 cent", + "comment_pop_min_time": "12mins -> 30 cent", "pop_max_time": 840, "comment_pop_max_time": "840mins = 14h -> 21 euros", "pop_min_price": 30, @@ -64,172 +66,9 @@ "pop_minus_steps": 1, "pop_time_step_config": 1, "pop_time_step_config_comment": "STATIC", - "pop_allow_overpay": false, + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_carry_over_option_id": 1, - "pop_prepaid_option_id" : 3, - "pop_carry_over_time_range": 1, - "pop_carry_over_start_time_range": 2, - "pop_carry_over_end_time_range": 3, - "pop_business_hours": 163584, - "comment_1": "163584 = 0x27F00 = 10|0011|1111|0000|0000 -> all days with restricted hours" - } - ], - "Prepaid": [ - { - "prepaid_id": 1, - "prepaid_anytime": true, - "prepaid_never": false - }, - { - "prepaid_id": 2, - "prepaid_anytime": false, - "prepaid_never": true - }, - { - "prepaid_id": 3, - "prepaid_anytime": false, - "prepaid_never": false, - "prepaid_static_start": "18:00:00", - "prepaid_static_end": "08:00:00" - } - ], - "CarryOver": [ - { - "carry_over_id" : 1, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - } - ] - }, - { - "carry_over_id" : 2, - "carry_over_week" : [ - { - "carry_over_day" : 1, - "carry_over_day_comment" : "Monday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 2, - "carry_over_day_comment" : "Tuesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 3, - "carry_over_day_comment" : "Wednesday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 4, - "carry_over_day_comment" : "Thursday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 5, - "carry_over_day_comment" : "Friday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 6, - "carry_over_day_comment" : "Saturday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - }, - { - "carry_over_day" : 7, - "carry_over_day_comment" : "Sunday", - "carry_over_seemless": false, - "carry_over_never" : false, - "carry_over_duration": 840, - "carry_over_static_start" : "18:00:00", - "carry_over_static_end": "08:00:00" - } - ] + "pop_business_hours": 0 } ], "PaymentRate": [ @@ -1146,73 +985,874 @@ "pun_label": "840 min" } ], - "WeekDaysWorktime": [ - { - "pwd_id": 621, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 1, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - }, - { - "pwd_id": 622, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 2, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - }, - { - "pwd_id": 623, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 3, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - }, - { - "pwd_id": 624, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 4, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - }, - { - "pwd_id": 625, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 5, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - }, - { - "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": "18:00:00" - }, - { - "pwd_id": 626, - "pwd_period_week_day_id": 36, - "pwd_period_day_in_week_id": 7, - "pwd_time_from": "08:00:00", - "pwd_time_to": "18:00:00" - } - ], - "PeriodYear": [ - { - "pye_id": 1, - "pye_label": "May - September", - "pye_start_month": 5, - "pye_start_day": 1, - "pye_end_month": 9, - "pye_end_day": 15 - }, - { - "pye_id": 2, - "pye_label": "September - April", - "pye_start_month": 9, - "pye_start_day": 16, - "pye_end_month": 4, - "pye_end_day": 30 - } - ] + "Monday" : [{ + "2025-04-21" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "2024-12-24" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-03-11" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "2024-12-25" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-01-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "2024-12-26" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "2024-11-01" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 30, + "max_time" : 840, + "max_price": 840, + "min_price": 30 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 480, + "prepaid_start" : "00:00:00", + "prepaid_end": "08:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 360, + "prepaid_start" : "18:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 480, + "carry_over_start" : "00:00:00", + "carry_over_end": "08:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 360, + "carry_over_start" : "18:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 600, + "service_start" : "08:00:00", + "service_end": "18:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "2024-11-02" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "2025-02-16" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-04-20" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "2025-05-04" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + }, + "default" : { + "payment_settings" : [ + { + "min_time" : 0, + "max_time" : 0, + "max_price": 0, + "min_price": 0 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 1440, + "prepaid_start" : "00:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 1440, + "carry_over_start" : "00:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + ], + "out_of_service_settings" : [ + ] + } + }] }