Bug 20006: Spec changes
[koha.git] / api / v1 / swagger / x-primitives.json
1 {
2   "biblio_id": {
3     "type": "integer",
4     "description": "Internal biblio identifier"
5   },
6   "patron_id": {
7     "type": "integer",
8     "description": "Internal patron identifier"
9   },
10   "library_id": {
11     "type": "string",
12     "description": "internally assigned library identifier",
13     "maxLength": 10,
14     "minLength": 1
15   },
16   "cardnumber": {
17     "type": ["string", "null"],
18     "description": "library assigned user identifier"
19   },
20   "city_id": {
21     "type": "integer",
22     "description": "internally assigned city identifier",
23     "readOnly": true
24   },
25   "email": {
26     "type": ["string", "null"],
27     "description": "primary email address for patron's primary address"
28   },
29   "firstname": {
30     "type": ["string", "null"],
31     "description": "patron's first name"
32   },
33   "phone": {
34     "type": ["string", "null"],
35     "description": "primary phone number for patron's primary address"
36   },
37   "surname": {
38     "type": "string",
39     "description": "patron's last name"
40   },
41   "vendor_id": {
42     "type": "integer",
43     "description": "internally assigned vendor identifier",
44     "readOnly": true
45   }
46 }