]> git.koha-community.org Git - koha.git/blob - api/v1/swagger/definitions/checkout.yaml
Bug 32801: Prevent 500 on /checkouts
[koha.git] / api / v1 / swagger / definitions / checkout.yaml
1 ---
2 type: object
3 properties:
4   checkout_id:
5     type: integer
6     description: internally assigned checkout identifier
7   patron_id:
8     type: integer
9     description: Internal patron identifier
10   item_id:
11     type:
12       - integer
13       - "null"
14     description: internal identifier of checked out item
15   due_date:
16     type: string
17     format: date-time
18     description: Due date
19   library_id:
20     type:
21       - string
22       - "null"
23     description: code of the library the item was checked out
24   issuer_id:
25     type:
26       - integer
27       - "null"
28     description: internally assigned for the user that processed the checkout
29   checkin_date:
30     type:
31       - string
32       - "null"
33     format: date-time
34     description: Date the item was returned
35   last_renewed_date:
36     type:
37       - string
38       - "null"
39     format: date-time
40     description: Date the item was last renewed
41   renewals_count:
42     type:
43       - integer
44       - "null"
45     description: Number of renewals
46   unseen_renewals:
47     type:
48       - integer
49       - "null"
50     description: Number of consecutive unseen renewals
51   auto_renew:
52     type: boolean
53     description: Auto renewal
54   auto_renew_error:
55     type:
56       - string
57       - "null"
58     description: Auto renewal error
59   timestamp:
60     type: string
61     description: Last update time
62   checkout_date:
63     type: string
64     format: date-time
65     description: Date the item was issued
66   onsite_checkout:
67     type: boolean
68     description: On site checkout
69   note:
70     type:
71       - string
72       - "null"
73     description: Issue note text
74   note_date:
75     type:
76       - string
77       - "null"
78     format: date
79     description: Datetime of the issue note
80   note_seen:
81     type:
82       - boolean
83       - "null"
84     description: has the note been seen already
85   issuer:
86     type:
87       - object
88       - "null"
89     description: The object representing the checkout issuer
90   item:
91     type:
92       - object
93       - "null"
94     description: The object representing the checked out item
95   library:
96     type:
97       - object
98       - "null"
99     description: The object representing the checkout library
100   patron:
101     type:
102       - object
103       - "null"
104     description: The object representing the checkout patron
105 additionalProperties: false