|
Lines 2-12
Link Here
|
| 2 |
"type": "object", |
2 |
"type": "object", |
| 3 |
"properties": { |
3 |
"properties": { |
| 4 |
"borrowernumber": { |
4 |
"borrowernumber": { |
| 5 |
"type": "integer", |
5 |
"type": "string", |
| 6 |
"description": "internally assigned user identifier" |
6 |
"description": "internally assigned user identifier" |
| 7 |
}, |
7 |
}, |
| 8 |
"cardnumber": { |
8 |
"cardnumber": { |
| 9 |
"type": "string", |
|
|
| 10 |
"description": "library assigned user identifier" |
9 |
"description": "library assigned user identifier" |
| 11 |
}, |
10 |
}, |
| 12 |
"surname": { |
11 |
"surname": { |
|
Lines 14-40
Link Here
|
| 14 |
"description": "patron's last name" |
13 |
"description": "patron's last name" |
| 15 |
}, |
14 |
}, |
| 16 |
"firstname": { |
15 |
"firstname": { |
| 17 |
"type": "string", |
|
|
| 18 |
"description": "patron's first name" |
16 |
"description": "patron's first name" |
| 19 |
}, |
17 |
}, |
| 20 |
"title": { |
18 |
"title": { |
| 21 |
"type": "string", |
|
|
| 22 |
"description": "patron's title" |
19 |
"description": "patron's title" |
| 23 |
}, |
20 |
}, |
| 24 |
"othernames": { |
21 |
"othernames": { |
| 25 |
"type": "string", |
|
|
| 26 |
"description": "any other names associated with the patron" |
22 |
"description": "any other names associated with the patron" |
| 27 |
}, |
23 |
}, |
| 28 |
"initials": { |
24 |
"initials": { |
| 29 |
"type": "string", |
|
|
| 30 |
"description": "initials of the patron" |
25 |
"description": "initials of the patron" |
| 31 |
}, |
26 |
}, |
| 32 |
"streetnumber": { |
27 |
"streetnumber": { |
| 33 |
"type": "string", |
|
|
| 34 |
"description": "street number of patron's primary address" |
28 |
"description": "street number of patron's primary address" |
| 35 |
}, |
29 |
}, |
| 36 |
"streettype": { |
30 |
"streettype": { |
| 37 |
"type": "string", |
|
|
| 38 |
"description": "street type of patron's primary address" |
31 |
"description": "street type of patron's primary address" |
| 39 |
}, |
32 |
}, |
| 40 |
"address": { |
33 |
"address": { |
|
Lines 42-48
Link Here
|
| 42 |
"description": "first address line of patron's primary address" |
35 |
"description": "first address line of patron's primary address" |
| 43 |
}, |
36 |
}, |
| 44 |
"address2": { |
37 |
"address2": { |
| 45 |
"type": "string", |
|
|
| 46 |
"description": "second address line of patron's primary address" |
38 |
"description": "second address line of patron's primary address" |
| 47 |
}, |
39 |
}, |
| 48 |
"city": { |
40 |
"city": { |
|
Lines 50-132
Link Here
|
| 50 |
"description": "city or town of patron's primary address" |
42 |
"description": "city or town of patron's primary address" |
| 51 |
}, |
43 |
}, |
| 52 |
"state": { |
44 |
"state": { |
| 53 |
"type": "string", |
|
|
| 54 |
"description": "state or province of patron's primary address" |
45 |
"description": "state or province of patron's primary address" |
| 55 |
}, |
46 |
}, |
| 56 |
"zipcode": { |
47 |
"zipcode": { |
| 57 |
"type": "string", |
|
|
| 58 |
"description": "zip or postal code of patron's primary address" |
48 |
"description": "zip or postal code of patron's primary address" |
| 59 |
}, |
49 |
}, |
| 60 |
"country": { |
50 |
"country": { |
| 61 |
"type": "string", |
|
|
| 62 |
"description": "country of patron's primary address" |
51 |
"description": "country of patron's primary address" |
| 63 |
}, |
52 |
}, |
| 64 |
"email": { |
53 |
"email": { |
| 65 |
"type": "string", |
|
|
| 66 |
"description": "primary email address for patron's primary address" |
54 |
"description": "primary email address for patron's primary address" |
| 67 |
}, |
55 |
}, |
| 68 |
"phone": { |
56 |
"phone": { |
| 69 |
"type": "string", |
|
|
| 70 |
"description": "primary phone number for patron's primary address" |
57 |
"description": "primary phone number for patron's primary address" |
| 71 |
}, |
58 |
}, |
| 72 |
"mobile": { |
59 |
"mobile": { |
| 73 |
"type": "string", |
|
|
| 74 |
"description": "the other phone number for patron's primary address" |
60 |
"description": "the other phone number for patron's primary address" |
| 75 |
}, |
61 |
}, |
| 76 |
"fax": { |
62 |
"fax": { |
| 77 |
"type": "string", |
|
|
| 78 |
"description": "fax number for patron's primary address" |
63 |
"description": "fax number for patron's primary address" |
| 79 |
}, |
64 |
}, |
| 80 |
"emailpro": { |
65 |
"emailpro": { |
| 81 |
"type": "string", |
|
|
| 82 |
"description": "secondary email address for patron's primary address" |
66 |
"description": "secondary email address for patron's primary address" |
| 83 |
}, |
67 |
}, |
| 84 |
"phonepro": { |
68 |
"phonepro": { |
| 85 |
"type": "string", |
|
|
| 86 |
"description": "secondary phone number for patron's primary address" |
69 |
"description": "secondary phone number for patron's primary address" |
| 87 |
}, |
70 |
}, |
| 88 |
"B_streetnumber": { |
71 |
"B_streetnumber": { |
| 89 |
"type": "string", |
|
|
| 90 |
"description": "street number of patron's alternate address" |
72 |
"description": "street number of patron's alternate address" |
| 91 |
}, |
73 |
}, |
| 92 |
"B_streettype": { |
74 |
"B_streettype": { |
| 93 |
"type": "string", |
|
|
| 94 |
"description": "street type of patron's alternate address" |
75 |
"description": "street type of patron's alternate address" |
| 95 |
}, |
76 |
}, |
| 96 |
"B_address": { |
77 |
"B_address": { |
| 97 |
"type": "string", |
|
|
| 98 |
"description": "first address line of patron's alternate address" |
78 |
"description": "first address line of patron's alternate address" |
| 99 |
}, |
79 |
}, |
| 100 |
"B_address2": { |
80 |
"B_address2": { |
| 101 |
"type": "string", |
|
|
| 102 |
"description": "second address line of patron's alternate address" |
81 |
"description": "second address line of patron's alternate address" |
| 103 |
}, |
82 |
}, |
| 104 |
"B_city": { |
83 |
"B_city": { |
| 105 |
"type": "string", |
|
|
| 106 |
"description": "city or town of patron's alternate address" |
84 |
"description": "city or town of patron's alternate address" |
| 107 |
}, |
85 |
}, |
| 108 |
"B_state": { |
86 |
"B_state": { |
| 109 |
"type": "string", |
|
|
| 110 |
"description": "state or province of patron's alternate address" |
87 |
"description": "state or province of patron's alternate address" |
| 111 |
}, |
88 |
}, |
| 112 |
"B_zipcode": { |
89 |
"B_zipcode": { |
| 113 |
"type": "string", |
|
|
| 114 |
"description": "zip or postal code of patron's alternate address" |
90 |
"description": "zip or postal code of patron's alternate address" |
| 115 |
}, |
91 |
}, |
| 116 |
"B_country": { |
92 |
"B_country": { |
| 117 |
"type": "string", |
|
|
| 118 |
"description": "country of patron's alternate address" |
93 |
"description": "country of patron's alternate address" |
| 119 |
}, |
94 |
}, |
| 120 |
"B_email": { |
95 |
"B_email": { |
| 121 |
"type": "string", |
|
|
| 122 |
"description": "email address for patron's alternate address" |
96 |
"description": "email address for patron's alternate address" |
| 123 |
}, |
97 |
}, |
| 124 |
"B_phone": { |
98 |
"B_phone": { |
| 125 |
"type": "string", |
|
|
| 126 |
"description": "phone number for patron's alternate address" |
99 |
"description": "phone number for patron's alternate address" |
| 127 |
}, |
100 |
}, |
| 128 |
"dateofbirth": { |
101 |
"dateofbirth": { |
| 129 |
"type": "string", |
|
|
| 130 |
"description": "patron's date of birth" |
102 |
"description": "patron's date of birth" |
| 131 |
}, |
103 |
}, |
| 132 |
"branchcode": { |
104 |
"branchcode": { |
|
Lines 138-268
Link Here
|
| 138 |
"description": "code of patron's category" |
110 |
"description": "code of patron's category" |
| 139 |
}, |
111 |
}, |
| 140 |
"dateenrolled": { |
112 |
"dateenrolled": { |
| 141 |
"type": "string", |
|
|
| 142 |
"description": "date the patron was added to Koha" |
113 |
"description": "date the patron was added to Koha" |
| 143 |
}, |
114 |
}, |
| 144 |
"dateexpiry": { |
115 |
"dateexpiry": { |
| 145 |
"type": "string", |
|
|
| 146 |
"description": "date the patron's card is set to expire" |
116 |
"description": "date the patron's card is set to expire" |
| 147 |
}, |
117 |
}, |
| 148 |
"gonenoaddress": { |
118 |
"gonenoaddress": { |
| 149 |
"type": "string", |
|
|
| 150 |
"description": "set to 1 if library marked this patron as having an unconfirmed address" |
119 |
"description": "set to 1 if library marked this patron as having an unconfirmed address" |
| 151 |
}, |
120 |
}, |
| 152 |
"lost": { |
121 |
"lost": { |
| 153 |
"type": "string", |
|
|
| 154 |
"description": "set to 1 if library marked this patron as having lost his card" |
122 |
"description": "set to 1 if library marked this patron as having lost his card" |
| 155 |
}, |
123 |
}, |
| 156 |
"debarred": { |
124 |
"debarred": { |
| 157 |
"type": "string", |
|
|
| 158 |
"description": "until this date the patron can only check-in" |
125 |
"description": "until this date the patron can only check-in" |
| 159 |
}, |
126 |
}, |
| 160 |
"debarredcomment": { |
127 |
"debarredcomment": { |
| 161 |
"type": "string", |
|
|
| 162 |
"description": "comment on the stop of the patron" |
128 |
"description": "comment on the stop of the patron" |
| 163 |
}, |
129 |
}, |
| 164 |
"contactname": { |
130 |
"contactname": { |
| 165 |
"type": "string", |
|
|
| 166 |
"description": "used for children and professionals to include surname or last name of guarantor or organization name" |
131 |
"description": "used for children and professionals to include surname or last name of guarantor or organization name" |
| 167 |
}, |
132 |
}, |
| 168 |
"contactfirstname": { |
133 |
"contactfirstname": { |
| 169 |
"type": "string", |
|
|
| 170 |
"description": "used for children to include first name of guarantor" |
134 |
"description": "used for children to include first name of guarantor" |
| 171 |
}, |
135 |
}, |
| 172 |
"contacttitle": { |
136 |
"contacttitle": { |
| 173 |
"type": "string", |
|
|
| 174 |
"description": "used for children to include title of guarantor" |
137 |
"description": "used for children to include title of guarantor" |
| 175 |
}, |
138 |
}, |
| 176 |
"guarantorid": { |
139 |
"guarantorid": { |
| 177 |
"type": "integer", |
|
|
| 178 |
"description": "borrowernumber used for children or professionals to link them to guarantor or organizations" |
140 |
"description": "borrowernumber used for children or professionals to link them to guarantor or organizations" |
| 179 |
}, |
141 |
}, |
| 180 |
"borrowernotes": { |
142 |
"borrowernotes": { |
| 181 |
"type": "string", |
|
|
| 182 |
"description": "a note on the patron's account" |
143 |
"description": "a note on the patron's account" |
| 183 |
}, |
144 |
}, |
| 184 |
"relationship": { |
145 |
"relationship": { |
| 185 |
"type": "string", |
|
|
| 186 |
"description": "used for children to include the relationship to their guarantor" |
146 |
"description": "used for children to include the relationship to their guarantor" |
| 187 |
}, |
147 |
}, |
| 188 |
"ethnicity": { |
148 |
"ethnicity": { |
| 189 |
"type": "string", |
|
|
| 190 |
"description": "unused" |
149 |
"description": "unused" |
| 191 |
}, |
150 |
}, |
| 192 |
"ethnotes": { |
151 |
"ethnotes": { |
| 193 |
"type": "string", |
|
|
| 194 |
"description": "unused" |
152 |
"description": "unused" |
| 195 |
}, |
153 |
}, |
| 196 |
"sex": { |
154 |
"sex": { |
| 197 |
"type": "string", |
|
|
| 198 |
"description": "patron's gender" |
155 |
"description": "patron's gender" |
| 199 |
}, |
156 |
}, |
| 200 |
"password": { |
157 |
"password": { |
| 201 |
"type": "string", |
|
|
| 202 |
"description": "patron's encrypted password" |
158 |
"description": "patron's encrypted password" |
| 203 |
}, |
159 |
}, |
| 204 |
"flags": { |
160 |
"flags": { |
| 205 |
"type": "string", |
|
|
| 206 |
"description": "a number associated with the patron's permissions" |
161 |
"description": "a number associated with the patron's permissions" |
| 207 |
}, |
162 |
}, |
| 208 |
"userid": { |
163 |
"userid": { |
| 209 |
"type": "string", |
|
|
| 210 |
"description": "patron's login" |
164 |
"description": "patron's login" |
| 211 |
}, |
165 |
}, |
| 212 |
"opacnote": { |
166 |
"opacnote": { |
| 213 |
"type": "string", |
|
|
| 214 |
"description": "a note on the patron's account visible in OPAC and staff client" |
167 |
"description": "a note on the patron's account visible in OPAC and staff client" |
| 215 |
}, |
168 |
}, |
| 216 |
"contactnote": { |
169 |
"contactnote": { |
| 217 |
"type": "string", |
|
|
| 218 |
"description": "a note related to patron's alternate address" |
170 |
"description": "a note related to patron's alternate address" |
| 219 |
}, |
171 |
}, |
| 220 |
"sort1": { |
172 |
"sort1": { |
| 221 |
"type": "string", |
|
|
| 222 |
"description": "a field that can be used for any information unique to the library" |
173 |
"description": "a field that can be used for any information unique to the library" |
| 223 |
}, |
174 |
}, |
| 224 |
"sort2": { |
175 |
"sort2": { |
| 225 |
"type": "string", |
|
|
| 226 |
"description": "a field that can be used for any information unique to the library" |
176 |
"description": "a field that can be used for any information unique to the library" |
| 227 |
}, |
177 |
}, |
| 228 |
"altcontactfirstname": { |
178 |
"altcontactfirstname": { |
| 229 |
"type": "string", |
|
|
| 230 |
"description": "first name of alternate contact for the patron" |
179 |
"description": "first name of alternate contact for the patron" |
| 231 |
}, |
180 |
}, |
| 232 |
"altcontactsurname": { |
181 |
"altcontactsurname": { |
| 233 |
"type": "string", |
|
|
| 234 |
"description": "surname or last name of the alternate contact for the patron" |
182 |
"description": "surname or last name of the alternate contact for the patron" |
| 235 |
}, |
183 |
}, |
| 236 |
"altcontactaddress1": { |
184 |
"altcontactaddress1": { |
| 237 |
"type": "string", |
|
|
| 238 |
"description": "the first address line for the alternate contact for the patron" |
185 |
"description": "the first address line for the alternate contact for the patron" |
| 239 |
}, |
186 |
}, |
| 240 |
"altcontactaddress2": { |
187 |
"altcontactaddress2": { |
| 241 |
"type": "string", |
|
|
| 242 |
"description": "the second address line for the alternate contact for the patron" |
188 |
"description": "the second address line for the alternate contact for the patron" |
| 243 |
}, |
189 |
}, |
| 244 |
"altcontactaddress3": { |
190 |
"altcontactaddress3": { |
| 245 |
"type": "string", |
|
|
| 246 |
"description": "the city for the alternate contact for the patron" |
191 |
"description": "the city for the alternate contact for the patron" |
| 247 |
}, |
192 |
}, |
| 248 |
"altcontactstate": { |
193 |
"altcontactstate": { |
| 249 |
"type": "string", |
|
|
| 250 |
"description": "the state for the alternate contact for the patron" |
194 |
"description": "the state for the alternate contact for the patron" |
| 251 |
}, |
195 |
}, |
| 252 |
"altcontactzipcode": { |
196 |
"altcontactzipcode": { |
| 253 |
"type": "string", |
|
|
| 254 |
"description": "the zipcode for the alternate contact for the patron" |
197 |
"description": "the zipcode for the alternate contact for the patron" |
| 255 |
}, |
198 |
}, |
| 256 |
"altcontactcountry": { |
199 |
"altcontactcountry": { |
| 257 |
"type": "string", |
|
|
| 258 |
"description": "the country for the alternate contact for the patron" |
200 |
"description": "the country for the alternate contact for the patron" |
| 259 |
}, |
201 |
}, |
| 260 |
"altcontactphone": { |
202 |
"altcontactphone": { |
| 261 |
"type": "string", |
|
|
| 262 |
"description": "the phone number for the alternate contact for the patron" |
203 |
"description": "the phone number for the alternate contact for the patron" |
| 263 |
}, |
204 |
}, |
| 264 |
"smsalertnumber": { |
205 |
"smsalertnumber": { |
| 265 |
"type": "string", |
|
|
| 266 |
"description": "the mobile phone number where the patron would like to receive notices (if SMS turned on)" |
206 |
"description": "the mobile phone number where the patron would like to receive notices (if SMS turned on)" |
| 267 |
}, |
207 |
}, |
| 268 |
"privacy": { |
208 |
"privacy": { |
| 269 |
- |
|
|