Koha-clms/api/v1/swagger/definitions/fund.yaml

82 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