By using the JSON script, you can add template without following the all UI steps. Below are the sample JSON for quickly adding the template. Read more.
{ "code": "CODE", "name": "NAME", "tag": "TAG(to enable GatewaySupport) | NULL", "attributes": [ { "name": "attr", "type": "number | string", "tag": "TAG(if GatewaySupport enabled) | NULL" }, { "name": "parent", "type": "object", "tag": "TAG(if GatewaySupport enabled) | NULL", "childs": [ { "name": "childattr", "type": "number | string" } ] } ] }