View | Details | Raw Unified | Return to bug 40178
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/patron.yaml (-1 / +12 lines)
Lines 178-186 properties: Link Here
178
  library_id:
178
  library_id:
179
    type: string
179
    type: string
180
    description: Internal identifier for the patron's home library
180
    description: Internal identifier for the patron's home library
181
    maxLength: 10
181
  category_id:
182
  category_id:
182
    type: string
183
    type: string
183
    description: Internal identifier for the patron's category
184
    description: Internal identifier for the patron's category
185
    maxLength: 10
184
  date_enrolled:
186
  date_enrolled:
185
    type:
187
    type:
186
      - string
188
      - string
Lines 227-237 properties: Link Here
227
      - string
229
      - string
228
      - "null"
230
      - "null"
229
    description: used for children to include the relationship to their guarantor
231
    description: used for children to include the relationship to their guarantor
232
    maxLength: 100
230
  gender:
233
  gender:
231
    type:
234
    type:
232
      - string
235
      - string
233
      - "null"
236
      - "null"
234
    description: patron's gender
237
    description: patron's gender
238
    maxLength: 1
235
  userid:
239
  userid:
236
    type:
240
    type:
237
      - string
241
      - string
Lines 247-262 properties: Link Here
247
      - string
251
      - string
248
      - "null"
252
      - "null"
249
    description: a note related to patron's alternate address
253
    description: a note related to patron's alternate address
254
    maxLength: 255
250
  statistics_1:
255
  statistics_1:
251
    type:
256
    type:
252
      - string
257
      - string
253
      - "null"
258
      - "null"
254
    description: a field that can be used for any information unique to the library
259
    description: a field that can be used for any information unique to the library
260
    maxLength: 80
255
  statistics_2:
261
  statistics_2:
256
    type:
262
    type:
257
      - string
263
      - string
258
      - "null"
264
      - "null"
259
    description: a field that can be used for any information unique to the library
265
    description: a field that can be used for any information unique to the library
266
    maxLength: 80
260
  autorenew_checkouts:
267
  autorenew_checkouts:
261
    type: boolean
268
    type: boolean
262
    description: indicate whether auto-renewal is allowed for patron
269
    description: indicate whether auto-renewal is allowed for patron
Lines 311-316 properties: Link Here
311
      - "null"
318
      - "null"
312
    description: the mobile phone number where the patron would like to receive notices (if
319
    description: the mobile phone number where the patron would like to receive notices (if
313
      SMS turned on)
320
      SMS turned on)
321
    maxLength: 50
314
  sms_provider_id:
322
  sms_provider_id:
315
    type:
323
    type:
316
      - integer
324
      - integer
Lines 327-332 properties: Link Here
327
    description: controls if relatives can see this patron's fines
335
    description: controls if relatives can see this patron's fines
328
  check_previous_checkout:
336
  check_previous_checkout:
329
    type: string
337
    type: string
338
    enum:
339
      - yes
340
      - no
341
      - inherit
330
    description: produce a warning for this patron if this item has previously been checked
342
    description: produce a warning for this patron if this item has previously been checked
331
      out to this patron if 'yes', not if 'no', defer to category setting if
343
      out to this patron if 'yes', not if 'no', defer to category setting if
332
      'inherit'
344
      'inherit'
333
- 

Return to bug 40178