Koha/api/v1/swagger/definitions/erm_agreement_period.yaml
Jonathan Druart 3bf57d92a1
Bug 32030: ERM - REST API - GET POST PUT DELETE specs
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:37 -03:00

31 lines
626 B
YAML

---
type: object
properties:
agreement_period_id:
$ref: ../x-primitives.yaml#/agreement_period_id
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