2022-09-06 11:07:08 +02:00
|
|
|
|
|
|
|
components:
|
|
|
|
|
|
|
|
schemas:
|
|
|
|
|
2022-09-21 09:44:09 +02:00
|
|
|
HsOfficePersonType:
|
|
|
|
type: string
|
|
|
|
enum:
|
2024-01-24 15:18:44 +01:00
|
|
|
- UNKNOWN_PERSON
|
|
|
|
- NATURAL_PERSON
|
|
|
|
- LEGAL_PERSON
|
|
|
|
- INCORPORATED_FIRM
|
|
|
|
- UNINCORPORATED_FIRM
|
|
|
|
- PUBLIC_INSTITUTION
|
2022-09-21 09:44:09 +02:00
|
|
|
|
|
|
|
HsOfficePerson:
|
2022-09-06 11:07:08 +02:00
|
|
|
type: object
|
|
|
|
properties:
|
2022-09-21 09:44:09 +02:00
|
|
|
uuid:
|
2022-09-06 11:07:08 +02:00
|
|
|
type: string
|
2022-09-21 09:44:09 +02:00
|
|
|
format: uuid
|
|
|
|
personType:
|
|
|
|
$ref: '#/components/schemas/HsOfficePersonType'
|
2022-09-06 11:07:08 +02:00
|
|
|
tradeName:
|
|
|
|
type: string
|
2024-02-02 09:02:28 +01:00
|
|
|
salutation:
|
|
|
|
type: string
|
|
|
|
title:
|
|
|
|
type: string
|
2022-09-06 11:07:08 +02:00
|
|
|
givenName:
|
|
|
|
type: string
|
|
|
|
familyName:
|
|
|
|
type: string
|
|
|
|
|
2022-09-21 09:44:09 +02:00
|
|
|
HsOfficePersonInsert:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
personType:
|
|
|
|
$ref: '#/components/schemas/HsOfficePersonType'
|
|
|
|
tradeName:
|
|
|
|
type: string
|
2024-02-02 09:02:28 +01:00
|
|
|
salutation:
|
|
|
|
type: string
|
|
|
|
title:
|
|
|
|
type: string
|
2022-09-21 09:44:09 +02:00
|
|
|
givenName:
|
|
|
|
type: string
|
|
|
|
familyName:
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- personType
|
2022-09-06 11:07:08 +02:00
|
|
|
|
2022-09-21 09:44:09 +02:00
|
|
|
HsOfficePersonPatch:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
personType:
|
|
|
|
nullable: true
|
|
|
|
$ref: '#/components/schemas/HsOfficePersonType'
|
|
|
|
tradeName:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2024-02-02 09:02:28 +01:00
|
|
|
salutation:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
title:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-09-21 09:44:09 +02:00
|
|
|
givenName:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
familyName:
|
|
|
|
type: string
|
|
|
|
nullable: true
|