Bug 26633: Add REST API for managing transfer limits
[koha.git] / api / v1 / swagger / definitions / transfer_limit.json
1 {
2   "type": "object",
3   "properties": {
4     "limit_id": {
5       "type": "integer",
6       "description": "Internal transfer limit identifier"
7     },
8     "to_library_id": {
9       "type": "string",
10       "description": "Internal library id for which library the item is going to"
11     },
12     "from_library_id": {
13       "type": "string",
14       "description": "Internal library id for which library the item is coming from"
15     },
16     "item_type": {
17       "type": ["string", "null"],
18       "description": "Itemtype defining the type for this limi"
19     },
20     "collection_code": {
21       "type": ["string", "null"],
22       "description": "Authorized value for the collection code associated with this limit"
23     }
24   },
25   "additionalProperties": false,
26   "required": ["to_library_id", "from_library_id"]
27 }