4267eba24ca44ab56654cb6ae104ee9991a2891c
[koha-equinox.git] / api / v1 / swagger / definitions / checkout.json
1 {
2   "type": "object",
3   "properties": {
4     "issue_id": {
5       "type": "string",
6       "description": "internally assigned checkout identifier"
7     },
8     "borrowernumber": {
9       "$ref": "../x-primitives.json#/borrowernumber"
10     },
11     "itemnumber": {
12       "$ref": "../x-primitives.json#/itemnumber"
13     },
14     "date_due": {
15       "type": "string",
16       "description": "Due date"
17     },
18     "branchcode": {
19       "type": "string",
20       "description": "code of the library the item was checked out"
21     },
22     "issuingbranch": {
23       "type": "string",
24       "description": "Code of the branch where issue was made"
25     },
26     "returndate": {
27       "type": ["string", "null"],
28       "description": "Date the item was returned"
29     },
30     "lastreneweddate": {
31       "type": ["string", "null"],
32       "description": "Date the item was last renewed"
33     },
34     "renewals": {
35       "type": ["integer", "null"],
36       "description": "Number of renewals"
37     },
38     "auto_renew": {
39       "type": "boolean",
40       "description": "Auto renewal"
41     },
42     "timestamp": {
43       "type": "string",
44       "description": "Last update time"
45     },
46     "issuedate": {
47       "type": ["string", "null"],
48       "description": "Date the item was issued"
49     },
50     "onsite_checkout": {
51       "type": "boolean",
52       "description": "On site checkout"
53     },
54     "note": {
55       "type": ["string", "null"],
56       "description": "Issue note text"
57     },
58     "notedate": {
59       "type": ["string", "null"],
60       "description": "Datetime of the issue note"
61     }
62   }
63 }