Koha/api/v1/swagger/definitions/erm_agreement_document.yaml
Jonathan Druart c03c616bc2
Bug 32030: ERM - Agreement documents - REST API
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 09:43:53 -03:00

56 lines
1 KiB
YAML

---
type: object
properties:
document_id:
type: integer
description: internally assigned identifier
readOnly: true
agreement_id:
type: integer
description: Internal agreement identifier
file_name:
type:
- string
- "null"
description: Name of the file
file_type:
type:
- string
- "null"
description: Name of the file
file_description:
type:
- string
- "null"
description: Description of the file
file_content:
type:
- string
- "null"
description: Content of the file
uploaded_on:
type:
- string
- "null"
format: date-time
description: Datetime of the upload
file_type:
type:
- string
- "null"
description: Name of the file
physical_location:
type:
- string
- "null"
description: Physical location of the document
uri:
description: URI of the document
type:
- string
- "null"
notes:
type:
- string
- "null"
additionalProperties: false