Skip to content

Commit

Permalink
Update personio-personnel-data-api-oa3.yaml (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
aynroot authored Sep 16, 2024
1 parent 7a51f2b commit e5dc688
Showing 1 changed file with 1 addition and 50 deletions.
51 changes: 1 addition & 50 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1524,25 +1524,16 @@ paths:
attributes:
id: 1234
name: 'Paid vacation'
category: null
legacy_category: null
category: 'paid_vacation'
unit: 'day'
half_day_requests_enabled: true
certification_required: false
substitute_option: disabled
approval_required: true

- type: TimeOffType
attributes:
id: 1235
name: 'Home office'
category: 'offsite_work'
legacy_category: 'offsite_work'
unit: 'hour'
half_day_requests_enabled: true
certification_required: true
certification_submission_timeframe: 2
substitute_option: optional
approval_required: true

/company/time-offs:
Expand Down Expand Up @@ -4001,52 +3992,12 @@ components:
- other
- undefined
example: offsite_work
legacy_category:
type: string
nullable: true
enum:
- family_care_sick_leave
- individual_prohibition_of_employment
- maternity_protection_period
- other
- paid_vacation
- parental_leave
- sick_leave
- lawful_strike
- unlawful_strike
- treatment
- unexcused_absence
- unpaid_vacation
- voluntary_military_service
- offsite_work
- family_care_long_term
- paid_child_sick
- unpaid_child_sick
- undefined
example: offsite_work
unit:
type: string
enum:
- day
- hour
example: day
half_day_requests_enabled:
type: boolean
example: true
certification_required:
type: boolean
example: false
certification_submission_timeframe:
description: The timeframe in days under which the employee needs to submit the certification
type: integer
example: 2
substitute_option:
type: string
enum:
- disabled
- optional
- required
example: optional
approval_required:
type: boolean
example: true
Expand Down

0 comments on commit e5dc688

Please sign in to comment.