# onVehicleProfileAlert

Notification (Navigation and application).

Notification when a vehicle profile alert is triggered

Fires when the road ahead cannot take the vehicle as configured (too low, too narrow, too heavy,
or barred to its dangerous-goods class) reporting which restriction it is and how far ahead.

The driver is warned by BeNav regardless; this notification lets the client application know as
well, so a near-miss can be recorded, a pattern of them reviewed, or an operator alerted that a
vehicle is repeatedly meeting restrictions it should not be near.

## Configuration

```json
{
  "name":"onVehicleProfileAlert",
  "params": {
    "enabled": true
  }
}
```

## Notification Data

```json
{
  "jsonrpc": "2.0",
  "method": "onVehicleProfileAlert",
  "params": {
    "restrictions": [
      { "height": "4.8", "distance": "300" }
    ]
  }
}
```
