5 "$ref": "../x-primitives.json#/borrowernumber"
8 "$ref": "../x-primitives.json#/cardnumber"
11 "$ref": "../x-primitives.json#/surname"
14 "$ref": "../x-primitives.json#/firstname"
17 "type": ["string", "null"],
18 "description": "patron's title"
21 "type": ["string", "null"],
22 "description": "any other names associated with the patron"
25 "type": ["string", "null"],
26 "description": "initials of the patron"
29 "type": ["string", "null"],
30 "description": "street number of patron's primary address"
33 "type": ["string", "null"],
34 "description": "street type of patron's primary address"
37 "type": ["string", "null"],
38 "description": "first address line of patron's primary address"
41 "type": ["string", "null"],
42 "description": "second address line of patron's primary address"
45 "type": ["string", "null"],
46 "description": "city or town of patron's primary address"
49 "type": ["string", "null"],
50 "description": "state or province of patron's primary address"
53 "type": ["string", "null"],
54 "description": "zip or postal code of patron's primary address"
57 "type": ["string", "null"],
58 "description": "country of patron's primary address"
61 "$ref": "../x-primitives.json#/email"
64 "$ref": "../x-primitives.json#/phone"
67 "type": ["string", "null"],
68 "description": "the other phone number for patron's primary address"
71 "type": ["string", "null"],
72 "description": "fax number for patron's primary address"
75 "type": ["string", "null"],
76 "description": "secondary email address for patron's primary address"
79 "type": ["string", "null"],
80 "description": "secondary phone number for patron's primary address"
83 "type": ["string", "null"],
84 "description": "street number of patron's alternate address"
87 "type": ["string", "null"],
88 "description": "street type of patron's alternate address"
91 "type": ["string", "null"],
92 "description": "first address line of patron's alternate address"
95 "type": ["string", "null"],
96 "description": "second address line of patron's alternate address"
99 "type": ["string", "null"],
100 "description": "city or town of patron's alternate address"
103 "type": ["string", "null"],
104 "description": "state or province of patron's alternate address"
107 "type": ["string", "null"],
108 "description": "zip or postal code of patron's alternate address"
111 "type": ["string", "null"],
112 "description": "country of patron's alternate address"
115 "type": ["string", "null"],
116 "description": "email address for patron's alternate address"
119 "type": ["string", "null"],
120 "description": "phone number for patron's alternate address"
123 "type": ["string", "null"],
125 "description": "patron's date of birth"
129 "description": "code of patron's home branch"
133 "description": "code of patron's category"
136 "type": ["string", "null"],
138 "description": "date the patron was added to Koha"
141 "type": ["string", "null"],
143 "description": "date the patron's card is set to expire"
146 "type": ["string", "null"],
147 "description": "date the patron's card was last renewed"
150 "type": ["boolean", "null"],
151 "description": "set to 1 if library marked this patron as having an unconfirmed address"
154 "type": ["boolean", "null"],
155 "description": "set to 1 if library marked this patron as having lost his card"
158 "type": ["string", "null"],
160 "description": "until this date the patron can only check-in"
163 "type": ["string", "null"],
164 "description": "comment on the stop of the patron"
167 "type": ["string", "null"],
168 "description": "used for children and professionals to include surname or last name of guarantor or organization name"
170 "contactfirstname": {
171 "type": ["string", "null"],
172 "description": "used for children to include first name of guarantor"
175 "type": ["string", "null"],
176 "description": "used for children to include title of guarantor"
179 "type": ["integer", "null"],
180 "description": "borrowernumber used for children or professionals to link them to guarantor or organizations"
183 "type": ["string", "null"],
184 "description": "a note on the patron's account"
187 "type": ["string", "null"],
188 "description": "used for children to include the relationship to their guarantor"
191 "type": ["string", "null"],
192 "description": "patron's gender"
195 "type": ["string", "null"],
196 "description": "patron's encrypted password"
199 "type": ["integer", "null"],
200 "description": "a number associated with the patron's permissions"
203 "type": ["string", "null"],
204 "description": "patron's login"
207 "type": ["string", "null"],
208 "description": "a note on the patron's account visible in OPAC and staff client"
211 "type": ["string", "null"],
212 "description": "a note related to patron's alternate address"
215 "type": ["string", "null"],
216 "description": "a field that can be used for any information unique to the library"
219 "type": ["string", "null"],
220 "description": "a field that can be used for any information unique to the library"
222 "altcontactfirstname": {
223 "type": ["string", "null"],
224 "description": "first name of alternate contact for the patron"
226 "altcontactsurname": {
227 "type": ["string", "null"],
228 "description": "surname or last name of the alternate contact for the patron"
230 "altcontactaddress1": {
231 "type": ["string", "null"],
232 "description": "the first address line for the alternate contact for the patron"
234 "altcontactaddress2": {
235 "type": ["string", "null"],
236 "description": "the second address line for the alternate contact for the patron"
238 "altcontactaddress3": {
239 "type": ["string", "null"],
240 "description": "the city for the alternate contact for the patron"
243 "type": ["string", "null"],
244 "description": "the state for the alternate contact for the patron"
246 "altcontactzipcode": {
247 "type": ["string", "null"],
248 "description": "the zipcode for the alternate contact for the patron"
250 "altcontactcountry": {
251 "type": ["string", "null"],
252 "description": "the country for the alternate contact for the patron"
255 "type": ["string", "null"],
256 "description": "the phone number for the alternate contact for the patron"
259 "type": ["string", "null"],
260 "description": "the mobile phone number where the patron would like to receive notices (if SMS turned on)"
263 "type": ["integer", "null"],
264 "description": "the provider of the mobile phone number defined in smsalertnumber"
268 "description": "patron's privacy settings related to their reading history"
270 "privacy_guarantor_checkouts": {
272 "description": "controls if relatives can see this patron's checkouts"
274 "checkprevcheckout": {
276 "description": "produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'"
280 "format": "date-time",
281 "description": "time of last change could be useful for synchronization with external systems (among others)"
284 "type": ["string", "null"],
285 "format": "date-time",
286 "description": "last time a patron has been seen (connected at the OPAC or staff interface)"
290 "description": "lang to use to send notices to this patron"
293 "type": ["integer", "null"],
294 "description": "number of failed login attemps"
296 "overdrive_auth_token": {
297 "type": ["string", "null"],
298 "description": "persist OverDrive auth token"
301 "additionalProperties": false,
302 "required": ["surname", "address", "city", "branchcode", "categorycode"]