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