To register custom event, use the command unit/registry_custom_event:
svc=unit/registry_custom_event¶ms={"date":<uint>, "x":<double>, "y":<double>, "description":<text>, "violation":<uint>, "itemId":<long>, "nt":<text>}
| Name | Description | 
|---|---|
| date | date | 
| x | longitude | 
| y | latitude | 
| description | description | 
| violation | violation: 0 - common event, 1 - violation | 
| itemId | unit ID | 
| nt | notification text | 
{} /* empty object if execution successful, if not - error code */