Plugin is a .zip format archive. The archive includes: - licenses folder, containing license files;
- icon folder, containing the files with pictograms used for registered events (optionally);
- manifest.json file, containing information on a plugin.
| Информация |
|---|
| Folders licenses and icon are optional. License files and files with pictograms can be located in the root folder. |
For external systems, receiving data from Traffic Monitor manifest.json file should contain age the following information:
"Preset" feature | No | If it is a part of the System. | Unique ID | Yes | Unique 128-bit plugin ID (UUID).| Content | Title | If it is mandatory | Description | Version | Yes | Plugin version | Developing company's ID | Yes | In accordance with company name, specified within the license | Name | Yes | Plugin name | Systems-data receivers | Yes | List of systems, receiving data from IWTM, registered within this Plugin. | Description | Yes | Plugin description. | Type of data | Optional | Description | { | | | | "PLUGIN_ID": "",
| String | Yes | Unique plugin identifier (UUID). Up to 40 characters. Example: "PLUGIN_ID": "189C38D390396EB6E0530100007F1CA200000001", | "DISPLAY_NAME": "", | String | Yes | Plugin name displayed. Example: "DISPLAY_NAME": "Plugin name", | "DESCRIPTION": "", | String | No | Plugin name displayed. Example: "DESCRIPTION": "Test plugin to demonstrate", | "VERSION": "", | String | Yes | Plugin version. Example "VERSION": "1.0.0", | "VENDOR": "", | String | Yes | Software company ID in accordance with the company name specified in the license. Example "VENDOR": "infowatch", | "LICENSE": [
{
"PATH":""
}
],
| Array
String | Yes | License files. The paths to license files hould be specified in accordance with archive root folder. Example:
"LICENSE": [
{
"PATH":"licenses/license file 1.license"
},
{
"PATH":"licenses/license file 2.license"
},
], | "PATTERN_SEARCH_LICENSE": "", | String | No | Template to search previously downloaded licenses to be binded to plugin. It has the following format: {operator:or|and,child[{name:value}]}". Example: "PATTERN_SEARCH_LICENSE": "{\"operator\":\"or\",\"conditions\":[{\"origin\":\"dm\"},{\"origin\":\"dmmobile\"}]}", | "DATA_RECEIVER": [
""
]
| Array String | Yes | List of identificators for systems receiving data from Traffic Monitor. Example: "DATA_RECEIVER": ["Events reciever1",
"Events reciever2"
]
| } | | | |
|