2022-09-06 11:07:08 +02:00
|
|
|
|
|
|
|
components:
|
|
|
|
|
|
|
|
schemas:
|
|
|
|
|
2022-09-20 14:17:12 +02:00
|
|
|
HsOfficeContact:
|
2022-09-06 11:07:08 +02:00
|
|
|
type: object
|
|
|
|
properties:
|
2022-09-20 14:17:12 +02:00
|
|
|
uuid:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2024-05-06 09:22:21 +02:00
|
|
|
caption:
|
2022-09-06 11:07:08 +02:00
|
|
|
type: string
|
|
|
|
postalAddress:
|
2024-11-06 12:24:37 +01:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPostalAddress'
|
2022-09-06 11:07:08 +02:00
|
|
|
emailAddresses:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactEmailAddresses'
|
2022-09-06 11:07:08 +02:00
|
|
|
phoneNumbers:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPhoneNumbers'
|
2022-09-06 11:07:08 +02:00
|
|
|
|
2022-09-20 14:17:12 +02:00
|
|
|
HsOfficeContactInsert:
|
|
|
|
type: object
|
|
|
|
properties:
|
2024-05-06 09:22:21 +02:00
|
|
|
caption:
|
2022-09-20 14:17:12 +02:00
|
|
|
type: string
|
|
|
|
postalAddress:
|
2024-11-06 12:24:37 +01:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPostalAddress'
|
2022-09-20 14:17:12 +02:00
|
|
|
emailAddresses:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactEmailAddresses'
|
2022-09-20 14:17:12 +02:00
|
|
|
phoneNumbers:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPhoneNumbers'
|
2022-09-20 14:17:12 +02:00
|
|
|
required:
|
2024-05-06 09:22:21 +02:00
|
|
|
- caption
|
2022-09-06 11:07:08 +02:00
|
|
|
|
2022-09-20 14:17:12 +02:00
|
|
|
HsOfficeContactPatch:
|
|
|
|
type: object
|
|
|
|
properties:
|
2024-05-06 09:22:21 +02:00
|
|
|
caption:
|
2022-09-20 14:17:12 +02:00
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
postalAddress:
|
2024-11-06 12:24:37 +01:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPostalAddress'
|
2022-09-20 14:17:12 +02:00
|
|
|
emailAddresses:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactEmailAddresses'
|
2022-09-20 14:17:12 +02:00
|
|
|
phoneNumbers:
|
2024-04-30 12:27:20 +02:00
|
|
|
$ref: '#/components/schemas/HsOfficeContactPhoneNumbers'
|
|
|
|
|
2024-11-06 12:24:37 +01:00
|
|
|
HsOfficeContactPostalAddress:
|
|
|
|
# forces generating a java.lang.Object containing a Map, instead of a class with fixed properties
|
|
|
|
anyOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
firm:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
co:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
street:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
zipcode:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
city:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
country:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
additionalProperties: true
|
|
|
|
|
2024-04-30 12:27:20 +02:00
|
|
|
HsOfficeContactEmailAddresses:
|
2024-11-06 12:24:37 +01:00
|
|
|
# forces generating a java.lang.Object containing a Map, instead of a class with fixed properties
|
2024-04-30 12:27:20 +02:00
|
|
|
anyOf:
|
|
|
|
- type: object
|
|
|
|
additionalProperties: true
|
|
|
|
|
|
|
|
HsOfficeContactPhoneNumbers:
|
2024-11-06 12:24:37 +01:00
|
|
|
# forces generating a java.lang.Object containing a Map, instead of a class with fixed properties
|
2024-04-30 12:27:20 +02:00
|
|
|
anyOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
phone_office:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
phone_private:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
phone_mobile:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
fax:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
additionalProperties: false
|