Koha/api/v1/swagger/definitions/erm_agreement_period.yaml
Jonathan Druart d8ff532551
Bug 32030: ERM - FIX swagger specs for bug 30194
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 09:43:40 -03:00

33 lines
659 B
YAML

---
type: object
properties:
agreement_period_id:
type: integer
description: internally assigned identifier
readOnly: true
agreement_id:
type: integer
description: Internal agreement identifier
started_on:
type: string
format: date
description: Start of the agreement period
ended_on:
type:
- string
- "null"
format: date
description: End of the agreemnent period
cancellation_deadline:
type:
- string
- "null"
format: date
description: Deadline for the cancellation
notes:
type:
- string
- "null"
additionalProperties: false
required:
- started_on