{
    "template_data":{
        "category":[
        {
            "name":"keys",
            "subcategory":[
            {
                "name":"basic",
                "item":[
                {
                    "description":"Line Keys (1-4)",
                    "type":"loop",
                    "loop_start":"1",
                    "loop_end":"4",
                    "data":{
                        "item":[
                        {
                            "variable":"$linekey_type",
                            "default_value":"15",
                            "description":"Line Key {$count} Type",
                            "type":"list",
                            "data":[
                            {
                                "text":"Conference",
                                "value":"1"
                            },
                            {
                                "text":"Forward",
                                "value":"2"
                            },
                            {
                                "text":"Transfer",
                                "value":"3"
                            },
                            {
                                "text":"Hold",
                                "value":"4"
                            },
                            {
                                "text":"Do Not Disturb",
                                "value":"5"
                            },
                            {
                                "text":"Redial",
                                "value":"6"
                            },
                            {
                                "text":"Call Return",
                                "value":"7"
                            },
                            {
                                "text":"SMS",
                                "value":"8"
                            },
                            {
                                "text":"Call Pickup",
                                "value":"9"
                            },
                            {
                                "text":"Call Park",
                                "value":"10"
                            },
                            {
                                "text":"DTMF",
                                "value":"11"
                            },
                            {
                                "text":"Voicemail",
                                "value":"12"
                            },
                            {
                                "text":"Speed Dial",
                                "value":"13"
                            },
                            {
                                "text":"Intercom",
                                "value":"14"
                            },
                            {
                                "text":"Line",
                                "value":"15"
                            },
                            {
                                "text":"BLF",
                                "value":"16"
                            },
                            {
                                "text":"URL",
                                "value":"17"
                            },
                            {
                                "text":"Group Listing",
                                "value":"18"
                            },
                            {
                                "text":"Public Hold",
                                "value":"19"
                            },
                            {
                                "text":"Private Hold",
                                "value":"20"
                            },
                            {
                                "text":"Shared Line",
                                "value":"21"
                            },
                            {
                                "text":"XML Phonebook",
                                "value":"22"
                            },
                            {
                                "text":"Paging",
                                "value":"24"
                            },
			    {
				"text":"Hot Desking",
				"value":"34"
			    }
                            ]
                        },
                        {
                            "variable":"$linekey_line",
                            "default_value":"0",
                            "description":"Line Key {$count} Line",
                            "type":"list",
                            "data":[
                            {
                                "text":"Auto",
                                "value":"0"
                            },
                            {
                                "text":"Line 1",
                                "value":"1"
                            },
                            {
                                "text":"Line 2",
                                "value":"2"
                            },
                            {
                                "text":"Line 3",
                                "value":"3"
                            },
                            {
                                "text":"Line 4",
                                "value":"4"
                            },
                            {
                                "text":"Line 5",
                                "value":"5"
                            },
                            {
                                "text":"Line 6",
                                "value":"6"
                            }
                            ]
                        },
                        {
                            "variable":"$linekey_label",
                            "default_value":"",
                            "description":"Line Key {$count} Label",
                            "type":"input"
                        },
                        {
                            "variable":"$linekey_value",
                            "default_value":"",
                            "description":"Line Key {$count} Value",
                            "type":"input"
                        },
                        {
                            "variable":"$memkey_btype",
                            "default_value":"blf",
                            "description":"Line Key {$count} DSS Type",
                            "type":"list",
                            "data":[
                            {
                                "text":"BLF",
                                "value":"blf"
                            },
                            {
                                "text":"BLA",
                                "value":"bla"
                            }
                            ]
                        },
                        {
                            "type":"break"
                        }
                        ]
                    }
                }
                ]
            }
            ]
        }
        ]
    }
}
