Skip to content

Commit e5dc688

Browse files
authored
Update personio-personnel-data-api-oa3.yaml (personio#196)
1 parent 7a51f2b commit e5dc688

File tree

1 file changed

+1
-50
lines changed

1 file changed

+1
-50
lines changed

personio-personnel-data-api-oa3.yaml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,25 +1524,16 @@ paths:
15241524
attributes:
15251525
id: 1234
15261526
name: 'Paid vacation'
1527-
category: null
1528-
legacy_category: null
1527+
category: 'paid_vacation'
15291528
unit: 'day'
1530-
half_day_requests_enabled: true
1531-
certification_required: false
1532-
substitute_option: disabled
15331529
approval_required: true
15341530

15351531
- type: TimeOffType
15361532
attributes:
15371533
id: 1235
15381534
name: 'Home office'
15391535
category: 'offsite_work'
1540-
legacy_category: 'offsite_work'
15411536
unit: 'hour'
1542-
half_day_requests_enabled: true
1543-
certification_required: true
1544-
certification_submission_timeframe: 2
1545-
substitute_option: optional
15461537
approval_required: true
15471538

15481539
/company/time-offs:
@@ -4001,52 +3992,12 @@ components:
40013992
- other
40023993
- undefined
40033994
example: offsite_work
4004-
legacy_category:
4005-
type: string
4006-
nullable: true
4007-
enum:
4008-
- family_care_sick_leave
4009-
- individual_prohibition_of_employment
4010-
- maternity_protection_period
4011-
- other
4012-
- paid_vacation
4013-
- parental_leave
4014-
- sick_leave
4015-
- lawful_strike
4016-
- unlawful_strike
4017-
- treatment
4018-
- unexcused_absence
4019-
- unpaid_vacation
4020-
- voluntary_military_service
4021-
- offsite_work
4022-
- family_care_long_term
4023-
- paid_child_sick
4024-
- unpaid_child_sick
4025-
- undefined
4026-
example: offsite_work
40273995
unit:
40283996
type: string
40293997
enum:
40303998
- day
40313999
- hour
40324000
example: day
4033-
half_day_requests_enabled:
4034-
type: boolean
4035-
example: true
4036-
certification_required:
4037-
type: boolean
4038-
example: false
4039-
certification_submission_timeframe:
4040-
description: The timeframe in days under which the employee needs to submit the certification
4041-
type: integer
4042-
example: 2
4043-
substitute_option:
4044-
type: string
4045-
enum:
4046-
- disabled
4047-
- optional
4048-
- required
4049-
example: optional
40504001
approval_required:
40514002
type: boolean
40524003
example: true

0 commit comments

Comments
 (0)