{
  "id": "vn.agritrace.scale-serial",
  "version": "1.2.0",
  "vendor": "generic",
  "category": "weighing",
  "description": "Generic platform or bench scale on a serial line (RS232 or USB serial). Reports the stable net mass of one fruit or crate at an inspection point.",
  "driver": "scale-serial",
  "connectivity": ["rs232", "usb-serial"],
  "produces": [
    {"capability": "mass.net"}
  ],
  "events": ["inspect"],
  "requires": [],
  "mobility": "fixed",
  "attachments": [],
  "commands": {
    "set_session": {
      "params": {"lot": "string", "fruit": "string", "operator": "string", "line": "string", "round": "string"},
      "required": ["lot"]
    }
  }
}
