Bug 27251: Rewrite QOTD with the Koha REST API
[koha.git] / api / v1 / swagger / definitions / quote.json
1 {
2   "type": "object",
3   "properties": {
4     "quote_id": {
5       "$ref": "../x-primitives.json#/quote_id"
6     },
7     "source": {
8       "description": "source of the quote",
9       "type": "string"
10     },
11     "text": {
12       "description": "text",
13       "type": ["string", "null"]
14     },
15     "displayed_on": {
16       "description": "Last display date",
17       "type": ["string", "null"]
18     }
19   },
20   "additionalProperties": false,
21   "required": ["quote_id", "source", "text"]
22 }