GET http://[host-proxy]/api/view/ToolMacro/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"context_hierarchy": {
"title": "Context Hierarchy",
"required": false,
"choices": [
{
"value": "",
"title": ""
}
],
"readonly": false,
"type": "string"
},
"input": {
"readonly": false,
"required": false,
"type": "string",
"title": "Macro"
},
"output": {
"readonly": false,
"required": false,
"type": "string",
"title": "Output"
},
"context": {
"type": "string",
"description": "Json formatted context data. ",
"title": "Context Data"
},
"show_context": {
"default": "True",
"type": "boolean",
"title": "Show Context"
}
},
"schema_version": "0.1.0"
}