---
# System prepended metadata

title: JSON Schema

---

# JSON Schema
## Controller to Robot
| Field     | Purpose                                 | Possible Values |
| --------- | --------------------------------------- | --------------- |
| direction | Control Robot's movement direction      | l, r, f, b, s   |
| video     | Switch video on or off                  | true, false     |
| heartbeat | Ping robot to demand a heartbeat signal | time in milliS  |
The s in direction is for stop

## Robot to Controller
| Field     | Purpose            | Possible Values |
| --------- | ------------------ | --------------- |
| heartbeat | Connectivity Check | time in milliS  |
The time difference between the request and response signals will give us some measure of the connection strength/input lag.