{
  "template_data":{
    "category":[
      {
        "name":"Line Options",
        "subcategory":[
          {
            "name":"Line Options",
            "item":[
              {
                "description":"Line Keys",
                "type":"loop",
                "loop_start":"1",
                "loop_end":"3",
                "data":{
                  "item":[
                    {
                      "variable":"$lineops_keytype",
                      "default_value":"line",
                      "description":"Line Key {$count} Type",
                      "type":"list",
                      "data":[
                        {
                          "text":"Disabled",
                          "value":"disabled"
                        },
                        {
                          "text":"Duplicate",
                          "value":"clone"
                        },
                        {
                          "text":"Line",
                          "value":"line"
                        },
                        {
                          "text":"BLF",
                          "value":"blf"
                        },
                        {
                          "text":"XML",
                          "value":"xml"
                        },
                        {
                          "text":"Speed Dial",
                          "value":"sd"
                        }
                      ]
                    },
                    {
                      "variable":"$lineops_displaynameline",
                      "default_value":"{$displayname.line.{$count}}",
                      "description":"Line Key {$count} Description",
                      "type":"input"
                    },
                    {
                      "variable":"$lineops_blfext",
                      "default_value":"",
                      "description":"BLF {$count} Extension",
                      "type":"input"
                    },
                    {
                      "variable":"$lineops_clonedline",
                      "default_value":"1",
                      "description":"Duplicate Extension for Line {$count}",
                      "type":"list",
                      "data":[
                        {
                          "text":"1",
                          "value":"1"
                        },
                        {
                          "text":"2",
                          "value":"2"
                        },
                        {
                          "text":"3",
                          "value":"3"
                        }
                      ]
                    },
                    {
                      "type":"break"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}