GET http://[host-proxy]/api/view/IniCoolingMgmtVIEW/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"inicooling_notes": {
"title": "Info",
"description": "Instructions for using this tool",
"type": "string",
"required": false,
"readonly": true,
"displayable": true,
"default": "This tool allows you to manage Internal Numbers: apply/remove cooling, reserve/unreserve. Filter numbers using the options below, select one or more numbers, then choose an action. Note: Unreserving numbers will automatically clear any reservation notes."
},
"view_action": {
"title": "For the above internal number, do:",
"type": "string",
"required": true,
"default": "move_to_cooling",
"choices": [
{
"value": "move_to_cooling",
"title": "Apply cooling"
},
{
"value": "make_available",
"title": "Remove from cooling"
},
{
"value": "make_reserved",
"title": "Reserve"
},
{
"value": "make_unreserved",
"title": "Unreserve"
},
{
"value": "Unchanged",
"title": "Unchanged"
}
]
},
"add_days": {
"title": "Reservation/Cooling duration (days)",
"type": "string",
"format": "regex",
"pattern": "^([1-9][0-9]{0,2})$"
},
"reservation_notes": {
"title": "Reservation Notes",
"type": "string",
"default": ""
},
"numbers_filter_show_available": {
"title": "Show available numbers",
"type": "boolean",
"default": true
},
"numbers_filter_show_incooling": {
"title": "Show numbers in cooling",
"type": "boolean",
"default": true
},
"numbers_filter_show_reserved": {
"title": "Show reserved numbers",
"type": "boolean",
"default": false
},
"numbers_filter_hierarchy": {
"title": "Show numbers at/below hierarchy",
"type": "string"
},
"numbers_filter_contains": {
"title": "Show numbers that contain",
"type": "string"
},
"numbers_filter_expires_within": {
"title": "Show numbers expiring from cooling within the next (days)",
"type": "string",
"format": "regex",
"pattern": "^([1-9][0-9]{0,2})$"
},
"numbers": {
"title": "Select Number",
"type": "array",
"minItems": 1,
"required": true,
"items": {
"type": "string"
}
},
"guir_control": {
"title": "Control field for GUIR async behaviour",
"type": "string"
}
},
"schema_version": "2.3"
}