]> git.koha-community.org Git - koha.git/blob - api/v1/swagger/definitions/allows_renewal.json
Bug 17003: (follow-up) Update definitions according to voted RFC
[koha.git] / api / v1 / swagger / definitions / allows_renewal.json
1 {
2   "type": "object",
3   "properties": {
4     "allows_renewal": {
5       "type": "boolean",
6       "description": "Renewability status; true = renewable, false = not renewable"
7     },
8     "max_renewals": {
9       "type": "integer",
10       "description": "Maximum number of possible renewals"
11     },
12      "current_renewals": {
13       "type": "integer",
14       "description": "Current used renewals"
15     },
16     "error": {
17       "type": ["string", "null"],
18       "description": "Description on false allows_renewal."
19     }
20   }
21 }