Bug 19661: REST API - Funds Endpoint
[koha.git] / api / v1 / swagger / definitions / fund.json
1 {
2   "type": "object",
3   "properties": {
4     "id": {
5       "$ref": "../x-primitives.json#/fund_id"
6     },
7     "code": {
8       "type": [
9         "string",
10         "null"
11       ],
12       "description": "Fund code"
13     },
14     "name": {
15       "type": [
16         "string",
17         "null"
18       ],
19       "description": "Fund name"
20     }
21   },
22   "additionalProperties": false,
23   "required": ["name"]
24 }