From 165db10ed8f198f11c1396c4d398069cb8435a8e Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 3 Feb 2025 12:36:02 +0100 Subject: [PATCH] Adapt format needed by new tariff library --- etc/psa_tariff/tariff01.json | 401 +++++++++++++++++++------ etc/psa_tariff/tariff02.json | 403 +++++++++++++++++++------ etc/psa_tariff/tariff03.json | 334 ++++++++++++++++----- etc/psa_tariff/tariff04.json | 539 +++++++++++++++++++++++++++++++--- etc/psa_tariff/tariff101.json | 401 +++++++++++++++++++------ 5 files changed, 1702 insertions(+), 376 deletions(-) diff --git a/etc/psa_tariff/tariff01.json b/etc/psa_tariff/tariff01.json index 0ad7adc..6809d49 100644 --- a/etc/psa_tariff/tariff01.json +++ b/etc/psa_tariff/tariff01.json @@ -1,13 +1,13 @@ { - "Project" : "Schoenau", - "Version" : "1.2.0", - "Info" : "<>", + "Project" : "Schoenau", + "Version" : "1.3.0-2025-02-03T00:09:12+02:00", + "Info" : "Zone 1", "Currency": [ { - "pcu_id": 1, + "pcu_id": 2, "pcu_sign": "€", - "pcu_major": "Euro", - "pcu_minor": "Cent", + "pcu_major": "EUR", + "pcu_minor": "", "pcu_active": true } ], @@ -27,151 +27,370 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "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": "20:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" } ], "PaymentOption": [ { - "pop_id": 1099, + "pop_id": 1049, "pop_label": "Zone 1", - "pop_payment_method_id": 4, - "pop_day_end_time": "15:20:00", - "pop_day_night_end_time": "15:20:00", - "pop_price_night": 0, + "pop_payment_method_id": 5, "pop_min_time": 60, + "comment_pop_min_time": "60mins -> 300 cent", "pop_max_time": 14400, + "comment_pop_max_time": "14400mins = 240h -> 90 euros", "pop_min_price": 300, + "pop_max_price": 9000, + "pop_plus_steps": 1, + "pop_minus_steps": 1, + "pop_time_step_config": 1, + "pop_time_step_config_comment": "STATIC", + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_daily_card_price": 0, - "pop_multi_hour_price": 8 + "pop_business_hours": 0 } ], "PaymentRate": [ { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 1, - "pra_price": 300 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 0, + "pra_price": 300 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 6, - "pra_price": 700 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 700 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 5, - "pra_price": 900 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 900 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 7, - "pra_price": 1800 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 3, + "pra_price": 1800 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 8, - "pra_price": 2700 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 4, + "pra_price": 2700 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 9, - "pra_price": 3600 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 5, + "pra_price": 3600 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 10, - "pra_price": 4500 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 6, + "pra_price": 4500 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 11, - "pra_price": 5400 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 7, + "pra_price": 5400 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 12, - "pra_price": 6300 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 8, + "pra_price": 6300 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 13, - "pra_price": 7200 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 9, + "pra_price": 7200 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 14, - "pra_price": 8100 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 10, + "pra_price": 8100 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 15, - "pra_price": 9000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 11, + "pra_price": 9000 } ], "Duration": [ { - "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_duration": 60, + "pun_id": 0 }, { - "pun_id": 3, - "pun_label": "15 min", - "pun_duration": 15 + "pun_duration": 180, + "pun_id": 1 }, { - "pun_id": 5, - "pun_label": "24h", - "pun_duration": 1440 + "pun_duration": 1440, + "pun_id": 2 }, { - "pun_id": 6, - "pun_label": "3h", - "pun_duration": 180 + "pun_duration": 2880, + "pun_id": 3 }, { - "pun_id": 7, - "pun_label": "48h", - "pun_duration": 2880 + "pun_duration": 4320, + "pun_id": 4 }, { - "pun_id": 8, - "pun_label": "72h", - "pun_duration": 4320 + "pun_duration": 5760, + "pun_id": 5 }, { - "pun_id": 9, - "pun_label": "96h", - "pun_duration": 5760 + "pun_duration": 7200, + "pun_id": 6 }, { - "pun_id": 10, - "pun_label": "120h", - "pun_duration": 7200 + "pun_duration": 8640, + "pun_id": 7 }, { - "pun_id": 11, - "pun_label": "144h", - "pun_duration": 8640 + "pun_duration": 10080, + "pun_id": 8 }, { - "pun_id": 12, - "pun_label": "168h", - "pun_duration": 10080 + "pun_duration": 11520, + "pun_id": 9 }, { - "pun_id": 13, - "pun_label": "192h", - "pun_duration": 11520 + "pun_duration": 12960, + "pun_id": 10 }, { - "pun_id": 14, - "pun_label": "216h", - "pun_duration": 12960 - }, - { - "pun_id": 15, - "pun_label": "240h", - "pun_duration": 14400 + "pun_duration": 14400, + "pun_id": 11 } - ] + ], + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff02.json b/etc/psa_tariff/tariff02.json index f008123..ad5169c 100644 --- a/etc/psa_tariff/tariff02.json +++ b/etc/psa_tariff/tariff02.json @@ -1,13 +1,13 @@ { - "Project" : "Schoenau", - "Version" : "1.2.0", - "Info" : "<<>>", + "Project" : "Schoenau", + "Version" : "1.3.0-2025-02-03T00:09:12+02:00", + "Info" : "Zone 2", "Currency": [ { - "pcu_id": 1, + "pcu_id": 2, "pcu_sign": "€", - "pcu_major": "Euro", - "pcu_minor": "Cent", + "pcu_major": "EUR", + "pcu_minor": "", "pcu_active": true } ], @@ -27,151 +27,370 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "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": "20:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" } ], "PaymentOption": [ { - "pop_id": 1100, - "pop_label": "Zone 2", - "pop_payment_method_id": 4, - "pop_day_end_time": "15:07:00", - "pop_day_night_end_time": "15:07:00", - "pop_price_night": 0, + "pop_id": 1049, + "pop_label": "Zone 1", + "pop_payment_method_id": 5, "pop_min_time": 60, + "comment_pop_min_time": "60mins -> 300 cent", "pop_max_time": 14400, + "comment_pop_max_time": "14400mins = 240h -> 90 euros", "pop_min_price": 300, + "pop_max_price": 6000, + "pop_plus_steps": 1, + "pop_minus_steps": 1, + "pop_time_step_config": 1, + "pop_time_step_config_comment": "STATIC", + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_daily_card_price": 0, - "pop_multi_hour_price": 8 + "pop_business_hours": 0 } ], "PaymentRate": [ { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 1, - "pra_price": 300 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 0, + "pra_price": 300 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 6, - "pra_price": 500 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 500 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 5, - "pra_price": 600 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 600 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 7, - "pra_price": 1200 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 3, + "pra_price": 1200 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 8, - "pra_price": 1800 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 4, + "pra_price": 1800 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 9, - "pra_price": 2400 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 5, + "pra_price": 2400 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 10, - "pra_price": 3000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 6, + "pra_price": 3000 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 11, - "pra_price": 3600 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 7, + "pra_price": 3600 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 12, - "pra_price": 4200 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 8, + "pra_price": 4200 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 13, - "pra_price": 4800 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 9, + "pra_price": 4800 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 14, - "pra_price": 5400 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 10, + "pra_price": 5400 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 15, - "pra_price": 6000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 11, + "pra_price": 6000 } ], "Duration": [ { - "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_duration": 60, + "pun_id": 0 }, { - "pun_id": 3, - "pun_label": "15 min", - "pun_duration": 15 + "pun_duration": 180, + "pun_id": 1 }, { - "pun_id": 5, - "pun_label": "24h", - "pun_duration": 1440 + "pun_duration": 1440, + "pun_id": 2 }, { - "pun_id": 6, - "pun_label": "3h", - "pun_duration": 180 + "pun_duration": 2880, + "pun_id": 3 }, { - "pun_id": 7, - "pun_label": "48h", - "pun_duration": 2880 + "pun_duration": 4320, + "pun_id": 4 }, { - "pun_id": 8, - "pun_label": "72h", - "pun_duration": 4320 + "pun_duration": 5760, + "pun_id": 5 }, { - "pun_id": 9, - "pun_label": "96h", - "pun_duration": 5760 + "pun_duration": 7200, + "pun_id": 6 }, { - "pun_id": 10, - "pun_label": "120h", - "pun_duration": 7200 + "pun_duration": 8640, + "pun_id": 7 }, { - "pun_id": 11, - "pun_label": "144h", - "pun_duration": 8640 + "pun_duration": 10080, + "pun_id": 8 }, { - "pun_id": 12, - "pun_label": "168h", - "pun_duration": 10080 + "pun_duration": 11520, + "pun_id": 9 }, { - "pun_id": 13, - "pun_label": "192h", - "pun_duration": 11520 + "pun_duration": 12960, + "pun_id": 10 }, { - "pun_id": 14, - "pun_label": "216h", - "pun_duration": 12960 - }, - { - "pun_id": 15, - "pun_label": "240h", - "pun_duration": 14400 + "pun_duration": 14400, + "pun_id": 11 } - ] + ], + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 6000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff03.json b/etc/psa_tariff/tariff03.json index 5070c2d..4000989 100644 --- a/etc/psa_tariff/tariff03.json +++ b/etc/psa_tariff/tariff03.json @@ -1,13 +1,13 @@ { - "Project" : "Schoenau", - "Version" : "1.0.0", - "Info" : "", + "Project" : "Schoenau", + "Version" : "1.3.0-2025-02-03T00:09:12+02:00", + "Info" : "Zone 3", "Currency": [ { - "pcu_id": 1, + "pcu_id": 2, "pcu_sign": "€", - "pcu_major": "Euro", - "pcu_minor": "Cent", + "pcu_major": "EUR", + "pcu_minor": "", "pcu_active": true } ], @@ -27,91 +27,289 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "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": "20:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" } ], "PaymentOption": [ { - "pop_id": 1100, - "pop_label": "Zone 2", - "pop_payment_method_id": 4, - "pop_day_end_time": "15:07:00", - "pop_day_night_end_time": "15:07:00", - "pop_price_night": 0, + "pop_id": 1049, + "pop_label": "Zone 1", + "pop_payment_method_id": 5, "pop_min_time": 60, + "comment_pop_min_time": "60mins -> 200 cent", "pop_max_time": 1440, + "comment_pop_max_time": "1440mins = 24h -> 5 euros", "pop_min_price": 200, + "pop_max_price": 500, + "pop_plus_steps": 1, + "pop_minus_steps": 1, + "pop_time_step_config": 1, + "pop_time_step_config_comment": "STATIC", + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_daily_card_price": 0, - "pop_multi_hour_price": 5 + "pop_business_hours": 0 } ], "PaymentRate": [ { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 1, - "pra_price": 200 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 0, + "pra_price": 200 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 6, - "pra_price": 400 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 400 }, { - "pra_payment_option_id": 1100, - "pra_payment_unit_id": 5, - "pra_price": 500 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 500 } ], "Duration": [ { - "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_duration": 60, + "pun_id": 0 }, { - "pun_id": 3, - "pun_label": "15 min", - "pun_duration": 15 + "pun_duration": 180, + "pun_id": 1 }, { - "pun_id": 5, - "pun_label": "24h", - "pun_duration": 1440 - }, - { - "pun_id": 6, - "pun_label": "3h", - "pun_duration": 180 - }, - { - "pun_id": 7, - "pun_label": "48h", - "pun_duration": 2880 - }, - { - "pun_id": 8, - "pun_label": "72h", - "pun_duration": 4320 - }, - { - "pun_id": 9, - "pun_label": "96h", - "pun_duration": 5760 - }, - { - "pun_id": 10, - "pun_label": "120h", - "pun_duration": 7200 - }, - { - "pun_id": 11, - "pun_label": "144h", - "pun_duration": 8640 - }, - { - "pun_id": 12, - "pun_label": "168h", - "pun_duration": 10080 + "pun_duration": 1440, + "pun_id": 2 } - ] + ], + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 500, + "min_price": 200 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff04.json b/etc/psa_tariff/tariff04.json index 542f60b..aea3faa 100644 --- a/etc/psa_tariff/tariff04.json +++ b/etc/psa_tariff/tariff04.json @@ -1,13 +1,13 @@ { - "Project" : "Schoenau", - "Version" : "1.3.0", - "Info" : "<> (Bus)", + "Project" : "Schoenau", + "Version" : "1.3.0-2025-02-03T00:09:12+02:00", + "Info" : "Zone 4", "Currency": [ { - "pcu_id": 1, + "pcu_id": 2, "pcu_sign": "€", - "pcu_major": "Euro", - "pcu_minor": "Cent", + "pcu_major": "EUR", + "pcu_minor": "", "pcu_active": true } ], @@ -27,56 +27,527 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "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": "20:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" } ], "PaymentOption": [ { - "pop_id": 1099, - "pop_label": "Zone 4", - "pop_payment_method_id": 4, - "pop_day_end_time": "15:20:00", - "pop_day_night_end_time": "15:20:00", - "pop_price_night": 0, + "pop_id": 1049, + "pop_label": "Zone 1", + "pop_payment_method_id": 5, "pop_min_time": 60, + "comment_pop_min_time": "60mins -> 200 cent", "pop_max_time": 1440, - "pop_min_price": 500, + "comment_pop_max_time": "1440mins = 24h -> 5 euros", + "pop_min_price": 1000, + "pop_max_price": 2500, + "pop_plus_steps": 1, + "pop_minus_steps": 1, + "pop_time_step_config": 1, + "pop_time_step_config_comment": "STATIC", + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_daily_card_price": 0, - "pop_multi_hour_price": 8 + "pop_business_hours": 0 } ], "PaymentRate": [ { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 1, - "pra_price": 1000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 0, + "pra_price": 1000 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 6, - "pra_price": 2000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 2000 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 5, - "pra_price": 2500 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 2500 } ], "Duration": [ { - "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_duration": 60, + "pun_id": 0 }, { - "pun_id": 5, - "pun_label": "24h", - "pun_duration": 1440 + "pun_duration": 300, + "pun_id": 1 }, { - "pun_id": 6, - "pun_label": "5h", - "pun_duration": 300 + "pun_duration": 1440, + "pun_id": 2 } - ] + ], + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 1440, + "max_price": 2500, + "min_price": 1000 + } + ], + "prepaid_settings" : [ + { + "prepaid_ranges" : [ + { + "prepaid_id" : 1, + "prepaid_duration": 420, + "prepaid_start" : "00:00:00", + "prepaid_end": "07:00:00" + }, + { + "prepaid_id" : 2, + "prepaid_duration": 300, + "prepaid_start" : "19:00:00", + "prepaid_end": "24:00:00" + } + ] + } + ], + "carry_over_settings" : [ + { + "carry_over_ranges" : [ + { + "carry_over_id" : 1, + "carry_over_if": "always", + "carry_over_duration": 420, + "carry_over_start" : "00:00:00", + "carry_over_end": "07:00:00" + }, + { + "carry_over_id" : 2, + "carry_over_if": "always", + "carry_over_duration": 300, + "carry_over_start" : "19:00:00", + "carry_over_end": "24:00:00" + } + ] + } + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 720, + "service_start" : "07:00:00", + "service_end": "19:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] } diff --git a/etc/psa_tariff/tariff101.json b/etc/psa_tariff/tariff101.json index 2e42b09..6809d49 100644 --- a/etc/psa_tariff/tariff101.json +++ b/etc/psa_tariff/tariff101.json @@ -1,13 +1,13 @@ { - "Project" : "Schoenau", - "Version" : "1.2.1", - "Info" : "<>", + "Project" : "Schoenau", + "Version" : "1.3.0-2025-02-03T00:09:12+02:00", + "Info" : "Zone 1", "Currency": [ { - "pcu_id": 1, + "pcu_id": 2, "pcu_sign": "€", - "pcu_major": "Euro", - "pcu_minor": "Cent", + "pcu_major": "EUR", + "pcu_minor": "", "pcu_active": true } ], @@ -27,151 +27,370 @@ { "pme_id": 4, "pme_label": "steps" + }, + { + "pme_id": 5, + "pme_label": "unified", + "comment": "deprecated" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "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": "20:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" } ], "PaymentOption": [ { - "pop_id": 1099, + "pop_id": 1049, "pop_label": "Zone 1", - "pop_payment_method_id": 4, - "pop_day_end_time": "15:20:00", - "pop_day_night_end_time": "15:20:00", - "pop_price_night": 0, + "pop_payment_method_id": 5, "pop_min_time": 60, + "comment_pop_min_time": "60mins -> 300 cent", "pop_max_time": 14400, + "comment_pop_max_time": "14400mins = 240h -> 90 euros", "pop_min_price": 300, + "pop_max_price": 9000, + "pop_plus_steps": 1, + "pop_minus_steps": 1, + "pop_time_step_config": 1, + "pop_time_step_config_comment": "STATIC", + "pop_allow_overpay": true, "pop_carry_over": 1, - "pop_daily_card_price": 0, - "pop_multi_hour_price": 8 + "pop_business_hours": 0 } ], "PaymentRate": [ { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 1, - "pra_price": 300 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 0, + "pra_price": 300 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 6, - "pra_price": 700 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 700 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 5, - "pra_price": 900 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 900 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 7, - "pra_price": 1800 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 3, + "pra_price": 1800 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 8, - "pra_price": 2700 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 4, + "pra_price": 2700 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 9, - "pra_price": 3600 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 5, + "pra_price": 3600 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 10, - "pra_price": 4500 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 6, + "pra_price": 4500 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 11, - "pra_price": 5400 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 7, + "pra_price": 5400 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 12, - "pra_price": 6300 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 8, + "pra_price": 6300 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 13, - "pra_price": 7200 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 9, + "pra_price": 7200 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 14, - "pra_price": 8100 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 10, + "pra_price": 8100 }, { - "pra_payment_option_id": 1099, - "pra_payment_unit_id": 15, - "pra_price": 9000 + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 11, + "pra_price": 9000 } ], "Duration": [ { - "pun_id": 1, - "pun_label": "1h", - "pun_duration": 60 + "pun_duration": 60, + "pun_id": 0 }, { - "pun_id": 3, - "pun_label": "15 min", - "pun_duration": 15 + "pun_duration": 180, + "pun_id": 1 }, { - "pun_id": 5, - "pun_label": "24h", - "pun_duration": 1440 + "pun_duration": 1440, + "pun_id": 2 }, { - "pun_id": 6, - "pun_label": "3h", - "pun_duration": 180 + "pun_duration": 2880, + "pun_id": 3 }, { - "pun_id": 7, - "pun_label": "48h", - "pun_duration": 2880 + "pun_duration": 4320, + "pun_id": 4 }, { - "pun_id": 8, - "pun_label": "72h", - "pun_duration": 4320 + "pun_duration": 5760, + "pun_id": 5 }, { - "pun_id": 9, - "pun_label": "96h", - "pun_duration": 5760 + "pun_duration": 7200, + "pun_id": 6 }, { - "pun_id": 10, - "pun_label": "120h", - "pun_duration": 7200 + "pun_duration": 8640, + "pun_id": 7 }, { - "pun_id": 11, - "pun_label": "144h", - "pun_duration": 8640 + "pun_duration": 10080, + "pun_id": 8 }, { - "pun_id": 12, - "pun_label": "168h", - "pun_duration": 10080 + "pun_duration": 11520, + "pun_id": 9 }, { - "pun_id": 13, - "pun_label": "192h", - "pun_duration": 11520 + "pun_duration": 12960, + "pun_id": 10 }, { - "pun_id": 14, - "pun_label": "216h", - "pun_duration": 12960 - }, - { - "pun_id": 15, - "pun_label": "240h", - "pun_duration": 14400 + "pun_duration": 14400, + "pun_id": 11 } - ] + ], + "Monday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Tuesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Wednesday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Thursday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Friday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Saturday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }], + "Sunday" : [{ + "default" : { + "payment_settings" : [ + { + "min_time" : 60, + "max_time" : 14400, + "max_price": 9000, + "min_price": 300 + } + ], + "prepaid_settings" : [ + ], + "carry_over_settings" : [ + ], + "service_settings" : [ + { + "service_ranges" : [ + { + "service_id" : 1, + "service_duration": 1440, + "service_start" : "00:00:00", + "service_end": "24:00:00" + } + ] + } + ], + "out_of_service_settings" : [ + ] + } + }] }