activation-key-used

Summary

A Use an LPA user has used an activation key

Context

To add an LPA to their Use an LPA account a customer is sent an activation
key. For caseworkers it is helpful to see when an activation key has been used
in Sirius.

Trigger

A user of Use an LPA adds an LPA to their account by using an activation key.

Details

Add an event in Sirius showing the activation key has been used.

Examples

{
  "uid": "700000000526",
  "actor": "700000001805",
  "usedAt": "2026-07-13T14:41:12Z"
}
{
  "uid": "M-1234-5678-9012",
  "actor": "8402681d-ec7d-40da-9a5a-76e0b09cb710",
  "usedAt": "2026-07-13T14:41:12Z"
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.poas.use/activation-key-used.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.poas.use/activation-key-used",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "The UID of the LPA",
      "pattern": "^(7[0-9]{11}|M(-[0-9]{4}){3})$"
    },
    "actor": {
      "type": "string",
      "description": "The actor that used the activation key",
      "pattern": "^(7[0-9]{11}|([a-z0-9]{8}-)([a-z0-9]{4}-){3}([a-z0-9]{12}))$"
    },
    "usedAt": {
      "type": "string",
      "description": "When the activation key was used",
      "format": "date-time"
    }
  },
  "required": ["uid", "actor", "usedAt"]
}

Event Flow