{
  "specversion": "1.0",
  "id": "0000000d-0000-4000-8000-000000000000",
  "source": "/heart/com.acme.pump-station/unit-7",
  "type": "heart.rule",
  "time": "2026-11-07T20:00:00Z",
  "datacontenttype": "application/json",
  "dataschema": "https://heartcortex.ai/schemas/1.0/rule.schema.json",
  "heartversion": "1.0",
  "heartprivacy": "internal",
  "data": {
    "id": "restart-modbus",
    "enabled": true,
    "origin": "owner",
    "status": "adopted",
    "description": "Restart the Modbus link after three timeouts",
    "when": {
      "event": "component.failed",
      "component": "modbus",
      "count": 3,
      "windowSec": 600
    },
    "then": {
      "capability": "com.acme.pump.restart_modbus",
      "arguments": {},
      "raise": {
        "code": "connectivity.link-lost",
        "severity": "warning",
        "summary": "The Modbus link failed three times"
      }
    },
    "adoptedAt": "2026-11-07T19:55:00Z",
    "adoptedPhysical": false
  }
}
