Bug 17086: Reword borrowers to patrons in Swagger tags for holds
[koha.git] / api / v1 / swagger / x-primitives.json
1 {
2   "biblionumber": {
3     "type": "string",
4     "description": "internally assigned biblio identifier"
5   },
6   "borrowernumber": {
7     "type": "string",
8     "description": "internally assigned user identifier"
9   },
10   "branchcode": {
11     "type": ["string", "null"],
12     "description": "code of patron's home branch"
13   },
14   "cardnumber": {
15     "type": ["string", "null"],
16     "description": "library assigned user identifier"
17   },
18   "cityid": {
19     "type": "string",
20     "description": "internally assigned city identifier",
21     "readOnly": true
22   },
23   "email": {
24     "type": ["string", "null"],
25     "description": "primary email address for patron's primary address"
26   },
27   "firstname": {
28     "type": ["string", "null"],
29     "description": "patron's first name"
30   },
31   "itemnumber": {
32     "type": ["string", "null"],
33     "description": "internally assigned item identifier"
34   },
35   "phone": {
36     "type": ["string", "null"],
37     "description": "primary phone number for patron's primary address"
38   },
39   "reserve_id": {
40     "description": "Internal hold identifier"
41   },
42   "surname": {
43     "type": "string",
44     "description": "patron's last name"
45   }
46 }