Martin Renvoize
9e50bcc1b5
This patch simplifies the specification directory further by doing the following: * Inlines paths.yml into swagger.yaml * Inlines definitions.yaml into swagger.yaml * Inlines parameters.yaml into swagger.yaml * Drops x-primitives.yaml Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
81 lines
1.7 KiB
YAML
81 lines
1.7 KiB
YAML
---
|
|
type: object
|
|
properties:
|
|
fund_id:
|
|
type: integer
|
|
description: internally assigned fund identifier
|
|
readOnly: true
|
|
code:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Code assigned to the fund by the user
|
|
name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Name assigned to the fund by the user
|
|
library_id:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Internal identifier for the library that this fund belongs to
|
|
total_amount:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: Total amount for this fund
|
|
warn_at_percentage:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: Warning at percentage
|
|
warn_at_amount:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: Warning at amount
|
|
notes:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Notes related to this fund
|
|
budget_id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: Internal identifier for the budget
|
|
timestamp:
|
|
type:
|
|
- string
|
|
format: date-time
|
|
description: Timestamp
|
|
fund_owner_id:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: Internal identifier for the fund owner
|
|
fund_access:
|
|
type:
|
|
- number
|
|
- "null"
|
|
description: "Level of permission for this fund (1: owner, 2: owner, users and library,
|
|
3: owner and users)"
|
|
parent_fund_id:
|
|
type:
|
|
- integer
|
|
- "null"
|
|
description: Internal identifier for parent fund
|
|
statistic1_auth_value_category:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Statistical category for this fund
|
|
statistic2_auth_value_category:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Second statistical category for this fund
|
|
additionalProperties: false
|
|
required:
|
|
- name
|