Jonathan Druart
401987bdad
This patch replace the QOTD editor with our new way to CRUD the adminitration page (like libraries and STMP servers) Test plan: Play with the QOTD by adding, removing, updating quotes Try to find bugs :) Bug 27251: Fix capitalization Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
22 lines
473 B
JSON
22 lines
473 B
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"quote_id": {
|
|
"$ref": "../x-primitives.json#/quote_id"
|
|
},
|
|
"source": {
|
|
"description": "source of the quote",
|
|
"type": "string"
|
|
},
|
|
"text": {
|
|
"description": "text",
|
|
"type": ["string", "null"]
|
|
},
|
|
"displayed_on": {
|
|
"description": "Last display date",
|
|
"type": ["string", "null"]
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["quote_id", "source", "text"]
|
|
}
|