{
    "template_data":{
        "category":[
            {
                "name":"general",
                "subcategory":[
                    {
                        "name":"general",
                        "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":"$uselogo",
                                "default_value":"Resource:pictures (01).png",
                                "description":"Logo to Display",
                                "type":"list",
                                "data":[
                                    {
                                        "text":"Custom Logo",
                                        "value":"Config:IMG_3156.jpg"
                                    },
                                    {
                                        "text":"Internal Background 1",
                                        "value":"Resource:pictures (01).png"
                                    },
                                    {
                                        "text":"Internal Background 2",
                                        "value":"Resource:pictures (02).png"
                                    },
                                    {
                                        "text":"Internal Background 3",
                                        "value":"Resource:pictures (03).png"
                                    },
                                    {
                                        "text":"Internal Background 4",
                                        "value":"Resource:pictures (04).png"
                                    },
                                    {
                                        "text":"Internal Background 5",
                                        "value":"Resource:pictures (05).png"
                                    },
                                    {
                                        "text":"Internal Background 5",
                                        "value":"Resource:pictures (06).png"
                                    },
                                    {
                                        "text":"Internal Background 7",
                                        "value":"Resource:pictures (07).png"
                                    },
                                    {
                                        "text":"Internal Background 8",
                                        "value":"Resource:pictures (08).png"
                                    },
                                    {
                                        "text":"Internal Background 9",
                                        "value":"Resource:pictures (09).png"
                                    },
                                    {
                                        "text":"Internal Background 10",
                                        "value":"Resource:pictures (10).png"
                                    }
                                ]
                            },
                            {
                                "type":"break"
                            },
                            {
                                "variable":"$firmware_name",
                                "default_value":"",
                                "description":"Firmware URL",
                                "type":"input"
                            },
                            {
                                "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"
                            },
                            {
                                "variable":"$screensaverdelay",
                                "description":"Screen Saver Delay",
                                "default_value":"off",
                                "type":"list",
                                "data":[
                                    {
                                        "text":"No screensaver",
                                        "value":"off"
                                    },
                                    {
                                        "text":"1 minute",
                                        "value":"60"
                                    },
                                    {
                                        "text":"2 minutes",
                                        "value":"120"
                                    },
                                    {
                                        "text":"5 minutes",
                                        "value":"300"
                                    },
                                    {
                                        "text":"10 minutes",
                                        "value":"600"
                                    },
                                    {
                                        "text":"30 minutes",
                                        "value":"1800"
                                    }
                                ]
                            },
                            {
                                "type":"break"
                            },
                            {
                                "variable":"$missed_call_log",
                                "description":"Missed Call Log",
                                "default_value":"0",
                                "type":"list",
                                "data":[
                                    {
                                        "text":"Disable",
                                        "value":"0"
                                    },
                                    {
                                        "text":"Enable",
                                        "value":"1"
                                    }
                                ]
                            },
                            {
                                "type":"break"
                            },
                            {
                                "variable":"$theme",
                                "description":"Theme",
                                "default_value":"0",
                                "type":"list",
                                "data":[
                                    {
                                        "text":"Blue",
                                        "value":"0"
                                    },
                                    {
                                        "text":"Green",
                                        "value":"1"
                                    },
                                    {
                                        "text":"Purple",
                                        "value":"2"
                                    },
                                    {
                                        "text":"Black",
                                        "value":"3"
                                    }
                                ]
                            },
                            {
                                "type":"break"
                            },
                            {
                                "description":"Remote Phone Books (0-4)",
                                "type":"loop",
                                "loop_start":"0",
                                "loop_end":"4",
                                "data":{
                                    "item":[
                                        {
                                            "variable":"$remotephonebook_name",
                                            "default_value":"",
                                            "description":"Remote Phone Book {$count} Name",
                                            "type":"input"
                                        },
                                        {
                                            "variable":"$remotephonebook_url",
                                            "default_value":"",
                                            "description":"Remote Phone Book {$count} URL",
                                            "type":"input"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ]
            }
        ]
    }
}