|
Lines 124-130
Link Here
|
| 124 |
"description": "patron's date of birth" |
124 |
"description": "patron's date of birth" |
| 125 |
}, |
125 |
}, |
| 126 |
"branchcode": { |
126 |
"branchcode": { |
| 127 |
"$ref": "../x-primitives.json#/branchcode" |
127 |
"type": "string", |
|
|
128 |
"description": "code of patron's home branch" |
| 128 |
}, |
129 |
}, |
| 129 |
"categorycode": { |
130 |
"categorycode": { |
| 130 |
"type": "string", |
131 |
"type": "string", |
|
Lines 139-149
Link Here
|
| 139 |
"description": "date the patron's card is set to expire" |
140 |
"description": "date the patron's card is set to expire" |
| 140 |
}, |
141 |
}, |
| 141 |
"gonenoaddress": { |
142 |
"gonenoaddress": { |
| 142 |
"type": ["string", "null"], |
143 |
"type": ["integer", "null"], |
| 143 |
"description": "set to 1 if library marked this patron as having an unconfirmed address" |
144 |
"description": "set to 1 if library marked this patron as having an unconfirmed address" |
| 144 |
}, |
145 |
}, |
| 145 |
"lost": { |
146 |
"lost": { |
| 146 |
"type": ["string", "null"], |
147 |
"type": ["integer", "null"], |
| 147 |
"description": "set to 1 if library marked this patron as having lost his card" |
148 |
"description": "set to 1 if library marked this patron as having lost his card" |
| 148 |
}, |
149 |
}, |
| 149 |
"debarred": { |
150 |
"debarred": { |
|
Lines 167-173
Link Here
|
| 167 |
"description": "used for children to include title of guarantor" |
168 |
"description": "used for children to include title of guarantor" |
| 168 |
}, |
169 |
}, |
| 169 |
"guarantorid": { |
170 |
"guarantorid": { |
| 170 |
"type": ["string", "null"], |
171 |
"type": ["integer", "null"], |
| 171 |
"description": "borrowernumber used for children or professionals to link them to guarantor or organizations" |
172 |
"description": "borrowernumber used for children or professionals to link them to guarantor or organizations" |
| 172 |
}, |
173 |
}, |
| 173 |
"borrowernotes": { |
174 |
"borrowernotes": { |
|
Lines 187-193
Link Here
|
| 187 |
"description": "patron's encrypted password" |
188 |
"description": "patron's encrypted password" |
| 188 |
}, |
189 |
}, |
| 189 |
"flags": { |
190 |
"flags": { |
| 190 |
"type": ["string", "null"], |
191 |
"type": ["integer", "null"], |
| 191 |
"description": "a number associated with the patron's permissions" |
192 |
"description": "a number associated with the patron's permissions" |
| 192 |
}, |
193 |
}, |
| 193 |
"userid": { |
194 |
"userid": { |
|
Lines 251-265
Link Here
|
| 251 |
"description": "the mobile phone number where the patron would like to receive notices (if SMS turned on)" |
252 |
"description": "the mobile phone number where the patron would like to receive notices (if SMS turned on)" |
| 252 |
}, |
253 |
}, |
| 253 |
"sms_provider_id": { |
254 |
"sms_provider_id": { |
| 254 |
"type": ["string", "null"], |
255 |
"type": ["integer", "null"], |
| 255 |
"description": "the provider of the mobile phone number defined in smsalertnumber" |
256 |
"description": "the provider of the mobile phone number defined in smsalertnumber" |
| 256 |
}, |
257 |
}, |
| 257 |
"privacy": { |
258 |
"privacy": { |
| 258 |
"type": "string", |
259 |
"type": "integer", |
| 259 |
"description": "patron's privacy settings related to their reading history" |
260 |
"description": "patron's privacy settings related to their reading history" |
| 260 |
}, |
261 |
}, |
| 261 |
"privacy_guarantor_checkouts": { |
262 |
"privacy_guarantor_checkouts": { |
| 262 |
"type": "string", |
263 |
"type": "integer", |
| 263 |
"description": "controls if relatives can see this patron's checkouts" |
264 |
"description": "controls if relatives can see this patron's checkouts" |
| 264 |
}, |
265 |
}, |
| 265 |
"checkprevcheckout": { |
266 |
"checkprevcheckout": { |
|
Lines 269-274
Link Here
|
| 269 |
"updated_on": { |
270 |
"updated_on": { |
| 270 |
"type": "string", |
271 |
"type": "string", |
| 271 |
"description": "time of last change could be useful for synchronization with external systems (among others)" |
272 |
"description": "time of last change could be useful for synchronization with external systems (among others)" |
|
|
273 |
}, |
| 274 |
"lastseen": { |
| 275 |
"type": ["string", "null"], |
| 276 |
"description": "last time a patron has been seed (connected at the OPAC or staff interface)" |
| 272 |
} |
277 |
} |
| 273 |
} |
278 |
} |
| 274 |
} |
279 |
} |