34 lines
1013 B
YAML
34 lines
1013 B
YAML
|
|
||
|
components:
|
||
|
|
||
|
schemas:
|
||
|
|
||
|
HsAdminPersonBase:
|
||
|
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
|
||
|
|
||
|
HsAdminPerson:
|
||
|
allOf:
|
||
|
- type: object
|
||
|
properties:
|
||
|
uuid:
|
||
|
type: string
|
||
|
format: uuid
|
||
|
- $ref: '#/components/schemas/HsAdminPersonBase'
|
||
|
|
||
|
HsAdminPersonUpdate:
|
||
|
$ref: '#/components/schemas/HsAdminPersonBase'
|