> For the complete documentation index, see [llms.txt](https://docs.samesystem.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samesystem.dev/api-v2-reference/models.md).

# Models

## The AbsenceBalanceCorrection object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]}}}}
```

## The AbsenceBalanceTimeline object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceTimeline":{"type":"object","properties":{"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correctionsAndTransfersTimeline":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"id":{"type":"string"},"periodBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}}},"required":["corrections","correctionsAndTransfersTimeline","id","periodBalances"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]}}}}
```

## The AbsenceBalanceTimelineDaySummary object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]}}}}
```

## The AbsenceLog object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceLog":{"type":"object","properties":{"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"createdAt":{"type":"string"},"endDate":{"type":"string"},"endTime":{"type":"string"},"id":{"type":"string"},"startDate":{"type":"string"},"startTime":{"type":"string"},"status":{"type":"string"},"user":{"$ref":"#/components/schemas/User"},"wageEarnerNo":{"type":"string"}},"required":["createdAt","endDate","id","startDate","status"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The AbsenceType object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]}}}}
```

## The AbsenceTypeCalculationMethodEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]}}}}
```

## The AzureSyncFieldEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]}}}}
```

## The BalanceTransferStatusEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"BalanceTransferStatusEnum":{"type":"string","enum":["NEXT_PERIOD","ANOTHER_SHOP","VACATION_PLANNER","NOT_TRANSFERABLE","NOT_TRANSFERRED"]}}}}
```

## The CalendarBalanceTransfer object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CalendarBalanceTransfer":{"type":"object","properties":{"amount":{"type":"number","format":"float"},"planPeriodId":{"type":"string"},"shopId":{"type":"string"},"status":{"$ref":"#/components/schemas/BalanceTransferStatusEnum"},"transferDate":{"type":"string","format":"date"},"userId":{"type":"string"}},"required":["planPeriodId","shopId","status","userId"]},"BalanceTransferStatusEnum":{"type":"string","enum":["NEXT_PERIOD","ANOTHER_SHOP","VACATION_PLANNER","NOT_TRANSFERABLE","NOT_TRANSFERRED"]}}}}
```

## The CalendarBalanceTransferPayload object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CalendarBalanceTransferPayload":{"type":"object","properties":{"transfers":{"type":"array","items":{"$ref":"#/components/schemas/CalendarBalanceTransfer"}}},"required":["transfers"]},"CalendarBalanceTransfer":{"type":"object","properties":{"amount":{"type":"number","format":"float"},"planPeriodId":{"type":"string"},"shopId":{"type":"string"},"status":{"$ref":"#/components/schemas/BalanceTransferStatusEnum"},"transferDate":{"type":"string","format":"date"},"userId":{"type":"string"}},"required":["planPeriodId","shopId","status","userId"]},"BalanceTransferStatusEnum":{"type":"string","enum":["NEXT_PERIOD","ANOTHER_SHOP","VACATION_PLANNER","NOT_TRANSFERABLE","NOT_TRANSFERRED"]}}}}
```

## The ChoiceType object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]}}}}
```

## The CivilStateEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]}}}}
```

## The ClientUser object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ClientUser":{"type":"object","properties":{"address1":{"type":"string"},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"customId":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employmentUsers":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"id":{"type":"string"},"initials":{"type":"string"},"isPhotoUploaded":{"type":"boolean"},"isUpdating":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"publicId":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"updatedAt":{"type":"string","format":"date-time"},"welcomeEmailSentAt":{"type":"string","format":"date"}},"required":["contracts","draft","email","id","isPhotoUploaded","personalDataVisibility","publicId","updatedAt"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]}}}}
```

## The Contract object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]}}}}
```

## The ContractStatusEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]}}}}
```

## The ContractTypeDetails object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}}}}}
```

## The ContractTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]}}}}
```

## The ContractZoneSalary object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]}}}}
```

## The CountryEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]}}}}
```

## The CreateAbsenceBalanceCorrectionResult object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CreateAbsenceBalanceCorrectionResult":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"isSuccess":{"type":"boolean"},"item":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"},"userId":{"type":"string"}},"required":["absenceTypeId","errors","isSuccess","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]}}}}
```

## The ExtraField object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]}}}}
```

## The ExtraFieldType object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]}}}}
```

## The ExtraFieldTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]}}}}
```

## The ExtraFieldUseInPlacesEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]}}}}
```

## The FailedUpsertUser object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"FailedUpsertUser":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"externalUserId":{"type":"string"}},"required":["errors","externalUserId"]}}}}
```

## The GenderEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]}}}}
```

## The GenericResponse object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GenericResponse":{"type":"object","properties":{"error":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"result":{"$ref":"#/components/schemas/StatusEnum"}},"required":["errors","result"]},"StatusEnum":{"type":"string","enum":["ok","error","unknown"]}}}}
```

## The Group object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]}}}}
```

## The GroupContextTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]}}}}
```

## The GroupTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]}}}}
```

## The HiringStatusesEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]}}}}
```

## The PeriodStatusEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]}}}}
```

## The PeriodicalAbsenceLock object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodicalAbsenceLock":{"type":"object","properties":{"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"endDate":{"type":"string"},"fraction":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"shopNames":{"type":"array","items":{"type":"string"}},"startDate":{"type":"string"},"user":{"$ref":"#/components/schemas/User"}},"required":["absenceType","endDate","id","shopNames","startDate","user"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The PeriodicalAbsenceLockLog object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodicalAbsenceLockLog":{"type":"object","properties":{"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"createdAt":{"type":"string"},"endDate":{"type":"string"},"id":{"type":"string"},"startDate":{"type":"string"},"status":{"type":"string"},"user":{"$ref":"#/components/schemas/User"},"wageEarnerNo":{"type":"string"}},"required":["createdAt","endDate","id","startDate","status"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The PeriodicalAbsenceLockPayload object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodicalAbsenceLockPayload":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"isSuccess":{"type":"boolean"},"result":{"$ref":"#/components/schemas/PeriodicalAbsenceLockResult"}},"required":["errors","isSuccess"]},"PeriodicalAbsenceLockResult":{"type":"object","properties":{"locks":{"type":"array","items":{"$ref":"#/components/schemas/PeriodicalAbsenceLock"}},"skippedDays":{"type":"array","items":{"$ref":"#/components/schemas/SkippedDay"}}},"required":["locks","skippedDays"]},"PeriodicalAbsenceLock":{"type":"object","properties":{"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"endDate":{"type":"string"},"fraction":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"shopNames":{"type":"array","items":{"type":"string"}},"startDate":{"type":"string"},"user":{"$ref":"#/components/schemas/User"}},"required":["absenceType","endDate","id","shopNames","startDate","user"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"SkippedDay":{"type":"object","properties":{"date":{"type":"string","format":"date"},"reason":{"type":"string"},"type":{"$ref":"#/components/schemas/SkippedDayReasonEnum"}},"required":["date","reason","type"]},"SkippedDayReasonEnum":{"type":"string","enum":["NO_ACTIVE_CONTRACT","MISSING_LINE_FOR_FRACTIONAL","UNAPPLICABLE_FRACTIONAL","LENDING_CONFLICT","DATE_CONFIRMED","NOT_APPLIED"]}}}}
```

## The PeriodicalAbsenceLockResult object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodicalAbsenceLockResult":{"type":"object","properties":{"locks":{"type":"array","items":{"$ref":"#/components/schemas/PeriodicalAbsenceLock"}},"skippedDays":{"type":"array","items":{"$ref":"#/components/schemas/SkippedDay"}}},"required":["locks","skippedDays"]},"PeriodicalAbsenceLock":{"type":"object","properties":{"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"endDate":{"type":"string"},"fraction":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"shopNames":{"type":"array","items":{"type":"string"}},"startDate":{"type":"string"},"user":{"$ref":"#/components/schemas/User"}},"required":["absenceType","endDate","id","shopNames","startDate","user"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"SkippedDay":{"type":"object","properties":{"date":{"type":"string","format":"date"},"reason":{"type":"string"},"type":{"$ref":"#/components/schemas/SkippedDayReasonEnum"}},"required":["date","reason","type"]},"SkippedDayReasonEnum":{"type":"string","enum":["NO_ACTIVE_CONTRACT","MISSING_LINE_FOR_FRACTIONAL","UNAPPLICABLE_FRACTIONAL","LENDING_CONFLICT","DATE_CONFIRMED","NOT_APPLIED"]}}}}
```

## The PersonalDataVisibilityEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```

## The PlusAgreement object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]}}}}
```

## The RealRole object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}}}}}
```

## The Role object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]}}}}
```

## The SavingUnitEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]}}}}
```

## The Shop object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The ShopMainOptions object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}}}}}
```

## The SkippedDay object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"SkippedDay":{"type":"object","properties":{"date":{"type":"string","format":"date"},"reason":{"type":"string"},"type":{"$ref":"#/components/schemas/SkippedDayReasonEnum"}},"required":["date","reason","type"]},"SkippedDayReasonEnum":{"type":"string","enum":["NO_ACTIVE_CONTRACT","MISSING_LINE_FOR_FRACTIONAL","UNAPPLICABLE_FRACTIONAL","LENDING_CONFLICT","DATE_CONFIRMED","NOT_APPLIED"]}}}}
```

## The SkippedDayReasonEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"SkippedDayReasonEnum":{"type":"string","enum":["NO_ACTIVE_CONTRACT","MISSING_LINE_FOR_FRACTIONAL","UNAPPLICABLE_FRACTIONAL","LENDING_CONFLICT","DATE_CONFIRMED","NOT_APPLIED"]}}}}
```

## The SpendingDaysEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]}}}}
```

## The StatusEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"StatusEnum":{"type":"string","enum":["ok","error","unknown"]}}}}
```

## The StyleEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]}}}}
```

## The UpsertUsersWithContractsResponse object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UpsertUsersWithContractsResponse":{"type":"object","properties":{"createdCount":{"type":"integer","format":"int64"},"failedCount":{"type":"integer","format":"int64"},"failedUsers":{"type":"array","items":{"$ref":"#/components/schemas/FailedUpsertUser"}},"updatedCount":{"type":"integer","format":"int64"}},"required":["createdCount","failedCount","failedUsers","updatedCount"]},"FailedUpsertUser":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"externalUserId":{"type":"string"}},"required":["errors","externalUserId"]}}}}
```

## The User object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]}}}}
```

## The UserEmployment object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]}}}}
```

## The UserSalaryFieldDecorator object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}}}}}
```

## The UserSession object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserSession":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"},"user":{"$ref":"#/components/schemas/User"}},"required":["id","token","user"]},"User":{"type":"object","properties":{"absenceBalances":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceTimelineDaySummary"}},"address1":{"type":"string"},"apiEnabled":{"type":"boolean"},"availableLendoutShops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankAccountCountryId":{"type":"string"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string"},"blockFrom":{"type":"string"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilNrCountryId":{"type":"string"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"clientName":{"type":"string"},"contract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"country":{"$ref":"#/components/schemas/CountryEnum"},"countryId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"currentEmployment":{"$ref":"#/components/schemas/UserEmployment"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"customId":{"type":"string"},"daysWeek":{"type":"number","format":"float"},"department":{"$ref":"#/components/schemas/Shop"},"departmentId":{"type":"integer","format":"int64"},"departmentName":{"type":"string"},"draft":{"type":"boolean"},"email":{"type":"string"},"email2":{"type":"string"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/UserEmployment"}},"endDate":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"fullName":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"hiringStatus":{"$ref":"#/components/schemas/HiringStatusesEnum"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"initials":{"type":"string"},"isMain":{"type":"boolean"},"isPhotoUploaded":{"type":"boolean"},"lastName":{"type":"string"},"lastPasswordChangeAt":{"type":"string","format":"date"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"mobileCountryId":{"type":"string"},"mobilePrefix":{"type":"string"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"photoUrl":{"type":"string"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"relevantEmployment":{"$ref":"#/components/schemas/UserEmployment"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string"},"status":{"$ref":"#/components/schemas/UserStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleName":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"vacationHoursWeek":{"type":"number","format":"float"}},"required":["absenceBalances","contracts","email","employments","endDate","id","isPhotoUploaded","personalDataVisibility","startDate","updatedAt"]},"AbsenceBalanceTimelineDaySummary":{"type":"object","properties":{"absenceEndDate":{"type":"string","format":"date"},"absenceStartDate":{"type":"string","format":"date"},"absenceType":{"$ref":"#/components/schemas/AbsenceType"},"accrued":{"type":"number","format":"float"},"available":{"type":"number","format":"float"},"availableHours":{"type":"number","format":"float"},"calendarTransfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"correction":{"type":"number","format":"float"},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"endDate":{"type":"string","format":"date"},"expired":{"type":"number","format":"float"},"extended":{"type":"number","format":"float"},"isActive":{"type":"boolean"},"isBulkCorrectionPossible":{"type":"boolean"},"isBulkTransferPossible":{"type":"boolean"},"isCorrectionPossible":{"type":"boolean"},"isShowHours":{"type":"boolean"},"isShowSubunits":{"type":"boolean"},"isTransferIn":{"type":"boolean"},"isTransferPossible":{"type":"boolean"},"isTransferredIn":{"type":"boolean"},"isTransferredOut":{"type":"boolean"},"prevAccrued":{"type":"number","format":"float"},"selfPaid":{"type":"number","format":"float"},"spent":{"type":"number","format":"float"},"spentHours":{"type":"number","format":"float"},"startDate":{"type":"string","format":"date"},"transfered":{"type":"number","format":"float"},"transferedOrExtended":{"type":"number","format":"float"},"transfers":{"type":"array","items":{"$ref":"#/components/schemas/AbsenceBalanceCorrection"}},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceType","calendarTransfers","corrections","endDate","isActive","isBulkCorrectionPossible","isBulkTransferPossible","isCorrectionPossible","isShowHours","isShowSubunits","isTransferIn","isTransferPossible","isTransferredIn","isTransferredOut","startDate","transfers","userId"]},"AbsenceType":{"type":"object","properties":{"accrualPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"accrualStartDates":{"type":"array","items":{"type":"string","format":"date"}},"anonymous":{"type":"boolean"},"calculationMethod":{"$ref":"#/components/schemas/AbsenceTypeCalculationMethodEnum"},"color":{"type":"string"},"endDate":{"type":"string","format":"date"},"fixedRate":{"type":"number","format":"float"},"frenchLabels":{"type":"boolean"},"group":{"type":"string"},"holidayPeriodStartDates":{"type":"array","items":{"type":"string","format":"date"}},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isApplyOnlyPeriodically":{"type":"boolean"},"isAutoApply":{"type":"boolean"},"isBasedOnContract":{"type":"boolean"},"isBradford":{"type":"boolean"},"isCanOverlapBreaks":{"type":"boolean"},"isClosed":{"type":"boolean"},"isDaily":{"type":"boolean"},"isDeduct":{"type":"boolean"},"isDisabled":{"type":"boolean"},"isEmpty":{"type":"boolean"},"isFixedHourlySalary":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isForRegionManager":{"type":"boolean"},"isForcePeriodical":{"type":"boolean"},"isFractionBasedOnContract":{"type":"boolean"},"isFractionalDays":{"type":"boolean"},"isFractionalHours":{"type":"boolean"},"isFrenchLabels":{"type":"boolean"},"isInFinalize":{"type":"boolean"},"isInPlanning":{"type":"boolean"},"isInStatistics":{"type":"boolean"},"isInVacation":{"type":"boolean"},"isIncludeClosedDay":{"type":"boolean"},"isIncludeClosedPublicHoliday":{"type":"boolean"},"isIncludePublicHoliday":{"type":"boolean"},"isMaternity":{"type":"boolean"},"isOfferSwitch":{"type":"boolean"},"isOverrideCalculations":{"type":"boolean"},"isPeriod":{"type":"boolean"},"isReduceByPublicHoliday":{"type":"boolean"},"isRequestable":{"type":"boolean"},"isShowInBalance":{"type":"boolean"},"isSkip":{"type":"boolean"},"isUnpaidOverused":{"type":"boolean"},"isVacationType":{"type":"boolean"},"managedByRoles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"minimumBalance":{"type":"number","format":"float"},"name":{"type":"string"},"period":{"type":"boolean"},"primaryAbsenceTypeId":{"type":"string"},"primaryColor":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"salaryPercent":{"type":"number","format":"float"},"secondaryAbsenceTypeId":{"type":"string"},"secondaryVacationPercent":{"type":"number","format":"float"},"spendableWeekDays":{"$ref":"#/components/schemas/SpendingDaysEnum"},"startDate":{"type":"string","format":"date"},"style":{"$ref":"#/components/schemas/StyleEnum"},"vacationPercent":{"type":"number","format":"float"},"vacationSavingUnit":{"$ref":"#/components/schemas/SavingUnitEnum"},"worktime":{"type":"number","format":"float"}},"required":["id","isAnonymous","isApplyOnlyPeriodically","isAutoApply","isBasedOnContract","isBradford","isCanOverlapBreaks","isDaily","isDeduct","isDisabled","isFixedHourlySalary","isForcePeriodical","isFractionBasedOnContract","isFractionalDays","isFractionalHours","isFrenchLabels","isInPlanning","isIncludeClosedDay","isIncludeClosedPublicHoliday","isIncludePublicHoliday","isMaternity","isOfferSwitch","isOverrideCalculations","isPeriod","isReduceByPublicHoliday","isRequestable","isShowInBalance","isSkip","isUnpaidOverused","isVacationType","managedByRoles","minimumBalance","period","roles","salaryPercent","secondaryVacationPercent","spendableWeekDays","vacationPercent","worktime"]},"AbsenceTypeCalculationMethodEnum":{"type":"string","enum":["NO_MULTIPLY","DAILY","WEEKLY","WORKING_DAYS"]},"Role":{"type":"object","properties":{"active":{"type":"boolean"},"employmentType":{"type":"string"},"id":{"type":"string"},"isWelcomeEmailDisabled":{"type":"boolean"},"level":{"type":"integer","format":"int64"},"name":{"type":"string"},"title":{"type":"string"}},"required":["active","isWelcomeEmailDisabled"]},"SpendingDaysEnum":{"type":"string","enum":["MONDAY_TO_FRIDAY","MONDAY_TO_SATURDAY","MONDAY_TO_SUNDAY","CONTRACT_BASED"]},"StyleEnum":{"type":"string","enum":["CLOSED","NOINPUT","DAY_OFF","CHILDBIRTH","SICK","SCHOOL","UNPAID_OUT_HOURS","PAID_OUT_HOURS","VACATION","UDE"]},"SavingUnitEnum":{"type":"string","enum":["HOURS","DAYS"]},"AbsenceBalanceCorrection":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"id":{"type":"string"},"units":{"type":"string"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","createdAt","date","id","userId"]},"Shop":{"type":"object","properties":{"address":{"type":"string"},"beaconTag":{"type":"string"},"city":{"type":"string"},"companyNr":{"type":"string"},"customId":{"type":"string"},"dptNr":{"type":"string"},"email":{"type":"string"},"externalDepartmentId":{"type":"string"},"fax":{"type":"string"},"groupName":{"type":"string"},"id":{"type":"string"},"inactiveFrom":{"type":"string"},"isBeacon":{"type":"boolean"},"isEsignatur":{"type":"boolean"},"isFree":{"type":"boolean"},"latitude":{"type":"number","format":"float"},"longitude":{"type":"number","format":"float"},"mainOptions":{"$ref":"#/components/schemas/ShopMainOptions"},"manager":{"$ref":"#/components/schemas/User"},"managerId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"publicId":{"type":"string"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"timeZone":{"type":"string"},"timeZoneOffset":{"type":"integer","format":"int64"}},"required":["id","isBeacon","isEsignatur","isFree","name","publicId","regions","timeZone"]},"ShopMainOptions":{"type":"object","properties":{"costCenter":{"type":"string"}}},"Group":{"type":"object","properties":{"color":{"type":"string"},"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"hidden":{"type":"boolean"},"id":{"type":"string"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}}},"required":["color","departments","hidden","id","name","shops"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"Contract":{"type":"object","properties":{"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"createdAt":{"type":"string","format":"date-time"},"createdById":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"date":{"type":"string","format":"date"},"department":{"$ref":"#/components/schemas/Shop"},"empType":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"employmentPercentSalary":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"fulltimeMonthlySalary":{"type":"number","format":"float"},"hoursToWorkMonth":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"hoursYear":{"type":"number","format":"float"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartment":{"$ref":"#/components/schemas/Shop"},"payingDepartmentId":{"type":"integer","format":"int64"},"payrollNo":{"type":"string"},"plusAgreements":{"type":"array","items":{"$ref":"#/components/schemas/PlusAgreement"}},"productivity":{"type":"integer","format":"int64"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtra9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraAmount9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour10":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour2":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour3":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour4":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour5":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour6":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour7":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour8":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryExtraHour9":{"$ref":"#/components/schemas/UserSalaryFieldDecorator"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"},"title":{"$ref":"#/components/schemas/RealRole"},"titleBasedWorkAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"travelTimeMonth":{"type":"number","format":"float"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalary"}}},"required":["startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetails":{"type":"object","properties":{"contractId":{"type":"string"},"id":{"type":"string"},"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldType":{"type":"object","properties":{"customId":{"type":"string"},"extraField":{"$ref":"#/components/schemas/ExtraField"},"ftype":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"selectedChoices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"value":{"type":"string"}},"required":["extraField","ftype","id","name"]},"ExtraField":{"type":"object","properties":{"apiName":{"type":"string"},"azureSyncField":{"$ref":"#/components/schemas/AzureSyncFieldEnum"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceType"}},"customId":{"type":"string"},"default":{"type":"string"},"description":{"type":"string"},"fieldType":{"$ref":"#/components/schemas/ExtraFieldTypeEnum"},"ftype":{"type":"string"},"id":{"type":"string"},"inSalaryExport":{"type":"integer","format":"int64"},"isAllowedEmployeeEdit":{"type":"boolean"},"isForAdmin":{"type":"boolean"},"isInContactList":{"type":"boolean"},"isInExportFieldSetup":{"type":"boolean"},"isWithChangeDates":{"type":"boolean"},"name":{"type":"string"},"ordering":{"type":"integer","format":"int64"},"parentId":{"type":"string"},"required":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/Role"}},"section":{"type":"string"},"sectionName":{"type":"string"},"shops":{"type":"array","items":{"$ref":"#/components/schemas/Shop"}},"showByDependency":{"type":"boolean"},"showInUserForm":{"type":"boolean"},"triggerValues":{"type":"array","items":{"type":"string"}},"useIn":{"$ref":"#/components/schemas/ExtraFieldUseInPlacesEnum"}},"required":["fieldType","inSalaryExport","isAllowedEmployeeEdit","isForAdmin","isInContactList","isInExportFieldSetup","isWithChangeDates","shops","showInUserForm"]},"AzureSyncFieldEnum":{"type":"string","enum":["jobTitle","officeLocation","department","companyName","employeeId","employeeType","faxNumber"]},"ChoiceType":{"type":"object","properties":{"autoApplyExtraFieldId":{"type":"string"},"autoApplyRoleIds":{"type":"array","items":{"type":"string"}},"autoApplyTriggerValues":{"type":"array","items":{"type":"string"}},"default":{"type":"boolean"},"hide":{"type":"boolean"},"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id"]},"ExtraFieldTypeEnum":{"type":"string","enum":["BOOLEAN","NUMBER","TEXT","DATE","SINGLE_CHOICE","MULTI_CHOICE"]},"ExtraFieldUseInPlacesEnum":{"type":"string","enum":["TERMINATION","USER_FORM","CONTRACT_FORM"]},"PlusAgreement":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetails"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldType"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"id":{"type":"string"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"},"status":{"$ref":"#/components/schemas/ContractStatusEnum"}},"required":["id"]},"ContractStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"UserSalaryFieldDecorator":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"float"}}},"RealRole":{"type":"object","properties":{"automaticLogoutDuration":{"type":"integer","format":"int64"},"id":{"type":"string"},"name":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalary":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/Contract"},"contractId":{"type":"string"},"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["contract","salaryHour","zoneId"]},"UserEmployment":{"type":"object","properties":{"activeContract":{"$ref":"#/components/schemas/Contract"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Contract"}},"endDate":{"type":"string","format":"date"},"id":{"type":"string"},"isFirst":{"type":"boolean"},"periodStatus":{"$ref":"#/components/schemas/PeriodStatusEnum"},"relevantContract":{"$ref":"#/components/schemas/Contract"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/ExtraFieldType"},"user":{"$ref":"#/components/schemas/User"},"userId":{"type":"string"}}},"PeriodStatusEnum":{"type":"string","enum":["ACTIVE","EXPIRED","UPCOMING"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"HiringStatusesEnum":{"type":"string","enum":["NEW_HIRE","HIRE_APPROVED","PENDING_CONTRACT","CONTRACT_SIGNED"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]},"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The UserStatusEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserStatusEnum":{"type":"string","enum":["Active","Blocked","Deleted","Finished"]}}}}
```

## The UserStatusesEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserStatusesEnum":{"type":"string","enum":["ACTIVE","NOT_STARTED","ENDED","DRAFT","DISABLED"]}}}}
```

## The WorkAmountTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]}}}}
```

## The AUTH\_PROVIDER\_INPUT object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AUTH_PROVIDER_INPUT":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}},"required":["email","password"]}}}}
```

## The AbsenceBalanceCorrectionCreateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceCorrectionCreateInput":{"type":"object","properties":{"absenceTypeId":{"type":"string"},"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"$ref":"#/components/schemas/AbsenceBalancePublicCorrectionTypeEnum"},"date":{"type":"string","format":"date"},"expirationDate":{"type":"string","format":"date"},"units":{"$ref":"#/components/schemas/HolidayUnitsEnum"},"userId":{"type":"string"}},"required":["absenceTypeId","amount","correctionType","date","units","userId"]},"AbsenceBalancePublicCorrectionTypeEnum":{"type":"string","enum":["TRANSFER","MANUAL"]},"HolidayUnitsEnum":{"type":"string","enum":["DAYS","HOURS"]}}}}
```

## The AbsenceBalanceCorrectionDestroyInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceCorrectionDestroyInput":{"type":"object","properties":{"reason":{"type":"string"}},"required":["reason"]}}}}
```

## The AbsenceBalanceCorrectionUpdateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceCorrectionUpdateInput":{"type":"object","properties":{"amount":{"type":"number","format":"float"},"comment":{"type":"string"},"correctionType":{"$ref":"#/components/schemas/AbsenceBalancePublicCorrectionTypeEnum"},"expirationDate":{"type":"string","format":"date"}},"required":["amount","comment","correctionType"]},"AbsenceBalancePublicCorrectionTypeEnum":{"type":"string","enum":["TRANSFER","MANUAL"]}}}}
```

## The AbsenceBalanceFilter object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalanceFilter":{"type":"object","properties":{"absenceIds":{"type":"array","items":{"type":"string"}},"userIds":{"type":"array","items":{"type":"string"}}},"required":["absenceIds","userIds"]}}}}
```

## The AbsenceBalancePublicCorrectionTypeEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"AbsenceBalancePublicCorrectionTypeEnum":{"type":"string","enum":["TRANSFER","MANUAL"]}}}}
```

## The CalendarBalanceTransferInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CalendarBalanceTransferInput":{"type":"object","properties":{"date":{"type":"string","format":"date"},"userIds":{"type":"array","items":{"type":"string"}}},"required":["date","userIds"]}}}}
```

## The ChangeTerminationDateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ChangeTerminationDateInput":{"type":"object","properties":{"terminationDate":{"type":"string","format":"date"},"terminationReason":{"type":"string"}},"required":["terminationDate"]}}}}
```

## The ChangeUserStartDateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ChangeUserStartDateInput":{"type":"object","properties":{"startDate":{"type":"string","format":"date"}},"required":["startDate"]}}}}
```

## The ContractCreateRehireInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractCreateRehireInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"sendWelcomeEmail":{"type":"boolean"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"type":"string"},"titleId":{"type":"string"},"userId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}}},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]}}}}
```

## The ContractCreateReplacingInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractCreateReplacingInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"last":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"sendWelcomeEmail":{"type":"boolean"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}},"required":["departmentId","startDate","titleId"]},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]}}}}
```

## The ContractSalaryInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}}}}}
```

## The ContractTypeDetailsInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}}}}}
```

## The ContractUpdateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractUpdateInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}}},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]}}}}
```

## The ContractZoneSalaryInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]}}}}
```

## The CreateUserWithContractContractInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CreateUserWithContractContractInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"sendWelcomeEmail":{"type":"boolean"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"type":"string"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}},"required":["departmentId","startDate","titleId"]},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]}}}}
```

## The CreateUserWithContractInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CreateUserWithContractInput":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/CreateUserWithContractContractInput"},"user":{"$ref":"#/components/schemas/CreateUserWithContractUserInput"}}},"CreateUserWithContractContractInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"sendWelcomeEmail":{"type":"boolean"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"type":"string"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}},"required":["departmentId","startDate","titleId"]},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]},"CreateUserWithContractUserInput":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string","format":"date"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"country":{"$ref":"#/components/schemas/CountryEnum"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"customId":{"type":"string"},"email":{"type":"string"},"email2":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"initials":{"type":"string"},"lastName":{"type":"string"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"}},"required":["address1","civilNr","civilNrCountry","email","firstName","lastName","mobile"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```

## The CreateUserWithContractUserInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"CreateUserWithContractUserInput":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string","format":"date"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"country":{"$ref":"#/components/schemas/CountryEnum"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"customId":{"type":"string"},"email":{"type":"string"},"email2":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"initials":{"type":"string"},"lastName":{"type":"string"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"}},"required":["address1","civilNr","civilNrCountry","email","firstName","lastName","mobile"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```

## The ExtraFieldInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}}}}}
```

## The GroupCreateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GroupCreateInput":{"type":"object","properties":{"contextId":{"type":"string"},"contextType":{"$ref":"#/components/schemas/GroupContextTypeEnum"},"departmentIds":{"type":"array","items":{"type":"string"}},"groupType":{"$ref":"#/components/schemas/GroupTypeEnum"},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true}},"required":["name"]},"GroupContextTypeEnum":{"type":"string","enum":["Client","Shop"]},"GroupTypeEnum":{"type":"string","enum":["Dc","Sms","Users","Report","Overview"]}}}}
```

## The GroupUpdateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"GroupUpdateInput":{"type":"object","properties":{"departmentIds":{"type":"array","items":{"type":"string"}},"managerId":{"type":"string"},"name":{"type":"string"},"settings":{"type":"object","additionalProperties":true}}}}}}
```

## The HolidayUnitsEnum object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"HolidayUnitsEnum":{"type":"string","enum":["DAYS","HOURS"]}}}}
```

## The PeriodInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PeriodInput":{"type":"object","properties":{"endDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"}},"required":["endDate","startDate"]}}}}
```

## The PlusAgreementCreateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PlusAgreementCreateInput":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"}},"required":["contractId","endDate","startDate"]},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}}}}}
```

## The PlusAgreementUpdateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"PlusAgreementUpdateInput":{"type":"object","properties":{"additionalHours":{"type":"number","format":"float"},"contractId":{"type":"string"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"endDate":{"type":"string","format":"date"},"hoursWeek":{"type":"number","format":"float"},"note":{"type":"string"},"startDate":{"type":"string","format":"date"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}}}}}
```

## The UpsertUserWithContractInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UpsertUserWithContractInput":{"type":"object","properties":{"contract":{"$ref":"#/components/schemas/CreateUserWithContractContractInput"},"externalUserId":{"type":"string"},"user":{"$ref":"#/components/schemas/CreateUserWithContractUserInput"}},"required":["externalUserId"]},"CreateUserWithContractContractInput":{"type":"object","properties":{"contractSalary":{"$ref":"#/components/schemas/ContractSalaryInput"},"contractType":{"$ref":"#/components/schemas/ContractTypeEnum"},"contractTypeDetails":{"$ref":"#/components/schemas/ContractTypeDetailsInput"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"departmentId":{"type":"string"},"employmentId":{"type":"string"},"employmentPercent":{"type":"number","format":"float"},"endDate":{"type":"string","format":"date"},"fixedLendoutRate":{"type":"number","format":"float"},"hoursWeek":{"type":"number","format":"float"},"hoursWeekWeekdays":{"type":"string"},"isCreateNewEmployment":{"type":"boolean"},"maxSalary":{"type":"number","format":"float"},"overtimeBuffer":{"type":"integer","format":"int64"},"packageDays":{"type":"integer","format":"int64"},"payingDepartmentId":{"type":"string"},"payrollNo":{"type":"string"},"productivityPercent":{"type":"integer","format":"int64"},"salaryComment":{"type":"string"},"salaryExtra":{"type":"number","format":"float"},"salaryExtra10":{"type":"number","format":"float"},"salaryExtra2":{"type":"number","format":"float"},"salaryExtra3":{"type":"number","format":"float"},"salaryExtra4":{"type":"number","format":"float"},"salaryExtra5":{"type":"number","format":"float"},"salaryExtra6":{"type":"number","format":"float"},"salaryExtra7":{"type":"number","format":"float"},"salaryExtra8":{"type":"number","format":"float"},"salaryExtra9":{"type":"number","format":"float"},"salaryExtraAmount":{"type":"number","format":"float"},"salaryExtraAmount10":{"type":"number","format":"float"},"salaryExtraAmount2":{"type":"number","format":"float"},"salaryExtraAmount3":{"type":"number","format":"float"},"salaryExtraAmount4":{"type":"number","format":"float"},"salaryExtraAmount5":{"type":"number","format":"float"},"salaryExtraAmount6":{"type":"number","format":"float"},"salaryExtraAmount7":{"type":"number","format":"float"},"salaryExtraAmount8":{"type":"number","format":"float"},"salaryExtraAmount9":{"type":"number","format":"float"},"salaryExtraHour":{"type":"number","format":"float"},"salaryExtraHour10":{"type":"number","format":"float"},"salaryExtraHour2":{"type":"number","format":"float"},"salaryExtraHour3":{"type":"number","format":"float"},"salaryExtraHour4":{"type":"number","format":"float"},"salaryExtraHour5":{"type":"number","format":"float"},"salaryExtraHour6":{"type":"number","format":"float"},"salaryExtraHour7":{"type":"number","format":"float"},"salaryExtraHour8":{"type":"number","format":"float"},"salaryExtraHour9":{"type":"number","format":"float"},"salaryHour":{"type":"number","format":"float"},"salaryMonth":{"type":"number","format":"float"},"sendWelcomeEmail":{"type":"boolean"},"seniorityStartDate":{"type":"string","format":"date"},"startDate":{"type":"string","format":"date"},"terminationReason":{"type":"string"},"titleId":{"type":"string"},"vacationDays":{"type":"number","format":"float"},"vacationHoursWeek":{"type":"number","format":"float"},"workAmountType":{"$ref":"#/components/schemas/WorkAmountTypeEnum"},"workingDaysPerWeek":{"type":"integer","format":"int64"},"zoneSalaries":{"type":"array","items":{"$ref":"#/components/schemas/ContractZoneSalaryInput"}}},"required":["departmentId","startDate","titleId"]},"ContractSalaryInput":{"type":"object","properties":{"manualSalaryExtra":{"type":"number","format":"float"},"manualSalaryExtra10":{"type":"number","format":"float"},"manualSalaryExtra2":{"type":"number","format":"float"},"manualSalaryExtra3":{"type":"number","format":"float"},"manualSalaryExtra4":{"type":"number","format":"float"},"manualSalaryExtra5":{"type":"number","format":"float"},"manualSalaryExtra6":{"type":"number","format":"float"},"manualSalaryExtra7":{"type":"number","format":"float"},"manualSalaryExtra8":{"type":"number","format":"float"},"manualSalaryExtra9":{"type":"number","format":"float"},"manualSalaryExtraAmount":{"type":"number","format":"float"},"manualSalaryExtraAmount10":{"type":"number","format":"float"},"manualSalaryExtraAmount2":{"type":"number","format":"float"},"manualSalaryExtraAmount3":{"type":"number","format":"float"},"manualSalaryExtraAmount4":{"type":"number","format":"float"},"manualSalaryExtraAmount5":{"type":"number","format":"float"},"manualSalaryExtraAmount6":{"type":"number","format":"float"},"manualSalaryExtraAmount7":{"type":"number","format":"float"},"manualSalaryExtraAmount8":{"type":"number","format":"float"},"manualSalaryExtraAmount9":{"type":"number","format":"float"},"manualSalaryExtraHour":{"type":"number","format":"float"},"manualSalaryExtraHour10":{"type":"number","format":"float"},"manualSalaryExtraHour2":{"type":"number","format":"float"},"manualSalaryExtraHour3":{"type":"number","format":"float"},"manualSalaryExtraHour4":{"type":"number","format":"float"},"manualSalaryExtraHour5":{"type":"number","format":"float"},"manualSalaryExtraHour6":{"type":"number","format":"float"},"manualSalaryExtraHour7":{"type":"number","format":"float"},"manualSalaryExtraHour8":{"type":"number","format":"float"},"manualSalaryExtraHour9":{"type":"number","format":"float"},"manualSalaryHour":{"type":"number","format":"float"},"manualSalaryMonth":{"type":"number","format":"float"},"salaryExtra10Automated":{"type":"boolean"},"salaryExtra2Automated":{"type":"boolean"},"salaryExtra3Automated":{"type":"boolean"},"salaryExtra4Automated":{"type":"boolean"},"salaryExtra5Automated":{"type":"boolean"},"salaryExtra6Automated":{"type":"boolean"},"salaryExtra7Automated":{"type":"boolean"},"salaryExtra8Automated":{"type":"boolean"},"salaryExtra9Automated":{"type":"boolean"},"salaryExtraAmount10Automated":{"type":"boolean"},"salaryExtraAmount2Automated":{"type":"boolean"},"salaryExtraAmount3Automated":{"type":"boolean"},"salaryExtraAmount4Automated":{"type":"boolean"},"salaryExtraAmount5Automated":{"type":"boolean"},"salaryExtraAmount6Automated":{"type":"boolean"},"salaryExtraAmount7Automated":{"type":"boolean"},"salaryExtraAmount8Automated":{"type":"boolean"},"salaryExtraAmount9Automated":{"type":"boolean"},"salaryExtraAmountAutomated":{"type":"boolean"},"salaryExtraAutomated":{"type":"boolean"},"salaryExtraHour10Automated":{"type":"boolean"},"salaryExtraHour2Automated":{"type":"boolean"},"salaryExtraHour3Automated":{"type":"boolean"},"salaryExtraHour4Automated":{"type":"boolean"},"salaryExtraHour5Automated":{"type":"boolean"},"salaryExtraHour6Automated":{"type":"boolean"},"salaryExtraHour7Automated":{"type":"boolean"},"salaryExtraHour8Automated":{"type":"boolean"},"salaryExtraHour9Automated":{"type":"boolean"},"salaryExtraHourAutomated":{"type":"boolean"},"salaryHourAutomated":{"type":"boolean"},"salaryMonthAutomated":{"type":"boolean"}}},"ContractTypeEnum":{"type":"string","enum":["FIXED_TERM","PERMANENT","SEASONAL","TEMPORARY","AGREED_FIXED_TIME","NOT_EMPLOYED","PROBATIONARY_EMPLOYMENT"]},"ContractTypeDetailsInput":{"type":"object","properties":{"probationaryEmploymentTo":{"type":"string","format":"date"},"reason":{"type":"string"},"whom":{"type":"string"}}},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"WorkAmountTypeEnum":{"type":"string","enum":["hours_per_week","hours_per_weekday","package_days"]},"ContractZoneSalaryInput":{"type":"object","properties":{"salaryHour":{"type":"number","format":"float"},"zoneId":{"type":"string"}},"required":["zoneId"]},"CreateUserWithContractUserInput":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string","format":"date"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"country":{"$ref":"#/components/schemas/CountryEnum"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"customId":{"type":"string"},"email":{"type":"string"},"email2":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"initials":{"type":"string"},"lastName":{"type":"string"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"}},"required":["address1","civilNr","civilNrCountry","email","firstName","lastName","mobile"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```

## The UserCreateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserCreateInput":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string","format":"date"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"country":{"$ref":"#/components/schemas/CountryEnum"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"customId":{"type":"string"},"email":{"type":"string"},"email2":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"initials":{"type":"string"},"lastName":{"type":"string"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"},"titleId":{"type":"string"}},"required":["address1","civilNr","civilNrCountry","email","firstName","lastName","mobile"]},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```

## The UserUpdateInput object

```json
{"openapi":"3.0.2","info":{"title":"Samesystem - OpenAPI 3.0","version":"1.0.0"},"components":{"schemas":{"UserUpdateInput":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"apiEnabled":{"type":"boolean"},"azureSyncShopIds":{"type":"array","items":{"type":"string"}},"bankAccount":{"type":"string"},"bankAccountCountry":{"$ref":"#/components/schemas/CountryEnum"},"bankRegNr":{"type":"string"},"basePlanDepartmentIds":{"type":"array","items":{"type":"string"}},"birthDate":{"type":"string","format":"date"},"blockFrom":{"type":"string","format":"date"},"businessEmail":{"type":"string"},"city":{"type":"string"},"civilNr":{"type":"string"},"civilNrCountry":{"$ref":"#/components/schemas/CountryEnum"},"civilState":{"$ref":"#/components/schemas/CivilStateEnum"},"country":{"$ref":"#/components/schemas/CountryEnum"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/ExtraFieldInput"}},"customId":{"type":"string"},"email":{"type":"string"},"email2":{"type":"string"},"firstName":{"type":"string"},"fullAddress":{"type":"string"},"gender":{"$ref":"#/components/schemas/GenderEnum"},"id":{"type":"string"},"initials":{"type":"string"},"lastName":{"type":"string"},"lockedCal":{"type":"boolean"},"mobile":{"type":"string"},"mobileCountry":{"$ref":"#/components/schemas/CountryEnum"},"notes":{"type":"string"},"personalDataVisibility":{"$ref":"#/components/schemas/PersonalDataVisibilityEnum"},"postalCode":{"type":"string"},"prefix":{"type":"string"},"seniorityStartDate":{"type":"string","format":"date"},"titleId":{"type":"string"}}},"CountryEnum":{"type":"string","enum":["dk","se","no","de","mx","us","gb","es","nl","fi","ie","be","eg","lt","fr","ch","it","ca","is","pk","fo","cz","lu","cn","at","ee","lv","ae","tr","cx","pt","pl","ro","ru","ua","gr","hu","by","rs","bg","sk","hr","md","ba","al","mk","si","me","mt","ad","mc","li","sm","mq","xk","bw","to","mh","cg","tz","sx","bh","ke","qa","jo","tn","py","my","cm","sb","mn","vu","np","gu","lb","ci","ec","pw","kg","kp","sn","vg","cr","gt","kz","cv","va","bt","co","gd","mp","pg","za","gn","hk","td","sh","hn","ma","ni","ky","gy","gh","sc","vi","et","mr","re","tj","cu","so","au","bj","la","sd","ly","ml","pe","bm","fj","ng","in","gs","ls","zm","tk","gm","sl","ki","gl","io","mz","pa","uy","aw","ir","im","ax","sa","dj","jm","ne","af","ws","cw","cy","mg","uz","mo","fm","mv","er","gw","kw","ga","ye","cc","tl","rw","ag","tg","sy","gp","tm","lk","ar","ss","ps","ge","jp","cl","kn","as","ai","ph","bo","st","ms","mm","nu","il","km","vn","bq","je","fk","am","ve","bf","dz","pm","sv","bn","cf","ug","wf","tw","na","mw","az","iq","kh","tv","ck","ht","bz","gf","cd","gq","mu","zw","sg","om","bi","eh","yt","pr","tc","nr","mf","pf","nz","tt","bl","pn","nf","bb","kr","bd","do","id","lr","gg","sr","dm","th","nc","gi","sj","ao","bs","sz","br","lc"]},"CivilStateEnum":{"type":"string","enum":["SINGLE","MARRIED"]},"ExtraFieldInput":{"type":"object","properties":{"customId":{"type":"string"},"id":{"type":"string"},"value":{"type":"string"}}},"GenderEnum":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"PersonalDataVisibilityEnum":{"type":"string","enum":["SHOW_EVERYWHERE","SHOW_IN_DEPARTMENT","HIDE_EVERYWHERE"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samesystem.dev/api-v2-reference/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
