Bug 30719: ILL Batches
[koha.git] / api / v1 / swagger / definitions / illbatch.yaml
1 ---
2 type: object
3 properties:
4   id:
5     type: string
6     description: Internal ILL batch identifier
7   name:
8     type: string
9     description: Name of the ILL batch
10   backend:
11     type: string
12     description: Backend name
13   cardnumber:
14     type: string
15     description: Card number of the patron of the ILL batch
16   borrowernumber:
17     type: string
18     description: Borrower number of the patron of the ILL batch
19   branchcode:
20     type: string
21     description: Branch code of the branch of the ILL batch
22   patron:
23     type:
24       - object
25       - "null"
26     description: The patron associated with the batch
27   branch:
28     type:
29       - object
30       - "null"
31     description: The branch associated with the batch
32   statuscode:
33     type: string
34     description: Code of the status of the ILL batch
35   status:
36     type:
37       - object
38       - "null"
39     description: The status associated with the batch
40   requests_count:
41     type: string
42     description: The number of requests in this batch
43 additionalProperties: false
44 required:
45   - name
46   - backend
47   - branchcode
48   - statuscode