{
  "template_data":{
    "category":[
      {
        "name":"keys",
        "subcategory":[
          {
            "name":"basic",
            "item":[
              {
                "description":"Line Keys (1-6)”,
                "type":"loop",
                "loop_start":"1",
                "loop_end”:”6”,
                "data":{
                  "item":[
                    {
                      "variable":"$linekey_type",
                      "default_value":"15",
                      "description":"Line Key {$count} Type",
                      "type":"list",
                      "data":[
                        {
                          "text":"Speed Dial",
                          "value":"13"
                        },
                        {
                          "text":"Key Event",
                          "value":"50"
                        },
                        {
                          "text":"Intercom",
                          "value":"14"
                        },
                        {
                          "text":"XML Browser",
                          "value":"60"
                        },
                        {
                          "text":"BLF",
                          "value":"16"
                        },
                        {
                          "text":"Line",
                          "value":"15"
                        },
                        {
                          "text":"URL",
                          "value":"17"
			},	
			{
                          "text":"Hotdesking",
                          "value":"34"
                        },
                        {
                          "text":"Paging",
                          "value":"24"
                        },
                        {
                          "text":"Call Park",
                          "value":"10"
                        }
                      ]
                    },
                    {
                      "variable":"$linekey_mode",
                      "default_value":"1",
                      "description":"Line Key {$count} Event Mode",
                      "type":"list",
                      "data":[
                        {
                          "text":"BLF",
                          "value":"blf"
                        },
                        {
                          "text":"BLA",
                          "value":"bla"
                        }
                      ]
                    },
                    {
                      "variable":"$linekey_line",
                      "default_value":"",
                      "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_extension",
                      "default_value":"",
                      "description":"Line Key {$count} Extension",
                      "type":"input"
                    },
                    {
                      "variable":"$linekey_pickup",
                      "default_value":"{$pickup_value}",
                      "description":"Side Key {$count} Pickup Value",
                      "type":"input"
                    },
		    {
		      "variable":"$linekey_label",
		      "default_value":"",
		      "description":"Line Key {$count} Label",
		      "type":"input"
		    },
                    {
                      "type":"break"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}
