Permissions set on a type or instance
| name | data type | constraints | description | 
|---|---|---|---|
| type | string | Type | |
| id | number | Optional instance ID | |
| channelId | number | Optional channel ID for folders | |
| label | string | Label of the type/instance | |
| description | string | Description | |
| perms | array of TypePermissionItem | List of permissions available for the type | |
| roles | array of RoleItem | List of available roles | |
| children | boolean | required boolean | True if the type/instance has children | 
| editable | boolean | required boolean | True if the permissions can be changed by the current user | 
Example
{
  "type" : "...",
  "id" : 12345,
  "channelId" : 12345,
  "label" : "...",
  "description" : "...",
  "perms" : [ {
    "type" : "createuser",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  }, {
    "type" : "readschedules",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  } ],
  "roles" : [ {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true,
    "editable" : true
  }, {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true,
    "editable" : true
  } ],
  "children" : true,
  "editable" : true
}