{
  "id": "vn.agritrace.gateway",
  "version": "1.0.0",
  "vendor": "reference",
  "category": "gateway",
  "description": "A gateway's own status heartbeat (#24): the gateway (registered as a gateway, never as a device) signs a `status` envelope about itself with its own key, its gateway id as `device.id` and `device.gateway`, on the route {tenant}/{site}/{gateway id}/status, every 30 s by default. Readings: the depth of its store-and-forward queue, its dead letters, its uplink state and which of the devices it serves are ready. Not a device profile: a device cannot be registered with it. The server keeps the newest heartbeat of each gateway (GET /v1/gateways/{id}/heartbeat).",
  "driver": "gateway",
  "connectivity": ["mqtt", "https"],
  "produces": [
    {"capability": "gateway.outbox_depth"},
    {"capability": "gateway.dead_letter_count"},
    {"capability": "gateway.link"},
    {"capability": "gateway.peripherals_ready"}
  ],
  "events": [],
  "requires": [],
  "mobility": "fixed",
  "attachments": [],
  "commands": {},
  "defaults": {"heartbeat_s": 30}
}
