Lines 3-15
Link Here
|
3 |
"properties": { |
3 |
"properties": { |
4 |
"checkout_id": { |
4 |
"checkout_id": { |
5 |
"type": "integer", |
5 |
"type": "integer", |
|
|
6 |
"readOnly": true, |
6 |
"description": "internally assigned checkout identifier" |
7 |
"description": "internally assigned checkout identifier" |
7 |
}, |
8 |
}, |
8 |
"patron_id": { |
9 |
"patron_id": { |
|
|
10 |
"readOnly": true, |
9 |
"$ref": "../x-primitives.json#/patron_id" |
11 |
"$ref": "../x-primitives.json#/patron_id" |
10 |
}, |
12 |
}, |
11 |
"item_id": { |
13 |
"item_id": { |
12 |
"type": "integer", |
14 |
"type": "integer", |
|
|
15 |
"readOnly": true, |
13 |
"description": "internal identifier of checked out item" |
16 |
"description": "internal identifier of checked out item" |
14 |
}, |
17 |
}, |
15 |
"due_date": { |
18 |
"due_date": { |
Lines 19-67
Link Here
|
19 |
}, |
22 |
}, |
20 |
"library_id": { |
23 |
"library_id": { |
21 |
"type": ["string", "null"], |
24 |
"type": ["string", "null"], |
|
|
25 |
"readOnly": true, |
22 |
"description": "code of the library the item was checked out" |
26 |
"description": "code of the library the item was checked out" |
23 |
}, |
27 |
}, |
24 |
"checkin_date": { |
28 |
"checkin_date": { |
25 |
"type": ["string", "null"], |
29 |
"type": ["string", "null"], |
|
|
30 |
"readOnly": true, |
26 |
"format": "date-time", |
31 |
"format": "date-time", |
27 |
"description": "Date the item was returned" |
32 |
"description": "Date the item was returned" |
28 |
}, |
33 |
}, |
29 |
"last_renewed_date": { |
34 |
"last_renewed_date": { |
30 |
"type": ["string", "null"], |
35 |
"type": ["string", "null"], |
|
|
36 |
"readOnly": true, |
31 |
"format": "date-time", |
37 |
"format": "date-time", |
32 |
"description": "Date the item was last renewed" |
38 |
"description": "Date the item was last renewed" |
33 |
}, |
39 |
}, |
34 |
"renewals": { |
40 |
"renewals": { |
35 |
"type": ["integer", "null"], |
41 |
"type": ["integer", "null"], |
|
|
42 |
"readOnly": true, |
36 |
"description": "Number of renewals" |
43 |
"description": "Number of renewals" |
37 |
}, |
44 |
}, |
38 |
"auto_renew": { |
45 |
"auto_renew": { |
39 |
"type": "boolean", |
46 |
"type": "boolean", |
|
|
47 |
"readOnly": true, |
40 |
"description": "Auto renewal" |
48 |
"description": "Auto renewal" |
41 |
}, |
49 |
}, |
42 |
"auto_renew_error": { |
50 |
"auto_renew_error": { |
43 |
"type": ["string", "null"], |
51 |
"type": ["string", "null"], |
|
|
52 |
"readOnly": true, |
44 |
"description": "Auto renewal error" |
53 |
"description": "Auto renewal error" |
45 |
}, |
54 |
}, |
46 |
"timestamp": { |
55 |
"timestamp": { |
47 |
"type": "string", |
56 |
"type": "string", |
|
|
57 |
"readOnly": true, |
48 |
"description": "Last update time" |
58 |
"description": "Last update time" |
49 |
}, |
59 |
}, |
50 |
"checkout_date": { |
60 |
"checkout_date": { |
51 |
"type": "string", |
61 |
"type": "string", |
|
|
62 |
"readOnly": true, |
52 |
"format": "date-time", |
63 |
"format": "date-time", |
53 |
"description": "Date the item was issued" |
64 |
"description": "Date the item was issued" |
54 |
}, |
65 |
}, |
55 |
"onsite_checkout": { |
66 |
"onsite_checkout": { |
56 |
"type": "boolean", |
67 |
"type": "boolean", |
|
|
68 |
"readOnly": true, |
57 |
"description": "On site checkout" |
69 |
"description": "On site checkout" |
58 |
}, |
70 |
}, |
59 |
"note": { |
71 |
"note": { |
60 |
"type": ["string", "null"], |
72 |
"type": ["string", "null"], |
|
|
73 |
"readOnly": true, |
61 |
"description": "Issue note text" |
74 |
"description": "Issue note text" |
62 |
}, |
75 |
}, |
63 |
"note_date": { |
76 |
"note_date": { |
64 |
"type": ["string", "null"], |
77 |
"type": ["string", "null"], |
|
|
78 |
"readOnly": true, |
65 |
"format": "date", |
79 |
"format": "date", |
66 |
"description": "Datetime of the issue note" |
80 |
"description": "Datetime of the issue note" |
67 |
} |
81 |
} |