Bug 17268: Advanced cataloging editor macros - add endpoint
[koha.git] / api / v1 / swagger / x-primitives.json
1 {
2   "biblio_id": {
3     "type": "integer",
4     "description": "Internal biblio identifier"
5   },
6   "advancededitormacro_id": {
7     "type": "integer",
8     "description": "Internal advanced editor macro identifier",
9     "readOnly": true
10   },
11   "patron_id": {
12     "type": "integer",
13     "description": "Internal patron identifier"
14   },
15   "library_id": {
16     "type": "string",
17     "description": "internally assigned library identifier",
18     "maxLength": 10,
19     "minLength": 1
20   },
21   "cardnumber": {
22     "type": ["string", "null"],
23     "description": "library assigned user identifier"
24   },
25   "city_id": {
26     "type": "integer",
27     "description": "internally assigned city identifier",
28     "readOnly": true
29   },
30   "email": {
31     "type": ["string", "null"],
32     "description": "primary email address for patron's primary address"
33   },
34   "firstname": {
35     "type": ["string", "null"],
36     "description": "patron's first name"
37   },
38   "phone": {
39     "type": ["string", "null"],
40     "description": "primary phone number for patron's primary address"
41   },
42   "surname": {
43     "type": ["string", "null"],
44     "description": "patron's last name"
45   },
46   "vendor_id": {
47     "type": "integer",
48     "description": "internally assigned vendor identifier",
49     "readOnly": true
50   },
51   "fund_id": {
52     "type": "integer",
53     "description": "internally assigned fund identifier",
54     "readOnly": true
55   }
56
57 }