2022-10-19 10:27:10 +02:00
|
|
|
|
|
|
|
components:
|
|
|
|
|
|
|
|
schemas:
|
|
|
|
|
|
|
|
HsOfficeCoopSharesTransactionType:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- ADJUSTMENT
|
|
|
|
- SUBSCRIPTION
|
2022-10-20 07:41:48 +02:00
|
|
|
- CANCELLATION
|
2022-10-19 10:27:10 +02:00
|
|
|
|
|
|
|
HsOfficeCoopSharesTransaction:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
uuid:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
transactionType:
|
|
|
|
$ref: '#/components/schemas/HsOfficeCoopSharesTransactionType'
|
|
|
|
sharesCount:
|
|
|
|
type: integer
|
|
|
|
valueDate:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
reference:
|
|
|
|
type: string
|
|
|
|
comment:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
HsOfficeCoopSharesTransactionInsert:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
membershipUuid:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
nullable: false
|
|
|
|
transactionType:
|
|
|
|
$ref: '#/components/schemas/HsOfficeCoopSharesTransactionType'
|
|
|
|
sharesCount:
|
|
|
|
type: integer
|
|
|
|
valueDate:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
reference:
|
|
|
|
type: string
|
2022-10-20 07:41:48 +02:00
|
|
|
minLength: 6
|
|
|
|
maxLength: 48
|
2022-10-19 10:27:10 +02:00
|
|
|
comment:
|
|
|
|
type: string
|
|
|
|
required:
|
2022-10-20 07:41:48 +02:00
|
|
|
- membershipUuid
|
2022-10-19 10:27:10 +02:00
|
|
|
- transactionType
|
|
|
|
- sharesCount
|
|
|
|
- valueDate
|
|
|
|
- reference
|
|
|
|
additionalProperties: false
|