Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ paths:
example: '2020-01-31'
format: date
description: "Employee hire date. Format: \"yyyy-mm-dd\". If `status` is not provided, it will be set to `active` if the hire date is in the past, or to `onboarding` if it's in the future."
pattern: ^\d{4}-\d{2}-\d{2}$
pattern: /^\d{4}-\d{2}-\d{2}$/
weekly_working_hours:
type: number
example: 40
Expand Down Expand Up @@ -562,7 +562,7 @@ paths:
example: '2020-01-31'
format: date
description: "Employee hire date. Format: yyyy-mm-dd"
pattern: ^\d{4}-\d{2}-\d{2}$
pattern: /^\d{4}-\d{2}-\d{2}$/
"employee[weekly_working_hours]":
description: Employee weekly working hours
type: number
Expand Down Expand Up @@ -673,7 +673,7 @@ paths:
example: '2020-01-31'
format: date
description: "Employee hire date. Format: \"yyyy-mm-dd\". Update of the `hire_date` will not update employee status on its own (for that you'll need to update the `status` field)"
pattern: ^\d{4}-\d{2}-\d{2}$
pattern: /^\d{4}-\d{2}-\d{2}$/
weekly_working_hours:
type: number
example: 40
Expand Down Expand Up @@ -723,7 +723,7 @@ paths:
example: '2020-01-31'
format: date
description: "Employee hire date. Format: yyyy-mm-dd"
pattern: ^\d{4}-\d{2}-\d{2}$
pattern: /^\d{4}-\d{2}-\d{2}$/
"employee[weekly_working_hours]":
description: Employee weekly working hours
type: number
Expand Down Expand Up @@ -3501,25 +3501,25 @@ components:
example: Standard Hours
monday:
example: 08:30
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
tuesday:
example: 08:30
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
wednesday:
example: 08:30
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
thursday:
example: 08:30
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
friday:
example: 08:30
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
saturday:
example: 00:00
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
sunday:
example: 00:00
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
type:
$ref: '#/components/schemas/TypeEnum'
universal_id:
Expand Down Expand Up @@ -4015,12 +4015,12 @@ components:
format: date
start_time:
type: string
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "08:00"
end_time:
type: string
nullable: true
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "17:00"
break:
type: integer
Expand Down Expand Up @@ -4078,13 +4078,13 @@ components:
format: date
start_time:
type: string
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "08:00"
description: "Format: hh:mm"
end_time:
type: string
nullable: true
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "17:00"
description: "Format: hh:mm"
break:
Expand Down Expand Up @@ -4112,13 +4112,13 @@ components:
format: date
start_time:
type: string
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "08:00"
description: "Format: hh:mm"
end_time:
type: string
nullable: true
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
example: "17:00"
description: "Format: hh:mm"
break:
Expand Down Expand Up @@ -4195,13 +4195,13 @@ components:
example: '2020-01-31'
attendances[][start_time]:
type: string
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
description: "Start time. Format: hh:mm"
example: '08:00'
attendances[][end_time]:
type: string
nullable: true
pattern: ^\d\d:\d\d$
pattern: /^\d\d:\d\d$/
description: "End time. Format: hh:mm"
example: '12:00'
attendances[]break:
Expand Down