Bug 36481: (QA follow-up) Rename branch_default to library_default
[koha.git] / api / v1 / swagger / definitions / cash_register.yaml
1 ---
2 type: object
3 properties:
4   cash_register_id:
5     type: integer
6     description: Internal cash register identifier
7   name:
8     type: string
9     description: The cash register display name
10   library_id:
11     type: string
12     description: Internally assigned library identifier
13     maxLength: 10
14     minLength: 1
15   description:
16     type: string
17     description: A description
18   starting_float:
19     type:
20       - number
21       - "null"
22     description: The starting float this account register should be assigned
23   archived:
24     type: boolean
25     description: If this till is archived
26   library_default:
27     type: boolean
28     description: If this till is the library default
29 additionalProperties: false
30 required:
31   - cash_register_id
32   - name
33   - library_id