|
Lines 1-43
Link Here
|
| 1 |
{ |
1 |
{ |
| 2 |
"type": "object", |
2 |
"type": "object", |
| 3 |
"properties": { |
3 |
"properties": { |
| 4 |
"suggestionid": { |
4 |
"suggestion_id": { |
| 5 |
"type": "string", |
5 |
"type": "string", |
| 6 |
"description": "unique identifier assigned automatically by Koha" |
6 |
"description": "unique identifier assigned automatically by Koha" |
| 7 |
}, |
7 |
}, |
| 8 |
"suggestedby": { |
8 |
"suggested_by": { |
| 9 |
"type": ["string", "null"], |
9 |
"type": ["string", "null"], |
| 10 |
"description": "patron_id for the person making the suggestion, foreign key linking to the borrowers table" |
10 |
"description": "patron_id for the person making the suggestion, foreign key linking to the borrowers table" |
| 11 |
}, |
11 |
}, |
| 12 |
"suggesteddate": { |
12 |
"suggested_date": { |
| 13 |
"type": ["string", "null"], |
13 |
"type": ["string", "null"], |
| 14 |
"description": "the suggestion was submitted" |
14 |
"description": "the suggestion was submitted" |
| 15 |
}, |
15 |
}, |
| 16 |
"managedby": { |
16 |
"managed_by": { |
| 17 |
"type": ["string", "null"], |
17 |
"type": ["string", "null"], |
| 18 |
"description": "patron_id for the librarian managing the suggestion, foreign key linking to the borrowers table" |
18 |
"description": "patron_id for the librarian managing the suggestion, foreign key linking to the borrowers table" |
| 19 |
}, |
19 |
}, |
| 20 |
"manageddate": { |
20 |
"managed_date": { |
| 21 |
"type": ["string", "null"], |
21 |
"type": ["string", "null"], |
| 22 |
"description": "date the suggestion was updated" |
22 |
"description": "date the suggestion was updated" |
| 23 |
}, |
23 |
}, |
| 24 |
"acceptedby": { |
24 |
"accepted_by": { |
| 25 |
"type": ["string", "null"], |
25 |
"type": ["string", "null"], |
| 26 |
"description": "patron_id for the librarian who accepted the suggestion, foreign key linking to the borrowers table" |
26 |
"description": "patron_id for the librarian who accepted the suggestion, foreign key linking to the borrowers table" |
| 27 |
}, |
27 |
}, |
| 28 |
"accepteddate": { |
28 |
"accepted_date": { |
| 29 |
"type": ["string", "null"], |
29 |
"type": ["string", "null"], |
| 30 |
"description": "date the suggestion was marked as accepted" |
30 |
"description": "date the suggestion was marked as accepted" |
| 31 |
}, |
31 |
}, |
| 32 |
"rejectedby": { |
32 |
"rejected_by": { |
| 33 |
"type": ["string", "null"], |
33 |
"type": ["string", "null"], |
| 34 |
"description": "patron_id for the librarian who rejected the suggestion, foreign key linking to the borrowers table" |
34 |
"description": "patron_id for the librarian who rejected the suggestion, foreign key linking to the borrowers table" |
| 35 |
}, |
35 |
}, |
| 36 |
"rejecteddate": { |
36 |
"rejected_date": { |
| 37 |
"type": ["string", "null"], |
37 |
"type": ["string", "null"], |
| 38 |
"description": "date the suggestion was marked as rejected" |
38 |
"description": "date the suggestion was marked as rejected" |
| 39 |
}, |
39 |
}, |
| 40 |
"STATUS": { |
40 |
"status": { |
| 41 |
"type": "string", |
41 |
"type": "string", |
| 42 |
"description": "suggestion status (ASKED, CHECKED, ACCEPTED, or REJECTED)" |
42 |
"description": "suggestion status (ASKED, CHECKED, ACCEPTED, or REJECTED)" |
| 43 |
}, |
43 |
}, |
|
Lines 53-79
Link Here
|
| 53 |
"type": ["string", "null"], |
53 |
"type": ["string", "null"], |
| 54 |
"description": "title of the suggested item" |
54 |
"description": "title of the suggested item" |
| 55 |
}, |
55 |
}, |
| 56 |
"copyrightdate": { |
56 |
"copyright_date": { |
| 57 |
"type": ["string", "null"], |
57 |
"type": ["string", "null"], |
| 58 |
"description": "copyright date of the suggested item" |
58 |
"description": "copyright date of the suggested item" |
| 59 |
}, |
59 |
}, |
| 60 |
"publishercode": { |
60 |
"publisher_code": { |
| 61 |
"type": ["string", "null"], |
61 |
"type": ["string", "null"], |
| 62 |
"description": "publisher of the suggested item" |
62 |
"description": "publisher of the suggested item" |
| 63 |
}, |
63 |
}, |
| 64 |
"date": { |
64 |
"date_created": { |
| 65 |
"type": ["string", "null"], |
65 |
"type": ["string", "null"], |
| 66 |
"description": "date created" |
66 |
"description": "date created" |
| 67 |
}, |
67 |
}, |
| 68 |
"volumedesc": { |
68 |
"volume_desc": { |
| 69 |
"type": ["string", "null"], |
69 |
"type": ["string", "null"], |
| 70 |
"description": "volume description" |
70 |
"description": "volume description" |
| 71 |
}, |
71 |
}, |
| 72 |
"publicationyear": { |
72 |
"publication_year": { |
| 73 |
"type": ["string", "null"], |
73 |
"type": ["string", "null"], |
| 74 |
"description": "year of publication" |
74 |
"description": "year of publication" |
| 75 |
}, |
75 |
}, |
| 76 |
"place": { |
76 |
"publication_place": { |
| 77 |
"type": ["string", "null"], |
77 |
"type": ["string", "null"], |
| 78 |
"description": "publication place of the suggested item" |
78 |
"description": "publication place of the suggested item" |
| 79 |
}, |
79 |
}, |
|
Lines 81-87
Link Here
|
| 81 |
"type": ["string", "null"], |
81 |
"type": ["string", "null"], |
| 82 |
"description": "isbn of the suggested item" |
82 |
"description": "isbn of the suggested item" |
| 83 |
}, |
83 |
}, |
| 84 |
"biblionumber": { |
84 |
"biblio_id": { |
| 85 |
"type": ["string", "null"], |
85 |
"type": ["string", "null"], |
| 86 |
"description": "foreign key linking the suggestion to the biblio table after the suggestion has been ordered" |
86 |
"description": "foreign key linking the suggestion to the biblio table after the suggestion has been ordered" |
| 87 |
}, |
87 |
}, |
|
Lines 89-111
Link Here
|
| 89 |
"type": ["string", "null"], |
89 |
"type": ["string", "null"], |
| 90 |
"description": "reason for accepting or rejecting the suggestion" |
90 |
"description": "reason for accepting or rejecting the suggestion" |
| 91 |
}, |
91 |
}, |
| 92 |
"patronreason": { |
92 |
"patron_reason": { |
| 93 |
"type": ["string", "null"], |
93 |
"type": ["string", "null"], |
| 94 |
"description": "reason for making the suggestion" |
94 |
"description": "reason for making the suggestion" |
| 95 |
}, |
95 |
}, |
| 96 |
"budgetid": { |
96 |
"budget_id": { |
| 97 |
"type": ["string", "null"], |
97 |
"type": ["string", "null"], |
| 98 |
"description": "foreign key linking the suggested budget to the aqbudgets table" |
98 |
"description": "foreign key linking the suggested budget to the aqbudgets table" |
| 99 |
}, |
99 |
}, |
| 100 |
"branchcode": { |
100 |
"library_id": { |
| 101 |
"type": ["string", "null"], |
101 |
"type": ["string", "null"], |
| 102 |
"description": "foreign key linking the suggested branch to the branches table" |
102 |
"description": "foreign key linking the suggested branch to the branches table" |
| 103 |
}, |
103 |
}, |
| 104 |
"collectiontitle": { |
104 |
"collection_title": { |
| 105 |
"type": ["string", "null"], |
105 |
"type": ["string", "null"], |
| 106 |
"description": "collection name for the suggested item" |
106 |
"description": "collection name for the suggested item" |
| 107 |
}, |
107 |
}, |
| 108 |
"itemtype": { |
108 |
"item_type": { |
| 109 |
"type": ["string", "null"], |
109 |
"type": ["string", "null"], |
| 110 |
"description": "suggested item type" |
110 |
"description": "suggested item type" |
| 111 |
}, |
111 |
}, |
|
Lines 117-123
Link Here
|
| 117 |
"type": ["string", "null"], |
117 |
"type": ["string", "null"], |
| 118 |
"description": "suggested currency for the suggested price" |
118 |
"description": "suggested currency for the suggested price" |
| 119 |
}, |
119 |
}, |
| 120 |
"price": { |
120 |
"item_price": { |
| 121 |
"type": ["string", "null"], |
121 |
"type": ["string", "null"], |
| 122 |
"description": "suggested price" |
122 |
"description": "suggested price" |
| 123 |
}, |
123 |
}, |
| 124 |
- |
|
|