Compare commits

...

26 Commits

Author SHA1 Message Date
478d5a8ced This branch is obsolete 2023-11-27 10:13:31 +01:00
00bf13af86 Set payment method to 4 (steps).
Removed any special days.
Added tariff03.json for maybe zone_3 in Schoenau.
2023-11-07 14:46:09 +01:00
062d936042 Minor: Added OTHERFILES 2023-11-07 14:45:03 +01:00
86c27986cc Added sone test code for Schoenau, Koenigsee. 2023-11-07 14:44:23 +01:00
10b018a338 Lower restrictions when parsing json-files (needed for Schoenau, as there are no special days.) 2023-11-07 14:43:26 +01:00
1c13a705c8 Implemented GetCostFromDuration() for tariffs with step-structure and no special days 2023-11-07 14:41:45 +01:00
fd5b41364a Added GetCostFromDuration()-functions: to be used for tariffs with only
steps and no special days. Example: Schoenu, Koenigsee.
2023-11-07 14:39:13 +01:00
cb78e27d37 Re-Test. 2023-10-11 15:49:45 +02:00
ff1dc4a10c Add header file for project-variables 2023-10-11 15:46:06 +02:00
9d9fbc91f9 Read Project, Version and Info fields from json-tariff-files 2023-10-11 15:45:27 +02:00
e0ccec1ff2 Add header file atb_project.h 2023-10-11 15:43:13 +02:00
2974734642 Add ATBProject to configuration 2023-10-11 15:42:31 +02:00
6ea2ea7df7 Use helper functions GetTimeStep() and GetPriceForTimeStep() inside of
GetCostFromDuration().
2023-10-11 15:41:02 +02:00
7508cb6c45 Add helper functions GetTimeSteps() and GetPriceForTimeSteps(). 2023-10-11 15:40:13 +02:00
4925870227 Add helper functions for Schoenau: GetTimeSteps(0 and
GetPriceForTimeStep().
2023-10-11 15:38:35 +02:00
c310f7a06d test cases for schoenau 2023-10-11 15:37:35 +02:00
e99612fed9 draft for tariff files of schoenau 2023-10-11 15:36:40 +02:00
8e1ef45b3f remove obsolete files 2023-10-11 15:35:50 +02:00
d15c9dad29 Update tariff04 (virtual dayticket) 2023-06-27 17:43:58 +02:00
cb8cd5dead Merge branch 'moransBranch' 2023-06-14 11:28:27 +02:00
9d64350e4f Merge branch 'moransBranch' of git.mimbach49.de:GerhardHoffmann/MOBILISIS-Calculator into moransBranch 2023-06-14 11:27:43 +02:00
1a71edc274 max_time=300, unit_id=1 2023-06-13 13:32:16 +02:00
51d8beda2a max_time=300, unit_id=1 2023-06-13 13:32:12 +02:00
7bab9d6ba2 max_time=300, unit_id=1 2023-06-13 13:32:08 +02:00
8b4d64bd0c max_time=300, unit_id=1 2023-06-13 13:31:42 +02:00
268d43cdea GetDailyTicketDuration: use QDateTime for timestamps 2023-05-16 16:43:45 +02:00
14 changed files with 385 additions and 2718 deletions

View File

@@ -6,4 +6,8 @@ main.depends = library
contains( CONFIG, PTU5_YOCTO ) {
SUBDIRS = library
}
}
OTHER_FILES += \
tariffs/tariff01.json \
tariffs/tariff02.json

3
README
View File

@@ -0,0 +1,3 @@
This branch "schoenau" is obsolete!
00332/Schoenau is allready included in current master branch.

View File

@@ -0,0 +1,13 @@
#ifndef ATB_PROJECT_H_INCLUDED
#define ATB_PROJECT_H_INCLUDED
#include <QString>
class ATBProject {
public:
QString project;
QString version;
QString info;
};
#endif // ATB_PROJECT_H_INCLUDED

View File

@@ -1,6 +1,8 @@
#pragma once
#include <iostream>
#include "configuration.h"
#include "payment_method.h"
#include <QDateTime>
using namespace std;
@@ -28,6 +30,19 @@ public:
/// <returns>Returns cost (data type: double)</returns>
double GetCostFromDuration(Configuration* cfg, uint8_t vehicle_type, const QDateTime start_datetime, QDateTime & end_datetime, double durationMin, bool nextDay = false, bool prepaid = false);
// Introduced for Schoenau, Koenigsee.
// For tariff of following structure: only steps, no special days, nonstop.
uint32_t GetCostFromDuration(Configuration const* cfg, QDateTime const &start, quint64 durationMinutes, uint8_t paymentMethod = PaymentMethod::Steps);
uint32_t GetCostFromDuration(Configuration const* cfg, QDateTime const &start, QDateTime const &end, uint8_t paymentMethod = PaymentMethod::Steps);
// Daily ticket
QString GetDailyTicketDuration(Configuration* cfg, QString start_datetime, uint8_t payment_option, bool carry_over);
QDateTime GetDailyTicketDuration(Configuration* cfg, const QDateTime start_datetime, uint8_t payment_option, bool carry_over);
//
// helper functions for Schoenau
//
QList<int> GetTimeSteps(Configuration const *cfg, int paymentMethod);
//
uint32_t GetPriceForTimeStep(Configuration const *cfg, uint8_t paymentMethod, int timeStep);
};

View File

