Bug 26633: Add REST API for managing transfer limits
[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   "limit_id": {
22     "type": "integer",
23     "description": "Internal transfer limit identifier"
24   },
25   "cardnumber": {
26     "type": ["string", "null"],
27     "description": "library assigned user identifier"
28   },
29   "city_id": {
30     "type": "integer",
31     "description": "internally assigned city identifier",
32     "readOnly": true
33   },
34   "email": {
35     "type": ["string", "null"],
36     "description": "primary email address for patron's primary address"
37   },
38   "firstname": {
39     "type": ["string", "null"],
40     "description": "patron's first name"
41   },
42   "phone": {
43     "type": ["string", "null"],
44     "description": "primary phone number for patron's primary address"
45   },
46   "surname": {
47     "type": ["string", "null"],
48     "description": "patron's last name"
49   },
50   "vendor_id": {
51     "type": "integer",
52     "description": "internally assigned vendor identifier",
53     "readOnly": true
54   },
55   "fund_id": {
56     "type": "integer",
57     "description": "internally assigned fund identifier",
58     "readOnly": true
59   },
60   "quote_id": {
61     "type": "integer",
62     "description": "internally assigned quote identifier",
63     "readOnly": true
64   }
65 }