{
  "template_data":{
    "category":[
      {
        "name":"Expansion Module Keys",
        "subcategory":[
          {
            "name":"Expansion Module Keys",
            "item":[
              {
                "description":"Expansion Module (12-53)",
                "type":"loop",
                "loop_start":"12",
                "loop_end":"53",
                "data":{
                  "item":[
                    {
                      "variable":"$functionkey_label",
                      "default_value":"",
                      "description":"Function Key {$count} Label",
                      "type":"input"
                    },
                    {
                      "variable":"$functionkey_context",
                      "default_value":"active",
                      "description":"Function Key {$count} Context",
                      "type":"list",
                      "data":[
                        {
                          "text":"Active",
                          "value":"active"
                        },
                        {
                          "text":"1",
                          "value":"1"
                        },
                        {
                          "text":"2",
                          "value":"2"
                        },
                        {
                          "text":"3",
                          "value":"3"
                        },
                        {
                          "text":"4",
                          "value":"4"
                        },
                        {
                          "text":"5",
                          "value":"5"
                        },
                        {
                          "text":"6",
                          "value":"6"
                        },
                        {
                          "text":"7",
                          "value":"7"
                        },
                        {
                          "text":"8",
                          "value":"8"
                        },
                        {
                          "text":"9",
                          "value":"9"
                        },
                        {
                          "text":"10",
                          "value":"10"
                        },
                        {
                          "text":"11",
                          "value":"11"
                        },
                        {
                          "text":"12",
                          "value":"12"
                        }
                      ]
                    },
                    {
                      "variable":"$functionkey_type",
                      "default_value":"line",
                      "description":"Function Key {$count} Type",
                      "type":"list",
                      "data":[
                        {
                          "text":"Line",
                          "value":"line"
                        },
                        {
                          "text":"Extension\/Destination",
                          "value":"dest"
                        },
                        {
                          "text":"Intercom",
                          "value":"icom"
                        },
                        {
                          "text":"Park Orbit",
                          "value":"orbit"
                        },
                        {
                          "text":"Voice Recorder",
                          "value":"recorder"
                        },
                        {
                          "text":"DTMF",
                          "value":"dtmf"
                        },
                        {
                          "text":"Shared Line",
                          "value":"mult"
                        },
                        {
                          "text":"Push2Talk",
                          "value":"p2t"
                        },
                        {
                          "text":"Action URL",
                          "value":"URL"
                        },
                        {
                          "text":"Key Event",
                          "value":"keyevent"
                        },
                        {
                          "text":"Speed Dial",
                          "value":"speed"
                        },
                        {
                          "text":"Button",
                          "value":"button"
                        },
                        {
                          "text":"BLF",
                          "value":"blf"
                        },
                        {
                          "text":"IVR",
                          "value":"ivr"
                        },
                        {
                          "text":"Presence",
                          "value":"presence"
                        },
                        {
                          "text":"Transfer To",
                          "value":"transfer"
                        },
                        {
                          "text":"Forward To",
                          "value":"redirect"
                        },
                        {
                          "text":"Auto Answer",
                          "value":"autoanswer"
                        },
                        {
                          "text":"XML Definition\/Customizable via XML",
                          "value":"XML"
                        },
                        {
                          "text":"None",
                          "value":"none"
                        }
                      ]
                    },
                    {
                      "variable":"$functionkey_value",
                      "default_value":"",
                      "description":"Function Key {$count} Value",
                      "type":"input"
                    },
                    {
                      "type":"break"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}
