2022-09-06 11:07:08 +02:00
|
|
|
|
|
|
|
components:
|
|
|
|
|
|
|
|
schemas:
|
|
|
|
|
2022-09-13 13:27:52 +02:00
|
|
|
HsOfficePersonBase:
|
2022-09-06 11:07:08 +02:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
personType:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- NATURAL # a human
|
|
|
|
- LEGAL # e.g. Corp., Inc., AG, GmbH, eG
|
|
|
|
- SOLE_REPRESENTATION # e.g. OHG, GbR
|
|
|
|
- JOINT_REPRESENTATION # e.g. community of heirs
|
|
|
|
tradeName:
|
|
|
|
type: string
|
|
|
|
givenName:
|
|
|
|
type: string
|
|
|
|
familyName:
|
|
|
|
type: string
|
|
|
|
|
2022-09-13 13:27:52 +02:00
|
|
|
HsOfficePerson:
|
2022-09-06 11:07:08 +02:00
|
|
|
allOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
uuid:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2022-09-13 13:27:52 +02:00
|
|
|
- $ref: '#/components/schemas/HsOfficePersonBase'
|
2022-09-06 11:07:08 +02:00
|
|
|
|
2022-09-13 13:27:52 +02:00
|
|
|
HsOfficePersonUpdate:
|
|
|
|
$ref: '#/components/schemas/HsOfficePersonBase'
|