{
    "template_data":{
        "category":[
        {
            "name":"general",
            "subcategory":[
            {
                "name":"Internet Port (WAN)",
                "item":[
                {
                    "variable":"$contact_list_address",
                    "default_value":"",
                    "description":"Contact List URL",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$ringtone_url",
                    "default_value":"",
                    "description":"Ringtone URL",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$logo_url",
                    "default_value":"",
                    "description":"Logo URL",
                    "type":"input"
                },
                {
                    "variable":"$lcdlogo",
                    "default_value":"1",
                    "description":"Logo to Display",
                    "type":"list",
                    "data":[
                    {
                        "text":"None",
                        "value":"0"
                    },
                    {
                        "text":"Default Logo",
                        "value":"1"
                    },
                    {
                        "text":"Custom Logo",
                        "value":"2"
                    }
                    ]
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$rfc2543_hold",
                    "default_value":"0",
                    "description":"Enable RFC2543 Hold",
                    "type":"list",
                    "data":[
                    {
                        "text":"Disabled",
                        "value":"0"
                    },
                    {
                        "text":"Enabled",
                        "value":"1"
                    }
                    ]
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$firmware_server",
                    "default_value":"{$server.ip.1}",
                    "description":"Firmware Server IP",
                    "type":"input"
                },
                {
                    "variable":"$firmware_name",
                    "default_value":"",
                    "description":"Firmware File Name",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$update_mode",
                    "default_value":"7",
                    "description":"Config Update Mode",
                    "type":"list",
                    "data":[
                    {
                        "text":"Disabled",
                        "value":"0",
                        "disable":"$update_frequency"
                    },
                    {
                        "text":"Power on",
                        "value":"1",
                        "disable":"$update_frequency"
                    },
                    {
                        "text":"Repeatedly",
                        "value":"4",
                        "enable":"$update_frequency"
                    },
                    {
                        "text":"Weekly",
                        "value":"5",
                        "disable":"$update_frequency"
                    },
                    {
                        "text":"Power on + Repeatedly",
                        "value":"6",
                        "enable":"$update_frequency"
                    },
                    {
                        "text":"Power on + Weekly",
                        "value":"7",
                        "disable":"$update_frequency"
                    }
                    ]
                },
                {
                    "variable":"$update_frequency",
                    "description":"Update Frequency (mins)",
                    "default_value":"1440",
                    "type":"input",
                    "max_len":"5"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$call_pickup",
                    "default_value":"**",
                    "description":"Call Pickup Value (For BLF)",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$adminpw",
                    "default_value":"",
                    "description":"Web administration password",
                    "type":"input"
                },
                {
                    "variable":"$tones_country",
                    "default_value":"United States",
                    "description":"Tones Country",
                    "type":"input"
                }
                ]
            }
            ]
        }
        ]
    }
}