@@ -20,6 +20,7 @@
#include "member_type.h"
#include "period_year.h"
#include "payment_rate.h"
#include "atb_project.h"
using namespace std;
using namespace rapidjson;
@@ -27,8 +28,8 @@ using namespace rapidjson;
class Configuration
{
public:
ATBCurrency Currency;
ATBProject project;
ATBCurrency Currency;
ATBDuration duration;
multimap<int, ATBDuration> Duration;

View File

@@ -65,7 +65,8 @@ HEADERS += \
include/mobilisis/tariff_period_year.h \
include/mobilisis/tariff_payment_rate.h \
include/mobilisis/tariff_log.h \
include/mobilisis/calculate_price.h
include/mobilisis/calculate_price.h \
include/mobilisis/atb_project.h
OTHER_FILES += src/main.cpp

View File

@@ -283,21 +283,18 @@ CalcState CALCULATE_LIBRARY_API compute_duration_for_daily_ticket(parking_tariff
{
CalcState calcState;
if (start_parking_time.isValid()) {
QString cs = start_parking_time.toString(Qt::ISODate);
QString endTime = calculator.GetDailyTicketDuration(tariff,
cs.toLocal8Bit().constData(),
ticketEndTime = calculator.GetDailyTicketDuration(tariff,
start_parking_time,
PaymentOption::Option1,
false); // carry over
ticketEndTime = QDateTime::fromString(endTime,Qt::ISODate);
// DEBUG
qCritical() << "compute_duration_for_daily_ticket(): ";
qCritical() << " endTime: " << endTime;
qCritical() << " ticketEndTime: " << ticketEndTime;
if (!ticketEndTime.isValid()) {
calcState.setDesc(QString("ticketEndTime=%1").arg(endTime));
calcState.setDesc(QString("ticketEndTime=%1").arg(ticketEndTime.toString(Qt::ISODate)));
return calcState.set(CalcState::State::WRONG_ISO_TIME_FORMAT);
}

View File

@@ -19,20 +19,25 @@ inline struct tm* localtime_r(const time_t *clock, struct tm* result){
}
#endif
QString Calculator::GetDailyTicketDuration(Configuration* cfg, QString start_datetime, uint8_t payment_option, bool carry_over)
QDateTime Calculator::GetDailyTicketDuration(Configuration* cfg, const QDateTime start_datetime, uint8_t payment_option, bool carry_over)
{
if(start_datetime.isNull() || start_datetime.isEmpty()) return NULL;
if(!start_datetime.isValid()) {
return QDateTime();
}
double day_price = 0.0f;
int current_special_day_id = -1;
bool is_special_day = Utilities::CheckSpecialDay(cfg, start_datetime.toStdString().c_str(), &current_special_day_id, &day_price);
bool is_special_day = Utilities::CheckSpecialDay(cfg, start_datetime.toString(Qt::ISODate).toStdString().c_str(), &current_special_day_id, &day_price);
QDateTime inputDateTime = QDateTime::fromString(start_datetime, Qt::ISODate);
QDateTime inputDateTime = start_datetime;
QTime worktime_from;
QTime worktime_to;
int daily_card_price = cfg->PaymentOption.find(payment_option)->second.pop_daily_card_price;
if(daily_card_price <= 0) return "Daily ticket price zero or less";
if(daily_card_price <= 0) {
LOG_ERROR("Calculator::GetDailyTicketDuration(): Daily ticket price zero or less");
return QDateTime();
}
if(is_special_day)
{
@@ -46,21 +51,21 @@ QString Calculator::GetDailyTicketDuration(Configuration* cfg, QString start_dat
{
// Go to next day if outside worktime
inputDateTime = inputDateTime.addSecs(86400);
return GetDailyTicketDuration(cfg,inputDateTime.toString(Qt::ISODate), payment_option,true);
return GetDailyTicketDuration(cfg,inputDateTime, payment_option,true);
}
if(day_price <=0)
{
// Go to next day if special day price is 0
inputDateTime = inputDateTime.addSecs(86400);
return GetDailyTicketDuration(cfg,inputDateTime.toString(Qt::ISODate), payment_option,true);
return GetDailyTicketDuration(cfg,inputDateTime, payment_option,true);
}
int diff = abs(inputDateTime.time().secsTo(worktime_to));
inputDateTime = inputDateTime.addSecs(diff);
//qDebug() << "Ticket is valid until: " << inputDateTime.toString(Qt::ISODate) << "price = " << daily_card_price << ", duration = " << diff / 60;
return inputDateTime.toString(Qt::ISODate) + ", price = " + to_string(daily_card_price).c_str() + ", duration = " + to_string((diff/60)).c_str();
return inputDateTime;
}
else
{
@@ -76,7 +81,7 @@ QString Calculator::GetDailyTicketDuration(Configuration* cfg, QString start_dat
if(found <=0)
{
inputDateTime = inputDateTime.addSecs(86400);
return GetDailyTicketDuration(cfg,inputDateTime.toString(Qt::ISODate), payment_option,true);
return GetDailyTicketDuration(cfg,inputDateTime, payment_option,true);
}
else
{
@@ -92,18 +97,18 @@ QString Calculator::GetDailyTicketDuration(Configuration* cfg, QString start_dat
{
// Go to next day if outside worktime
inputDateTime = inputDateTime.addSecs(86400);
return GetDailyTicketDuration(cfg,inputDateTime.toString(Qt::ISODate), payment_option,true);
return GetDailyTicketDuration(cfg,inputDateTime, payment_option,true);
}
int diff = abs(inputDateTime.time().secsTo(worktime_to));
inputDateTime = inputDateTime.addSecs(diff);
//qDebug() << "Ticket is valid until: " << inputDateTime.toString(Qt::ISODate) << "price = " << daily_card_price << ", duration = " << diff / 60;
return inputDateTime.toString(Qt::ISODate) + ", price = " + to_string(daily_card_price).c_str() + ", duration = " + to_string((diff/60)).c_str();
//qDebug() << "Ticket is valid until: " << inputDateTime.toString(Qt::ISODate) << "price = " << daily_card_price << ", duration = " << diff / 60;
return inputDateTime;
}
}
return NULL;
return QDateTime();
}
/// <inheritdoc/>
std::string Calculator::GetDurationFromCost(Configuration* cfg,
@@ -334,6 +339,36 @@ std::string Calculator::GetDurationFromCost(Configuration* cfg,
///////////////////////////////////////
/// <inheritdoc/>
///
uint32_t Calculator::GetCostFromDuration(Configuration const* cfg,
QDateTime const &start,
quint64 timeStepInMinutes,
uint8_t paymentMethod) {
// for instance, a tariff as used in Schoenau, Koenigssee: only steps, no
// special days, nonstop.
if (paymentMethod == PaymentMethod::Steps
&& cfg->SpecialDays.size() == 0
&& cfg->SpecialDaysWorktime.size() == 0) {
QDateTime const end = start.addSecs(timeStepInMinutes*60);
return GetCostFromDuration(cfg, start, end, paymentMethod);
}
return 0;
}
uint32_t Calculator::GetCostFromDuration(Configuration const* cfg,
QDateTime const &start,
QDateTime const &end,
uint8_t paymentMethod) {
if (paymentMethod == PaymentMethod::Steps
&& cfg->SpecialDays.size() == 0
&& cfg->SpecialDaysWorktime.size() == 0) {
int const timeStepInMinutes = start.secsTo(end) / 60;
return GetPriceForTimeStep(cfg, paymentMethod, timeStepInMinutes);
}
return 0;
}
double Calculator::GetCostFromDuration(Configuration* cfg, uint8_t payment_option, const QDateTime start_datetime, QDateTime & end_datetime, double durationMin, bool nextDay, bool prepaid)
{
// Get input date
@@ -536,3 +571,38 @@ double Calculator::GetCostFromDuration(Configuration* cfg, uint8_t payment_optio
total_cost = 0.0f;
return ceil(ret_val);
}
QList<int> Calculator::GetTimeSteps(Configuration const *cfg, int paymentOption) {
QList<int> timeSteps;
int const pop_id = cfg->PaymentOption.find(paymentOption)->second.pop_id;
for (auto[itr, rangeEnd] = cfg->PaymentRate.equal_range(pop_id); itr != rangeEnd; ++itr)
{
int const durationId = itr->second.pra_payment_unit_id;
int const durationUnit = cfg->Duration.find(durationId)->second.pun_duration;
timeSteps << durationUnit;
}
return timeSteps;
}
uint32_t Calculator::GetPriceForTimeStep(Configuration const *cfg, uint8_t paymentOption, int timeStep) {
int const pop_id = cfg->PaymentOption.find(paymentOption)->second.pop_id;
for (auto[itr, rangeEnd] = cfg->PaymentRate.equal_range(pop_id); itr != rangeEnd; ++itr)
{
int const payment_unit_id = itr->second.pra_payment_unit_id;
int const pun_id = cfg->Duration.find(payment_unit_id)->second.pun_id;
Q_ASSERT(pun_id == payment_unit_id);
int const pun_duration = cfg->Duration.find(payment_unit_id)->second.pun_duration;
if (timeStep == pun_duration) {
return (uint32_t)(itr->second.pra_price);
}
}
return 0;
}

View File

@@ -1,4 +1,5 @@
#include "configuration.h"
#include <QDebug>
/// <inheritdoc/>
MemberType Configuration::IdentifyJsonMember(const char* member_name)
@@ -33,8 +34,8 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
}
// Parse JSON to document
Document document;
document.Parse(json);
Document document;
document.Parse(json);
// Return if parse error has been found
ParseErrorCode err = document.GetParseError();
@@ -54,13 +55,13 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
// Validate JSON, check configuration members
if (!document.HasMember("Currency")
|| !document.HasMember("PaymentMethod")
|| !document.HasMember("PaymentOption")
|| !document.HasMember("PaymentRate")
|| !document.HasMember("Duration")
//|| !document.HasMember("WeekDays")
|| !document.HasMember("SpecialDaysWorktime")
|| !document.HasMember("SpecialDays"))
|| !document.HasMember("PaymentMethod")
|| !document.HasMember("PaymentOption")
|| !document.HasMember("PaymentRate")
|| !document.HasMember("Duration"))
//|| !document.HasMember("WeekDays")
//|| !document.HasMember("SpecialDaysWorktime")
//|| !document.HasMember("SpecialDays"))
{
printf("%s", "Error: not a valid configuration JSON\n");
return false;
@@ -87,13 +88,24 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
const char* mb_name = i->name.GetString();
if (mb_name == NULL) continue;
// if (!document[mb_name].IsArray()) {
std::string const _mb_name(mb_name);
if (_mb_name == "version" || _mb_name == "project" ||
_mb_name == "zone" || _mb_name == "info") {
if (document[mb_name].IsString()) {
QString const _mb_name(mb_name);
if (_mb_name.startsWith("Project", Qt::CaseInsensitive)) {
cfg->project.project = document[mb_name].GetString();
qDebug() << "PROJECT" << cfg->project.project;
continue;
}
// }
if (_mb_name.startsWith("Version", Qt::CaseInsensitive)) {
cfg->project.version = document[mb_name].GetString();
qDebug() << "VERSION" << cfg->project.version;
continue;
}
if (_mb_name.startsWith("Info", Qt::CaseInsensitive)) {
cfg->project.info = document[mb_name].GetString();
qDebug() << "INFO" << cfg->project.info;
continue;
}
}
//printf(" -%s\n", mb_name);

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,13 @@
{
"Project" : "Schoenau",
"Version" : "1.0.0",
"Info" : "",
"Currency": [
{
"pcu_id": 2,
"pcu_sign": "Ft",
"pcu_major": "HUF",
"pcu_minor": "",
"pcu_id": 1,
"pcu_sign": "",
"pcu_major": "Euro",
"pcu_minor": "Cent",
"pcu_active": true
}
],
@@ -28,24 +31,65 @@
],
"PaymentOption": [
{
"pop_id": 17,
"pop_id": 1099,
"pop_label": "Zone 1",
"pop_payment_method_id": 3,
"pop_day_end_time": "00:00:00",
"pop_day_night_end_time": "00:00:00",
"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_min_time": 15,
"pop_max_time": 10000,
"pop_min_price": 0,
"pop_min_time": 60,
"pop_max_time": 10080,
"pop_min_price": 3,
"pop_carry_over": 1,
"pop_daily_card_price": 900
"pop_daily_card_price": 0,
"pop_multi_hour_price": 8
}
],
"PaymentRate": [
{
"pra_payment_option_id": 17,
"pra_payment_unit_id": 3,
"pra_price": 150
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 1,
"pra_price": 3
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 6,
"pra_price": 7
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 5,
"pra_price": 8
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 7,
"pra_price": 16
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 8,
"pra_price": 24
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 9,
"pra_price": 32
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 10,
"pra_price": 40
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 11,
"pra_price": 48
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 12,
"pra_price": 56
}
],
"Duration": [
@@ -54,582 +98,50 @@
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 2,
"pun_label": "1 min",
"pun_duration": 1
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
},
{
"pun_id": 4,
"pun_label": "1d",
"pun_id": 5,
"pun_label": "24h",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "2h",
"pun_duration": 120
},
{
"pun_id": 7,
"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": 5670
},
{
"pun_id": 10,
"pun_label": "120h",
"pun_duration": 7200
},
{
"pun_id": 11,
"pun_label": "4h",
"pun_duration": 240
"pun_label": "144h",
"pun_duration": 8640
},
{
"pun_id": 17,
"pun_label": "30 min",
"pun_duration": 30
},
{
"pun_id": 18,
"pun_label": "1.5h",
"pun_duration": 90
},
{
"pun_id": 20,
"pun_label": "10min",
"pun_duration": 10
}
],
"WeekDaysWorktime": [
{
"pwd_id": 540,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 541,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 542,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 543,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 544,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
}
],
"PeriodYear": [
{
"pye_id": 1,
"pye_label": "Summer",
"pye_start_month": 6,
"pye_start_day": 1,
"pye_end_month": 9,
"pye_end_day": 30
},
{
"pye_id": 2,
"pye_label": "Winter",
"pye_start_month": 10,
"pye_start_day": 1,
"pye_end_month": 5,
"pye_end_day": 31
},
{
"pye_id": 8,
"pye_label": "Whole year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
}
],
"SpecialDaysWorktime": [
{
"pedwt_id": 2156,
"pedwt_period_exc_day_id": 2024,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2158,
"pedwt_period_exc_day_id": 2025,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2160,
"pedwt_period_exc_day_id": 2026,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2162,
"pedwt_period_exc_day_id": 2027,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2164,
"pedwt_period_exc_day_id": 2028,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2170,
"pedwt_period_exc_day_id": 2030,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2172,
"pedwt_period_exc_day_id": 2032,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2174,
"pedwt_period_exc_day_id": 11,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2175,
"pedwt_period_exc_day_id": 13,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2178,
"pedwt_period_exc_day_id": 2022,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2179,
"pedwt_period_exc_day_id": 14,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2180,
"pedwt_period_exc_day_id": 2017,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2181,
"pedwt_period_exc_day_id": 2018,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2182,
"pedwt_period_exc_day_id": 2019,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2183,
"pedwt_period_exc_day_id": 2020,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2184,
"pedwt_period_exc_day_id": 2021,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2185,
"pedwt_period_exc_day_id": 2023,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2188,
"pedwt_period_exc_day_id": 2031,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2189,
"pedwt_period_exc_day_id": 2029,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2194,
"pedwt_period_exc_day_id": 2034,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2196,
"pedwt_period_exc_day_id": 2035,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2198,
"pedwt_period_exc_day_id": 2036,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2200,
"pedwt_period_exc_day_id": 2037,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2202,
"pedwt_period_exc_day_id": 2038,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2219,
"pedwt_period_exc_day_id": 2041,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2220,
"pedwt_period_exc_day_id": 2042,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2221,
"pedwt_period_exc_day_id": 2043,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2222,
"pedwt_period_exc_day_id": 2044,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2223,
"pedwt_period_exc_day_id": 2045,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "01:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2224,
"pedwt_period_exc_day_id": 2046,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2226,
"pedwt_period_exc_day_id": 2016,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
}
],
"SpecialDays": [
{
"ped_id": 11,
"ped_label": "Christmas 1st day",
"ped_date_start": "2022-12-25",
"ped_date_end": "2022-12-25",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 13,
"ped_label": "Christmas 2nd day",
"ped_date_start": "2022-12-26",
"ped_date_end": "2022-12-26",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 14,
"ped_label": "Republic Day (Hungary)",
"ped_date_start": "2022-10-23",
"ped_date_end": "2022-10-23",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2016,
"ped_label": "Christmas (Sunday)",
"ped_date_start": "2022-12-24",
"ped_date_end": "2022-12-24",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2017,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-27",
"ped_date_end": "2022-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2018,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-28",
"ped_date_end": "2022-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2019,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-29",
"ped_date_end": "2022-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2020,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-30",
"ped_date_end": "2022-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2021,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-31",
"ped_date_end": "2022-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2022,
"ped_label": "NewYear",
"ped_date_start": "2023-01-01",
"ped_date_end": "2023-01-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2023,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2023-01-02",
"ped_date_end": "2023-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2024
},
{
"ped_id": 2024,
"ped_label": "Good Friday",
"ped_date_start": "2023-04-07",
"ped_date_end": "2023-04-07",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2025,
"ped_label": "Easter Sunday",
"ped_date_start": "2023-04-09",
"ped_date_end": "2023-04-09",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2026,
"ped_label": "Easter Monday",
"ped_date_start": "2023-04-10",
"ped_date_end": "2023-04-10",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2027,
"ped_label": "Whit Sunday",
"ped_date_start": "2023-05-28",
"ped_date_end": "2023-05-28",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2028,
"ped_label": "Whit Monday",
"ped_date_start": "2023-05-29",
"ped_date_end": "2023-05-29",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2029,
"ped_label": "Revolution Day (Hungary)",
"ped_date_start": "2023-03-15",
"ped_date_end": "2023-03-15",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2030,
"ped_label": "Labour Day",
"ped_date_start": "2023-05-01",
"ped_date_end": "2023-05-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2031,
"ped_label": "Saint Stephens Day (Hungary)",
"ped_date_start": "2023-08-20",
"ped_date_end": "2023-08-20",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2032,
"ped_label": "All Saints Day",
"ped_date_start": "2023-11-01",
"ped_date_end": "2023-11-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2034,
"ped_label": "Good Friday",
"ped_date_start": "2024-03-29",
"ped_date_end": "2024-03-29",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2035,
"ped_label": "Easter",
"ped_date_start": "2024-03-31",
"ped_date_end": "2024-03-31",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2036,
"ped_label": "Easter Monday",
"ped_date_start": "2024-04-01",
"ped_date_end": "2024-04-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2037,
"ped_label": "Whit Monday",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2038,
"ped_label": "Whit Sunday",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2041,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-27",
"ped_date_end": "2024-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2042,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-28",
"ped_date_end": "2024-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2043,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-29",
"ped_date_end": "2024-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2044,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-30",
"ped_date_end": "2024-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2045,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-31",
"ped_date_end": "2024-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2046,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2025-01-02",
"ped_date_end": "2025-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2025
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
}
]
}

View File

@@ -1,10 +1,13 @@
{
"Project" : "Schoenau",
"Version" : "1.0.0",
"Info" : "",
"Currency": [
{
"pcu_id": 2,
"pcu_sign": "Ft",
"pcu_major": "HUF",
"pcu_minor": "",
"pcu_id": 1,
"pcu_sign": "",
"pcu_major": "Euro",
"pcu_minor": "Cent",
"pcu_active": true
}
],
@@ -28,23 +31,35 @@
],
"PaymentOption": [
{
"pop_id": 22,
"pop_id": 1100,
"pop_label": "Zone 2",
"pop_payment_method_id": 3,
"pop_day_end_time": "00:00:00",
"pop_day_night_end_time": "00:00:00",
"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_min_time": 15,
"pop_max_time": 240,
"pop_min_price": 120,
"pop_carry_over": 1
"pop_min_time": 60,
"pop_max_time": 1440,
"pop_min_price": 2,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
"pop_multi_hour_price": 5
}
],
"PaymentRate": [
{
"pra_payment_option_id": 22,
"pra_payment_unit_id": 3,
"pra_price": 480
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 1,
"pra_price": 2
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 6,
"pra_price": 4
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 5,
"pra_price": 5
}
],
"Duration": [
@@ -53,582 +68,50 @@
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 2,
"pun_label": "1 min",
"pun_duration": 1
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
},
{
"pun_id": 4,
"pun_label": "1d",
"pun_id": 5,
"pun_label": "24h",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "2h",
"pun_duration": 120
},
{
"pun_id": 7,
"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": 5670
},
{
"pun_id": 10,
"pun_label": "120h",
"pun_duration": 7200
},
{
"pun_id": 11,
"pun_label": "4h",
"pun_duration": 240
"pun_label": "144h",
"pun_duration": 8640
},
{
"pun_id": 17,
"pun_label": "30 min",
"pun_duration": 30
},
{
"pun_id": 18,
"pun_label": "1.5h",
"pun_duration": 90
},
{
"pun_id": 20,
"pun_label": "10min",
"pun_duration": 10
}
],
"WeekDaysWorktime": [
{
"pwd_id": 540,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 541,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 542,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 543,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 544,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
}
],
"PeriodYear": [
{
"pye_id": 1,
"pye_label": "Summer",
"pye_start_month": 6,
"pye_start_day": 1,
"pye_end_month": 9,
"pye_end_day": 30
},
{
"pye_id": 2,
"pye_label": "Winter",
"pye_start_month": 10,
"pye_start_day": 1,
"pye_end_month": 5,
"pye_end_day": 31
},
{
"pye_id": 8,
"pye_label": "Whole year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
}
],
"SpecialDaysWorktime": [
{
"pedwt_id": 2156,
"pedwt_period_exc_day_id": 2024,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2158,
"pedwt_period_exc_day_id": 2025,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2160,
"pedwt_period_exc_day_id": 2026,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2162,
"pedwt_period_exc_day_id": 2027,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2164,
"pedwt_period_exc_day_id": 2028,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2170,
"pedwt_period_exc_day_id": 2030,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2172,
"pedwt_period_exc_day_id": 2032,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2174,
"pedwt_period_exc_day_id": 11,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2175,
"pedwt_period_exc_day_id": 13,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2178,
"pedwt_period_exc_day_id": 2022,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2179,
"pedwt_period_exc_day_id": 14,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2180,
"pedwt_period_exc_day_id": 2017,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2181,
"pedwt_period_exc_day_id": 2018,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2182,
"pedwt_period_exc_day_id": 2019,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2183,
"pedwt_period_exc_day_id": 2020,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2184,
"pedwt_period_exc_day_id": 2021,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2185,
"pedwt_period_exc_day_id": 2023,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2188,
"pedwt_period_exc_day_id": 2031,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2189,
"pedwt_period_exc_day_id": 2029,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2194,
"pedwt_period_exc_day_id": 2034,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2196,
"pedwt_period_exc_day_id": 2035,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2198,
"pedwt_period_exc_day_id": 2036,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2200,
"pedwt_period_exc_day_id": 2037,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2202,
"pedwt_period_exc_day_id": 2038,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2219,
"pedwt_period_exc_day_id": 2041,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2220,
"pedwt_period_exc_day_id": 2042,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2221,
"pedwt_period_exc_day_id": 2043,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2222,
"pedwt_period_exc_day_id": 2044,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2223,
"pedwt_period_exc_day_id": 2045,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "01:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2224,
"pedwt_period_exc_day_id": 2046,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2226,
"pedwt_period_exc_day_id": 2016,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
}
],
"SpecialDays": [
{
"ped_id": 11,
"ped_label": "Christmas 1st day",
"ped_date_start": "2022-12-25",
"ped_date_end": "2022-12-25",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 13,
"ped_label": "Christmas 2nd day",
"ped_date_start": "2022-12-26",
"ped_date_end": "2022-12-26",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 14,
"ped_label": "Republic Day (Hungary)",
"ped_date_start": "2022-10-23",
"ped_date_end": "2022-10-23",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2016,
"ped_label": "Christmas (Sunday)",
"ped_date_start": "2022-12-24",
"ped_date_end": "2022-12-24",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2017,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-27",
"ped_date_end": "2022-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2018,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-28",
"ped_date_end": "2022-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2019,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-29",
"ped_date_end": "2022-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2020,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-30",
"ped_date_end": "2022-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2021,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-31",
"ped_date_end": "2022-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2022,
"ped_label": "NewYear",
"ped_date_start": "2023-01-01",
"ped_date_end": "2023-01-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2023,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2023-01-02",
"ped_date_end": "2023-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2024
},
{
"ped_id": 2024,
"ped_label": "Good Friday",
"ped_date_start": "2023-04-07",
"ped_date_end": "2023-04-07",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2025,
"ped_label": "Easter Sunday",
"ped_date_start": "2023-04-09",
"ped_date_end": "2023-04-09",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2026,
"ped_label": "Easter Monday",
"ped_date_start": "2023-04-10",
"ped_date_end": "2023-04-10",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2027,
"ped_label": "Whit Sunday",
"ped_date_start": "2023-05-28",
"ped_date_end": "2023-05-28",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2028,
"ped_label": "Whit Monday",
"ped_date_start": "2023-05-29",
"ped_date_end": "2023-05-29",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2029,
"ped_label": "Revolution Day (Hungary)",
"ped_date_start": "2023-03-15",
"ped_date_end": "2023-03-15",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2030,
"ped_label": "Labour Day",
"ped_date_start": "2023-05-01",
"ped_date_end": "2023-05-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2031,
"ped_label": "Saint Stephens Day (Hungary)",
"ped_date_start": "2023-08-20",
"ped_date_end": "2023-08-20",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2032,
"ped_label": "All Saints Day",
"ped_date_start": "2023-11-01",
"ped_date_end": "2023-11-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2034,
"ped_label": "Good Friday",
"ped_date_start": "2024-03-29",
"ped_date_end": "2024-03-29",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2035,
"ped_label": "Easter",
"ped_date_start": "2024-03-31",
"ped_date_end": "2024-03-31",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2036,
"ped_label": "Easter Monday",
"ped_date_start": "2024-04-01",
"ped_date_end": "2024-04-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2037,
"ped_label": "Whit Monday",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2038,
"ped_label": "Whit Sunday",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2041,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-27",
"ped_date_end": "2024-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2042,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-28",
"ped_date_end": "2024-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2043,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-29",
"ped_date_end": "2024-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2044,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-30",
"ped_date_end": "2024-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2045,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-31",
"ped_date_end": "2024-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2046,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2025-01-02",
"ped_date_end": "2025-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2025
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
}
]
}

View File

@@ -1,10 +1,13 @@
{
"Project" : "Schoenau",
"Version" : "1.0.0",
"Info" : "",
"Currency": [
{
"pcu_id": 2,
"pcu_sign": "Ft",
"pcu_major": "HUF",
"pcu_minor": "",
"pcu_id": 1,
"pcu_sign": "",
"pcu_major": "Euro",
"pcu_minor": "Cent",
"pcu_active": true
}
],
@@ -28,23 +31,35 @@
],
"PaymentOption": [
{
"pop_id": 23,
"pop_label": "Zone 3",
"pop_payment_method_id": 3,
"pop_day_end_time": "00:00:00",
"pop_day_night_end_time": "00:00:00",
"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_min_time": 15,
"pop_max_time": 240,
"pop_min_price": 120,
"pop_carry_over": 1
"pop_min_time": 60,
"pop_max_time": 1440,
"pop_min_price": 2,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
"pop_multi_hour_price": 5
}
],
"PaymentRate": [
{
"pra_payment_option_id": 23,
"pra_payment_unit_id": 3,
"pra_price": 480
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 1,
"pra_price": 2
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 6,
"pra_price": 4
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 5,
"pra_price": 5
}
],
"Duration": [
@@ -53,589 +68,50 @@
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 2,
"pun_label": "1 min",
"pun_duration": 1
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
},
{
"pun_id": 4,
"pun_label": "1d",
"pun_id": 5,
"pun_label": "24h",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "2h",
"pun_duration": 120
},
{
"pun_id": 7,
"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": 5670
},
{
"pun_id": 10,
"pun_label": "120h",
"pun_duration": 7200
},
{
"pun_id": 11,
"pun_label": "4h",
"pun_duration": 240
"pun_label": "144h",
"pun_duration": 8640
},
{
"pun_id": 17,
"pun_label": "30 min",
"pun_duration": 30
},
{
"pun_id": 18,
"pun_label": "1.5h",
"pun_duration": 90
},
{
"pun_id": 20,
"pun_label": "10min",
"pun_duration": 10
}
],
"WeekDaysWorktime": [
{
"pwd_id": 550,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 551,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 552,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 553,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 554,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 555,
"pwd_period_week_day_id": 33,
"pwd_period_day_in_week_id": 6,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
}
],
"PeriodYear": [
{
"pye_id": 1,
"pye_label": "Summer",
"pye_start_month": 6,
"pye_start_day": 1,
"pye_end_month": 9,
"pye_end_day": 30
},
{
"pye_id": 2,
"pye_label": "Winter",
"pye_start_month": 10,
"pye_start_day": 1,
"pye_end_month": 5,
"pye_end_day": 31
},
{
"pye_id": 8,
"pye_label": "Whole year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
}
],
"SpecialDaysWorktime": [
{
"pedwt_id": 2156,
"pedwt_period_exc_day_id": 2024,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2158,
"pedwt_period_exc_day_id": 2025,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2160,
"pedwt_period_exc_day_id": 2026,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2162,
"pedwt_period_exc_day_id": 2027,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2164,
"pedwt_period_exc_day_id": 2028,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2170,
"pedwt_period_exc_day_id": 2030,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2172,
"pedwt_period_exc_day_id": 2032,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2174,
"pedwt_period_exc_day_id": 11,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2175,
"pedwt_period_exc_day_id": 13,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2178,
"pedwt_period_exc_day_id": 2022,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2179,
"pedwt_period_exc_day_id": 14,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2180,
"pedwt_period_exc_day_id": 2017,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2181,
"pedwt_period_exc_day_id": 2018,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2182,
"pedwt_period_exc_day_id": 2019,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2183,
"pedwt_period_exc_day_id": 2020,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2184,
"pedwt_period_exc_day_id": 2021,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2185,
"pedwt_period_exc_day_id": 2023,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2188,
"pedwt_period_exc_day_id": 2031,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2189,
"pedwt_period_exc_day_id": 2029,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2194,
"pedwt_period_exc_day_id": 2034,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2196,
"pedwt_period_exc_day_id": 2035,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2198,
"pedwt_period_exc_day_id": 2036,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2200,
"pedwt_period_exc_day_id": 2037,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2202,
"pedwt_period_exc_day_id": 2038,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2219,
"pedwt_period_exc_day_id": 2041,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2220,
"pedwt_period_exc_day_id": 2042,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2221,
"pedwt_period_exc_day_id": 2043,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2222,
"pedwt_period_exc_day_id": 2044,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2223,
"pedwt_period_exc_day_id": 2045,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "01:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2224,
"pedwt_period_exc_day_id": 2046,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2226,
"pedwt_period_exc_day_id": 2016,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
}
],
"SpecialDays": [
{
"ped_id": 11,
"ped_label": "Christmas 1st day",
"ped_date_start": "2022-12-25",
"ped_date_end": "2022-12-25",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 13,
"ped_label": "Christmas 2nd day",
"ped_date_start": "2022-12-26",
"ped_date_end": "2022-12-26",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 14,
"ped_label": "Republic Day (Hungary)",
"ped_date_start": "2022-10-23",
"ped_date_end": "2022-10-23",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2016,
"ped_label": "Christmas (Sunday)",
"ped_date_start": "2022-12-24",
"ped_date_end": "2022-12-24",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2017,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-27",
"ped_date_end": "2022-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2018,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-28",
"ped_date_end": "2022-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2019,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-29",
"ped_date_end": "2022-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2020,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-30",
"ped_date_end": "2022-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2021,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-31",
"ped_date_end": "2022-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2022,
"ped_label": "NewYear",
"ped_date_start": "2023-01-01",
"ped_date_end": "2023-01-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2023,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2023-01-02",
"ped_date_end": "2023-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2024
},
{
"ped_id": 2024,
"ped_label": "Good Friday",
"ped_date_start": "2023-04-07",
"ped_date_end": "2023-04-07",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2025,
"ped_label": "Easter Sunday",
"ped_date_start": "2023-04-09",
"ped_date_end": "2023-04-09",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2026,
"ped_label": "Easter Monday",
"ped_date_start": "2023-04-10",
"ped_date_end": "2023-04-10",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2027,
"ped_label": "Whit Sunday",
"ped_date_start": "2023-05-28",
"ped_date_end": "2023-05-28",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2028,
"ped_label": "Whit Monday",
"ped_date_start": "2023-05-29",
"ped_date_end": "2023-05-29",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2029,
"ped_label": "Revolution Day (Hungary)",
"ped_date_start": "2023-03-15",
"ped_date_end": "2023-03-15",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2030,
"ped_label": "Labour Day",
"ped_date_start": "2023-05-01",
"ped_date_end": "2023-05-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2031,
"ped_label": "Saint Stephens Day (Hungary)",
"ped_date_start": "2023-08-20",
"ped_date_end": "2023-08-20",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2032,
"ped_label": "All Saints Day",
"ped_date_start": "2023-11-01",
"ped_date_end": "2023-11-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2034,
"ped_label": "Good Friday",
"ped_date_start": "2024-03-29",
"ped_date_end": "2024-03-29",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2035,
"ped_label": "Easter",
"ped_date_start": "2024-03-31",
"ped_date_end": "2024-03-31",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2036,
"ped_label": "Easter Monday",
"ped_date_start": "2024-04-01",
"ped_date_end": "2024-04-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2037,
"ped_label": "Whit Monday",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2038,
"ped_label": "Whit Sunday",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2041,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-27",
"ped_date_end": "2024-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2042,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-28",
"ped_date_end": "2024-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2043,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-29",
"ped_date_end": "2024-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2044,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-30",
"ped_date_end": "2024-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2045,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-31",
"ped_date_end": "2024-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2046,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2025-01-02",
"ped_date_end": "2025-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2025
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
}
]
}

View File

@@ -1,634 +0,0 @@
{
"Currency": [
{
"pcu_id": 2,
"pcu_sign": "Ft",
"pcu_major": "HUF",
"pcu_minor": "",
"pcu_active": true
}
],
"PaymentMethod": [
{
"pme_id": 1,
"pme_label": "progressive"
},
{
"pme_id": 2,
"pme_label": "degressive"
},
{
"pme_id": 3,
"pme_label": "linear"
},
{
"pme_id": 4,
"pme_label": "steps"
}
],
"PaymentOption": [
{
"pop_id": 17,
"pop_label": "Zone 1",
"pop_payment_method_id": 3,
"pop_day_end_time": "00:00:00",
"pop_day_night_end_time": "00:00:00",
"pop_price_night": 0,
"pop_min_time": 15,
"pop_max_time": 240,
"pop_min_price": 55,
"pop_carry_over": 1
}
],
"PaymentRate": [
{
"pra_payment_option_id": 17,
"pra_payment_unit_id": 3,
"pra_price": 220
}
],
"Duration": [
{
"pun_id": 1,
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 2,
"pun_label": "1 min",
"pun_duration": 1
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
},
{
"pun_id": 4,
"pun_label": "1d",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "2h",
"pun_duration": 120
},
{
"pun_id": 7,
"pun_label": "3h",
"pun_duration": 180
},
{
"pun_id": 11,
"pun_label": "4h",
"pun_duration": 240
},
{
"pun_id": 17,
"pun_label": "30 min",
"pun_duration": 30
},
{
"pun_id": 18,
"pun_label": "1.5h",
"pun_duration": 90
},
{
"pun_id": 20,
"pun_label": "10min",
"pun_duration": 10
}
],
"WeekDaysWorktime": [
{
"pwd_id": 540,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 541,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 542,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 543,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
},
{
"pwd_id": 544,
"pwd_period_week_day_id": 32,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "08:00:00",
"pwd_time_to": "18:00:00"
}
],
"PeriodYear": [
{
"pye_id": 1,
"pye_label": "Summer",
"pye_start_month": 6,
"pye_start_day": 1,
"pye_end_month": 9,
"pye_end_day": 30
},
{
"pye_id": 2,
"pye_label": "Winter",
"pye_start_month": 10,
"pye_start_day": 1,
"pye_end_month": 5,
"pye_end_day": 31
},
{
"pye_id": 8,
"pye_label": "Whole year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
}
],
"SpecialDaysWorktime": [
{
"pedwt_id": 2156,
"pedwt_period_exc_day_id": 2024,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2158,
"pedwt_period_exc_day_id": 2025,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2160,
"pedwt_period_exc_day_id": 2026,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2162,
"pedwt_period_exc_day_id": 2027,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2164,
"pedwt_period_exc_day_id": 2028,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2170,
"pedwt_period_exc_day_id": 2030,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2172,
"pedwt_period_exc_day_id": 2032,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2174,
"pedwt_period_exc_day_id": 11,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2175,
"pedwt_period_exc_day_id": 13,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2178,
"pedwt_period_exc_day_id": 2022,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2179,
"pedwt_period_exc_day_id": 14,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2180,
"pedwt_period_exc_day_id": 2017,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2181,
"pedwt_period_exc_day_id": 2018,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2182,
"pedwt_period_exc_day_id": 2019,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2183,
"pedwt_period_exc_day_id": 2020,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2184,
"pedwt_period_exc_day_id": 2021,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2185,
"pedwt_period_exc_day_id": 2023,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2188,
"pedwt_period_exc_day_id": 2031,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2189,
"pedwt_period_exc_day_id": 2029,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2194,
"pedwt_period_exc_day_id": 2034,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2196,
"pedwt_period_exc_day_id": 2035,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2198,
"pedwt_period_exc_day_id": 2036,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2200,
"pedwt_period_exc_day_id": 2037,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2202,
"pedwt_period_exc_day_id": 2038,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2219,
"pedwt_period_exc_day_id": 2041,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2220,
"pedwt_period_exc_day_id": 2042,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2221,
"pedwt_period_exc_day_id": 2043,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2222,
"pedwt_period_exc_day_id": 2044,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2223,
"pedwt_period_exc_day_id": 2045,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "01:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2224,
"pedwt_period_exc_day_id": 2046,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2226,
"pedwt_period_exc_day_id": 2016,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
}
],
"SpecialDays": [
{
"ped_id": 11,
"ped_label": "Christmas 1st day",
"ped_date_start": "2022-12-25",
"ped_date_end": "2022-12-25",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 13,
"ped_label": "Christmas 2nd day",
"ped_date_start": "2022-12-26",
"ped_date_end": "2022-12-26",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 14,
"ped_label": "Republic Day (Hungary)",
"ped_date_start": "2022-10-23",
"ped_date_end": "2022-10-23",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2016,
"ped_label": "Christmas (Sunday)",
"ped_date_start": "2022-12-24",
"ped_date_end": "2022-12-24",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2017,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-27",
"ped_date_end": "2022-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2018,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-28",
"ped_date_end": "2022-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2019,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-29",
"ped_date_end": "2022-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2020,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-30",
"ped_date_end": "2022-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2021,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-31",
"ped_date_end": "2022-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2022,
"ped_label": "NewYear",
"ped_date_start": "2023-01-01",
"ped_date_end": "2023-01-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2023,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2023-01-02",
"ped_date_end": "2023-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2024
},
{
"ped_id": 2024,
"ped_label": "Good Friday",
"ped_date_start": "2023-04-07",
"ped_date_end": "2023-04-07",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2025,
"ped_label": "Easter Sunday",
"ped_date_start": "2023-04-09",
"ped_date_end": "2023-04-09",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2026,
"ped_label": "Easter Monday",
"ped_date_start": "2023-04-10",
"ped_date_end": "2023-04-10",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2027,
"ped_label": "Whit Sunday",
"ped_date_start": "2023-05-28",
"ped_date_end": "2023-05-28",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2028,
"ped_label": "Whit Monday",
"ped_date_start": "2023-05-29",
"ped_date_end": "2023-05-29",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2029,
"ped_label": "Revolution Day (Hungary)",
"ped_date_start": "2023-03-15",
"ped_date_end": "2023-03-15",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2030,
"ped_label": "Labour Day",
"ped_date_start": "2023-05-01",
"ped_date_end": "2023-05-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2031,
"ped_label": "Saint Stephens Day (Hungary)",
"ped_date_start": "2023-08-20",
"ped_date_end": "2023-08-20",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2032,
"ped_label": "All Saints Day",
"ped_date_start": "2023-11-01",
"ped_date_end": "2023-11-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2034,
"ped_label": "Good Friday",
"ped_date_start": "2024-03-29",
"ped_date_end": "2024-03-29",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2035,
"ped_label": "Easter",
"ped_date_start": "2024-03-31",
"ped_date_end": "2024-03-31",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2036,
"ped_label": "Easter Monday",
"ped_date_start": "2024-04-01",
"ped_date_end": "2024-04-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2037,
"ped_label": "Whit Monday",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2038,
"ped_label": "Whit Sunday",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2041,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-27",
"ped_date_end": "2024-12-27",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2042,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-28",
"ped_date_end": "2024-12-28",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2043,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-29",
"ped_date_end": "2024-12-29",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2044,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-30",
"ped_date_end": "2024-12-30",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2045,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2024-12-31",
"ped_date_end": "2024-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2046,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2025-01-02",
"ped_date_end": "2025-01-02",
"ped_period_special_day_id": 1,
"ped_year": 2025
}
]
}