activation-key-requested

Summary

A letter containing a Use an LPA activation key is requested to be sent

Context

Use an LPA users can request an activation key be sent, so they can start using
the service. This is sent by letter from Sirius.

Trigger

A user of Use an LPA goes through the journey to request an activation key.

Details

Send the activation key letter to the actor given.

Examples

{
  "uid": "700000000526",
  "actor": "700000001805"
}
{
  "uid": "M-1234-5678-9012",
  "actor": "8402681d-ec7d-40da-9a5a-76e0b09cb710"
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.poas.use/activation-key-requested.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.poas.use/activation-key-requested",
  "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 to send the letter to",
      "pattern": "^(7[0-9]{11}|([a-z0-9]{8}-)([a-z0-9]{4}-){3}([a-z0-9]{12}))$"
    }
  },
  "required": ["uid", "actor"]
}

Event Flow