diff --git a/personio-personnel-data-api-oa3.yaml b/personio-personnel-data-api-oa3.yaml index b0e5205..076925e 100644 --- a/personio-personnel-data-api-oa3.yaml +++ b/personio-personnel-data-api-oa3.yaml @@ -2138,7 +2138,7 @@ components: data: type: object properties: - id: + id: type: integer example: 1 type: @@ -2480,6 +2480,7 @@ components: type: object properties: label: + type: string example: Department value: type: object @@ -2495,6 +2496,7 @@ components: type: $ref: '#/components/schemas/TypeEnum' universal_id: + type: string example: department CostCenters: type: object @@ -2605,8 +2607,14 @@ components: example: Team attributes: type: object + required: + - id properties: + id: + type: number + example: 1 name: + type: string example: Management type: $ref: '#/components/schemas/TypeEnum' @@ -2651,9 +2659,13 @@ components: Employee: type: object + required: + - id properties: id: type: object + required: + - value properties: label: example: ID @@ -3105,14 +3117,14 @@ components: type: string example: "Project" attributes: - type: object - properties: - name: - type: string - example: "A project name" - active: - type: boolean - example: true + type: object + properties: + name: + type: string + example: "A project name" + active: + type: boolean + example: true AttendanceCreateRequest: type: object @@ -3299,6 +3311,8 @@ components: description: Time-off type resource name attributes: type: object + required: + - id properties: id: type: integer @@ -3441,6 +3455,17 @@ components: Absence: type: object + required: + - id + - status + - start_date + - end_date + - half_day_start + - half_day_end + - time_off_type + - employee + - created_at + - updated_at properties: id: type: integer @@ -3471,6 +3496,8 @@ components: example: TimeOffType attributes: type: object + required: + - id properties: id: type: integer @@ -3495,17 +3522,25 @@ components: updated_at: type: string example: 2017-01-17T10:32:18+0100 + comment: + type: string ShortEmployee: type: object + required: + - attributes properties: type: type: string example: Employee attributes: type: object + required: + - id properties: id: type: object + required: + - value properties: label: example: 1