GET http://[host-proxy]/api/view/SCCP_Analog_Gateway_Upgrade/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"gateway": {
"title": "Analog Gateway Domain Name",
"description": "Choice of analog gateway",
"type": "string",
"required": true
},
"vMac": {
"title": "Reuse Virtual Domain Name",
"description": "Cater for use of virtual mac address",
"type": "boolean",
"required": true,
"default": "false"
},
"gateway_type": {
"title": "Gateway Type (Informational)",
"description": "Gateway Type (Informational)",
"type": "string"
},
"new_gateway_model": {
"title": "Model of New Gateway",
"description": "Model of new gateway",
"type": "string",
"required": true,
"default": "VG310"
},
"new_gateway_domain_name": {
"title": "Gateway Domain Name",
"description": "Gateway Domain Name",
"type": "string",
"required": true
},
"networkInterface": {
"title": "Gateway Network Interface",
"type": "string",
"required": true,
"choices": [
{
"value": "FastEthernet0/0",
"title": "FastEthernet0/0"
},
{
"value": "FastEthernet0/1",
"title": "FastEthernet0/1"
},
{
"value": "GigabitEthernet0/0",
"title": "GigabitEthernet0/0"
},
{
"value": "GigabitEthernet0/1",
"title": "GigabitEthernet0/1"
},
{
"value": "GigabitEthernet0/2",
"title": "GigabitEthernet0/2"
}
]
},
"modules_array": {
"title": "Modules",
"description": "Gateway Card Slotting",
"type": "array",
"required": true,
"items": {
"type": "object",
"properties": {
"index": {
"title": "index",
"type": "integer",
"required": true
},
"product": {
"title": "Module",
"type": "string",
"required": true
},
"subunit_array": {
"title": "Subunits",
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"title": "Subunit Position",
"type": "integer",
"required": true
},
"product": {
"title": "Subunit",
"type": "string",
"required": true
}
}
}
}
}
}
}
}
}