Bug 32030: ERM - Licenses
[koha.git] / api / v1 / swagger / definitions / erm_license.yaml
1 ---
2 type: object
3 properties:
4   license_id:
5     type: integer
6     description: internally assigned license identifier
7     readOnly: true
8   name:
9     description: name of the license
10     type: string
11   description:
12     description: description of the license
13     type:
14       - string
15       - "null"
16   type:
17     description: description of the license
18     type:
19       - string
20       - "null"
21   status:
22     description: status of the license
23     type: string
24   started_on:
25     type:
26       - string
27       - "null"
28     format: date
29     description: Start of the license
30   ended_on:
31     type:
32       - string
33       - "null"
34     format: date
35     description: End of the license
36 additionalProperties: false
37 required:
38   - license_id
39   - name
40   - status