Koha/api/v1/swagger/definitions/renewal.yaml
Martin Renvoize 5fab94ffa0
Bug 30275: Add /api/v1/checkouts/{checkout_id}/renewals
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-05 09:46:04 -03:00

33 lines
817 B
YAML

---
type: object
properties:
renewal_id:
type: integer
description: internally assigned renewal identifier
checkout_id:
type: integer
description: internally assigned checkout identifier
interface:
type:
- string
- "null"
description: "Interface from which the renewal took place (values can be: api, cron, commandline, intranet, opac and sip)"
renewer_id:
$ref: ../x-primitives.yaml#/patron_id
renewal_date:
type: string
format: date-time
description: Date the renewal took place
seen:
type:
- boolean
description: Seen/Unseen renewal
timestamp:
type: string
description: Last update time
renewer:
type:
- object
- "null"
description: The object representing the renewal issuer
additionalProperties: false