Koha/api/v1/swagger/definitions/advancededitormacro.json
Nick Clemens 537ba245ee
Bug 17268: Advanced cataloging editor macros - add endpoint
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Heather Hernandez <Heather_Hernandez@nps.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-04 08:25:21 +01:00

26 lines
600 B
JSON

{
"type": "object",
"properties": {
"macro_id": {
"$ref": "../x-primitives.json#/advancededitormacro_id"
},
"name": {
"description": "macro name",
"type": "string"
},
"macro_text": {
"description": "macro text",
"type": ["string", "null"]
},
"patron_id": {
"description": "borrower number",
"type": ["integer", "null"]
},
"shared": {
"description": "is macro shared",
"type": ["boolean", "null"]
}
},
"additionalProperties": false,
"required": ["name", "macro_text", "patron_id", "shared"]
}