Bug 13897: Use YAML files for installer data
[koha-ffzg.git] / installer / data / mysql / en / optional / auth_val.yml
1 ---
2 #
3 #  Copyright 2019 Koha Development Team
4 #
5 #  This file is part of Koha.
6 #
7 #  Koha is free software; you can redistribute it and/or modify it under the
8 #  terms of the GNU General Public License as published by the Free Software
9 #  Foundation; either version 2 of the License, or (at your option) any later
10 #  version.
11 #
12 #  Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 #  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 #  A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15 #
16 #  You should have received a copy of the GNU General Public License along
17 #  with Koha; if not, write to the Free Software Foundation, Inc.,
18 #  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20
21 description:
22   - "Some basic default authorised values for library locations, item lost status, etc."
23   - "You can change these at any time after installation."
24
25 tables:
26   - authorised_values:
27       translatable: [ lib ]
28       rows:
29         # Reasons for acceptance or rejection of suggestions in acquisitions
30         - category: "SUGGEST"
31           authorised_value: "BSELL"
32           lib: "Bestseller"
33
34         - category: "SUGGEST"
35           authorised_value: "SCD"
36           lib: "Shelf Copy Damaged"
37
38         - category: "SUGGEST"
39           authorised_value: "LCL"
40           lib: "Library Copy Lost"
41
42         - category: "SUGGEST"
43           authorised_value: "AVILL"
44           lib: "Available via ILL"
45
46   - authorised_values:
47       translatable: [ lib, lib_opac ]
48       rows:
49         # Desired formats for requesting new materials
50         - category: "SUGGEST_FORMAT"
51           authorised_value: "BOOK"
52           lib: "Book"
53           lib_opac: "Book"
54
55         - category: "SUGGEST_FORMAT"
56           authorised_value: "LP"
57           lib: "Large print"
58           lib_opac: "Large print"
59
60         - category: "SUGGEST_FORMAT"
61           authorised_value: "EBOOK"
62           lib: "EBook"
63           lib_opac: "Ebook"
64
65         - category: "SUGGEST_FORMAT"
66           authorised_value: "AUDIOBOOK"
67           lib: "Audiobook"
68           lib_opac: "Audiobook"
69
70         - category: "SUGGEST_FORMAT"
71           authorised_value: "DVD"
72           lib: "DVD"
73           lib_opac: "DVD"
74
75   - authorised_values :
76       translatable: [ lib ]
77       rows:
78         # availability statuses
79         - category: "LOST"
80           authorised_value: "2"
81           lib: "Long Overdue (Lost)"
82
83         - category: "LOST"
84           authorised_value: "1"
85           lib: "Lost"
86
87         - category: "LOST"
88           authorised_value: "3"
89           lib : "Lost and Paid For"
90
91         - category: "LOST"
92           authorised_value: "4"
93           lib : "Missing"
94
95         # damaged status of an item
96         - category: "DAMAGED"
97           authorised_value: "1"
98           lib: "Damaged"
99
100         # location qualification for an item,departments are linked by default to items.location
101         - category: "LOC"
102           authorised_value: "FIC"
103           lib: "Fiction"
104
105         - category: "LOC"
106           authorised_value: "CHILD"
107           lib: "Children's Area"
108
109         - category: "LOC"
110           authorised_value: "DISPLAY"
111           lib: "On Display"
112
113         - category: "LOC"
114           authorised_value: "NEW"
115           lib: "New Materials Shelf"
116
117         - category: "LOC"
118           authorised_value: "STAFF"
119           lib: "Staff Office"
120
121         - category: "LOC"
122           authorised_value: "GEN"
123           lib: "General Stacks"
124
125         - category: "LOC"
126           authorised_value: "AV"
127           lib: "Audio Visual"
128
129         - category: "LOC"
130           authorised_value: "REF"
131           lib: "Reference"
132
133         - category: "LOC"
134           authorised_value: "CART"
135           lib: "Book Cart"
136
137         - category: "LOC"
138           authorised_value: "PROC"
139           lib: "Processing Center"
140
141         # collection codes for an item
142         - category: "CCODE"
143           authorised_value: "FIC"
144           lib: "Fiction"
145
146         - category: "CCODE"
147           authorised_value: "REF"
148           lib: "Reference"
149
150         - category: "CCODE"
151           authorised_value: "NFIC"
152           lib: "Non-fiction"
153
154         # withdrawn status of an item,linked to items.withdrawn
155         - category: "WITHDRAWN"
156           authorised_value: "1"
157           lib: "Withdrawn"
158
159         # loanability status of an item,linked to items.notforloan
160         - category: "NOT_LOAN"
161           authorised_value: "-1"
162           lib: "Ordered"
163
164         - category: "NOT_LOAN"
165           authorised_value: "1"
166           lib: "Not For Loan"
167
168         - category: "NOT_LOAN"
169           authorised_value: "2"
170           lib: "Staff Collection"
171
172         # restricted status of an item,linked to items.restricted
173         - category: "RESTRICTED"
174           authorised_value: "1"
175           lib: "Restricted Access"
176
177         # custom borrower notes
178         - category: "BOR_NOTES"
179           authorised_value: "ADDR"
180           lib: "Address Notes"
181
182   - authorised_values:
183       translatable: [ lib, lib_opac ]
184       rows:
185         # OPAC Suggestions reasons
186         - category: "OPAC_SUG"
187           authorised_value: "damaged"
188           lib: "The copy on the shelf is damaged"
189           lib_opac: "The copy on the shelf is damaged"
190
191         - category: "OPAC_SUG"
192           authorised_value: "bestseller"
193           lib: "Upcoming title by popular author"
194           lib_opac: "Upcoming title by popular author"
195
196   - authorised_values:
197       translatable: [ lib ]
198       rows:
199         # Report groups
200         - category: "REPORT_GROUP"
201           authorised_value: "CIRC"
202           lib: "Circulation"
203
204         - category: "REPORT_GROUP"
205           authorised_value: "CAT"
206           lib: "Catalog"
207
208         - category: "REPORT_GROUP"
209           authorised_value: "PAT"
210           lib: "Patrons"
211
212         - category: "REPORT_GROUP"
213           authorised_value: "ACQ"
214           lib: "Acquisitions"
215
216         - category: "REPORT_GROUP"
217           authorised_value: "ACC"
218           lib: "Accounts"
219
220         - category: "REPORT_GROUP"
221           authorised_value: "SER"
222           lib: "Serials"
223
224         # SIP2 media types
225         - category: "SIP_MEDIA_TYPE"
226           authorised_value: "000"
227           lib: "Other"
228
229         - category: "SIP_MEDIA_TYPE"
230           authorised_value: "001"
231           lib: "Book"
232
233         - category: "SIP_MEDIA_TYPE"
234           authorised_value: "002"
235           lib: "Magazine"
236
237         - category: "SIP_MEDIA_TYPE"
238           authorised_value: "003"
239           lib: "Bound journal"
240
241         - category: "SIP_MEDIA_TYPE"
242           authorised_value: "004"
243           lib: "Audio tape"
244
245         - category: "SIP_MEDIA_TYPE"
246           authorised_value: "005"
247           lib: "Video tape"
248
249         - category: "SIP_MEDIA_TYPE"
250           authorised_value: "006"
251           lib: "CD/CDROM"
252
253         - category: "SIP_MEDIA_TYPE"
254           authorised_value: "007"
255           lib: "Diskette"
256
257         - category: "SIP_MEDIA_TYPE"
258           authorised_value: "008"
259           lib: "Book with diskette"
260
261         - category: "SIP_MEDIA_TYPE"
262           authorised_value: "009"
263           lib: "Book with CD"
264
265         - category: "SIP_MEDIA_TYPE"
266           authorised_value: "010"
267           lib: "Book with audio tape"
268
269         # order cancellation reasons
270         - category: "ORDER_CANCELLATION_REASON"
271           authorised_value: 0
272           lib: "No reason provided"
273
274         - category: "ORDER_CANCELLATION_REASON"
275           authorised_value: 1
276           lib: "Out of stock"
277
278         - category: "ORDER_CANCELLATION_REASON"
279           authorised_value: 2
280           lib: "Restocking"
281
282         # return claims
283         - category: "RETURN_CLAIM_RESOLUTION"
284           authorised_value: "RET_BY_PATRON"
285           lib: "Returned by patron"
286
287         - category: "RETURN_CLAIM_RESOLUTION"
288           authorised_value: "FOUND_IN_LIB"
289           lib: "Found in library"