Bug 32030: ERM - Agreement documents (FIXED)
[koha.git] / api / v1 / swagger / definitions / erm_agreement_document.yaml
1 ---
2 type: object
3 properties:
4   document_id:
5     type: integer
6     description: internally assigned identifier
7   agreement_id:
8     type: integer
9     description: Internal agreement identifier
10   file_name:
11     type:
12       - string
13       - "null"
14     description: Name of the file
15   file_type:
16     type:
17       - string
18       - "null"
19     readOnly: true
20     description: Type of the file
21   file_description:
22     type:
23       - string
24       - "null"
25     description: Description of the file
26   file_content:
27     type:
28       - string
29       - "null"
30     description: Content of the file
31   uploaded_on:
32     type:
33       - string
34       - "null"
35     readOnly: true
36     format: date-time
37     description: Datetime of the upload
38   physical_location:
39     type:
40       - string
41       - "null"
42     description: Physical location of the document
43   uri:
44     description: URI of the document
45     type:
46       - string
47       - "null"
48   notes:
49     type:
50       - string
51       - "null"
52 additionalProperties: false