Bug 30275: Add `/api/v1/checkouts/{checkout_id}/renewals`
[koha.git] / api / v1 / swagger / definitions / renewal.yaml
1 ---
2 type: object
3 properties:
4   renewal_id:
5     type: integer
6     description: internally assigned renewal identifier
7   checkout_id:
8     type: integer
9     description: internally assigned checkout identifier
10   interface:
11     type:
12       - string
13       - "null"
14     description: "Interface from which the renewal took place (values can be: api, cron, commandline, intranet, opac and sip)"
15   renewer_id:
16     $ref: ../x-primitives.yaml#/patron_id
17   renewal_date:
18     type: string
19     format: date-time
20     description: Date the renewal took place
21   seen:
22     type:
23       - boolean
24     description: Seen/Unseen renewal
25   timestamp:
26     type: string
27     description: Last update time
28   renewer:
29     type:
30       - object
31       - "null"
32     description: The object representing the renewal issuer
33 additionalProperties: false