Template
Struct for Template information. ! TODO Introduce TemplateType, Union Struct.
| Name | Description | Type | 
|---|---|---|
| title | The title of the template file. | string | 
| title_resource | The resource key for the title of the template file. It will be available only for blank template file. | string | 
| file_template_id | The file ID of the template file. It will be available only for blank templates. | string | 
| obj_id | The template object ID. It will be available only for User defined templates. | ObjID | 
| class_id | The class of the object version. For blank templates it will be always 0, For user defined templates the class id of the object will be available. | number | 
| icon | The icon for the template file. Currently it is not carrying any data. It will be implemented in future. | Uint8Array | 
| restricted_to_classes | The array of restrict to class IDs. Currently it is not carrying any data. It will be implemented in future. | number[] | 
Example
{
  "title": "<!< The title of the template file.>",
  "title_resource": "<title_resource>",
  "file_template_id": "<file_template_id>",
  "obj_id": {
    "type": 0,
    "item_id": {
      "internal_id": 0,
      "external_repository_id": {
        "connection": "<!< The external repository connection identifier.>",
        "item": "<item>"
      }
    }
  },
  "class_id": 0,
  "icon": 0 /*Uint8Array*/,
  "restricted_to_classes": [] /* Array of number */
}