---
title: "Event catalogue | Docs | Self-Checkout by R&D Copilot"
description: "The five events the system sends, when each one is sent and what its data carries."
canonical: "https://checkout.rdcopilot.com/docs/events/event-catalogue/"
language: en
updated: 2026-11-22
---

# Event catalogue

The five events the system sends, when each one is sent and what its `data` carries.

Every event is sent in the envelope described in [Event envelope](https://checkout.rdcopilot.com/docs/events/event-envelope/). The `type` names the event; `aggregateId` and `aggregateRevision` name the record and the revision it had when the event happened. The first attempt to deliver is made at once.

| Type | Record | Sent when |
| --- | --- | --- |
| `com.rdcopilot.selfcheckout.basket.completed.v1` | `basket` | The payment of a basket was approved. |
| `com.rdcopilot.selfcheckout.intervention.raised.v1` | `intervention` | A lane stopped and asks for a person. |
| `com.rdcopilot.selfcheckout.intervention.resolved.v1` | `intervention` | An intervention was approved, refused or voided. |
| `com.rdcopilot.selfcheckout.device.faulted.v1` | `device` | A device reported a fault it did not have before. |
| `com.rdcopilot.selfcheckout.rollout.completed.v1` | `rollout` | The last ring of a rollout received the configuration. |

## Basket completed

Carries the receipt number, the total and the VAT. Use it to print, to post to your accounts or to release the lane.

JSON

```json
{
  "specversion": "1.0",
  "id": "160fafb3-c9e8-48e7-89cf-fc8c1c5f89cd",
  "type": "com.rdcopilot.selfcheckout.basket.completed.v1",
  "source": "/selfcheckout/v1",
  "time": "2026-11-23T07:07:15Z",
  "customerOrgId": "0bcc088a-2bc8-4fa4-9ff9-85b990d9f8a9",
  "legalCompanyId": "77453003-5e7c-439c-b9d8-07386b8a18ec",
  "aggregateType": "basket",
  "aggregateId": "b6402596-2e53-4abd-bdc0-df8cdb8dba98",
  "aggregateRevision": 1,
  "correlationId": "66ca815d-31be-4304-b58e-8b1164afe2e0",
  "causationId": "25f0cd3c-0878-4f93-a838-8387888b3467",
  "actor": {
    "serviceId": "lane"
  },
  "data": {
    "basketId": "b6402596-2e53-4abd-bdc0-df8cdb8dba98",
    "receipt": "Bon 1042",
    "total": "67.23",
    "vat": "7.85",
    "currency": "RON"
  }
}
```

## Intervention raised

Carries the lane, the basket, the reason and, for a weight that differs, the expected and the measured weight. Use it to put the request on the attendant’s screen.

JSON

```json
{
  "specversion": "1.0",
  "id": "c2d05260-08ff-406e-9875-3bce61a3657c",
  "type": "com.rdcopilot.selfcheckout.intervention.raised.v1",
  "source": "/selfcheckout/v1",
  "time": "2026-11-23T07:10:15Z",
  "customerOrgId": "0bcc088a-2bc8-4fa4-9ff9-85b990d9f8a9",
  "legalCompanyId": "77453003-5e7c-439c-b9d8-07386b8a18ec",
  "aggregateType": "intervention",
  "aggregateId": "a4b81f78-a572-439e-86af-ca4a0637ed9e",
  "aggregateRevision": 1,
  "correlationId": "9b1f24fe-8614-400e-8ecd-daac753e3d1d",
  "causationId": "7b0096e4-75e8-41de-b74f-337e356171a9",
  "actor": {
    "serviceId": "lane"
  },
  "data": {
    "laneId": "b52ad788-5852-40fe-aa11-ed923e9fe3f3",
    "basketId": "e65dfec1-bfa1-46db-9978-a72896b6f0b2",
    "reason": "weight_differs",
    "expectedGrams": 930,
    "measuredGrams": 1120
  }
}
```

## Intervention resolved

Carries the outcome and `decidedBy`. For an age check it is the record of who approved.

JSON

```json
{
  "specversion": "1.0",
  "id": "77906bc8-7a4c-4c15-bf91-7945bf6ef74b",
  "type": "com.rdcopilot.selfcheckout.intervention.resolved.v1",
  "source": "/selfcheckout/v1",
  "time": "2026-11-23T06:21:02Z",
  "customerOrgId": "0bcc088a-2bc8-4fa4-9ff9-85b990d9f8a9",
  "legalCompanyId": "77453003-5e7c-439c-b9d8-07386b8a18ec",
  "aggregateType": "intervention",
  "aggregateId": "fe5178d1-c332-45f2-93ed-39a340998de8",
  "aggregateRevision": 2,
  "correlationId": "5ff58811-04ef-4bd7-a1c6-082634aca9a5",
  "causationId": "56fda5ea-89fc-46ee-934d-b6a927d0212e",
  "actor": {
    "userId": "cristina-lungu"
  },
  "data": {
    "laneId": "93745be9-35d3-4b71-a2a6-dfcafee63996",
    "reason": "age_check",
    "status": "approved",
    "decidedBy": "cristina-lungu"
  }
}
```

## Device faulted

Carries the lane, the kind of device and the fault. The lane is already out of service when the event is sent.

JSON

```json
{
  "specversion": "1.0",
  "id": "d4535a90-87ec-418f-bd9a-bd9219c30a16",
  "type": "com.rdcopilot.selfcheckout.device.faulted.v1",
  "source": "/selfcheckout/v1",
  "time": "2026-11-23T07:03:10Z",
  "customerOrgId": "0bcc088a-2bc8-4fa4-9ff9-85b990d9f8a9",
  "legalCompanyId": "77453003-5e7c-439c-b9d8-07386b8a18ec",
  "aggregateType": "device",
  "aggregateId": "672442ce-99e1-408f-8056-ea7ae55718e7",
  "aggregateRevision": 1,
  "correlationId": "4d962956-e342-43ea-bb92-2ca29501f6c4",
  "causationId": "6b573259-9c0b-4c43-bfdf-3002f8c6f28f",
  "actor": {
    "serviceId": "device"
  },
  "data": {
    "laneId": "4c6a20f7-ddb2-473f-8e09-e73b9799e9c6",
    "kind": "printer",
    "fault": "paper_out"
  }
}
```

## Rollout completed

Carries the store and the configuration. Every lane of the store runs it from now on.

JSON

```json
{
  "specversion": "1.0",
  "id": "15cad869-f877-431f-9f96-e0e700eb68f9",
  "type": "com.rdcopilot.selfcheckout.rollout.completed.v1",
  "source": "/selfcheckout/v1",
  "time": "2026-11-22T16:20:00Z",
  "customerOrgId": "0bcc088a-2bc8-4fa4-9ff9-85b990d9f8a9",
  "legalCompanyId": "77453003-5e7c-439c-b9d8-07386b8a18ec",
  "aggregateType": "rollout",
  "aggregateId": "d315256b-df5d-4b15-b9d0-2948b7cebcaa",
  "aggregateRevision": 4,
  "correlationId": "e87cd6d9-45dc-433f-8fbc-a21ee64b8af0",
  "causationId": "db5a2466-d618-4516-bc1d-9dbec0c963db",
  "actor": {
    "serviceId": "selfcheckout"
  },
  "data": {
    "storeId": "5c15af2a-ec60-41c3-b91c-db5b305b4fd1",
    "config": "2026.11.1",
    "status": "completed"
  }
}
```

An event is a notice, not the record. When the order of events matters, read the record and compare its `revision` with `aggregateRevision`.
