lpa-access-granted

Summary

Actor granted access in Use An LPA

Context

The LPA has been newly registered and the appropriate actors from MRLPA has been granted access in Use An LPA

Trigger

Once the LPA has been registered

Effect

The event will allow UaL to create a record in order to associate the newly registered LPA with accounts we hold

Examples

{
  "uid": "M-1234-5678-9012",
  "lpaType": "personal-welfare",
  "actors" : [
    {
      "actorUid": "9ac5cb7c-fc75-40c7-8e53-059f36dbbe3d",
      "subjectId": "urn:fdc:gov.uk:2022:XXXX-XXXXXX"
    },
    {
      "actorUid": "eda719db-8880-4dda-8c5d-bb9ea12c236f",
      "subjectId": "urn:fdc:gov.uk:2022:XXXX-XXXXXX"
    }
  ]
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.poas.use/lpa-access-granted.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.poas.use/lpa-access-granted",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "The UID of the LPA",
      "pattern": "^M(-[A-Z0-9]{4}){3}$"
    },
    "lpaType": {
      "type": "string",
      "description": "The type of LPA",
      "enum": ["personal-welfare", "property-and-affairs"]
    },
    "actors": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "actorUid",
          "subjectId"
        ],
        "properties": {
          "actorUid": {
            "type": "string",
            "format": "uuid"
          },
          "subjectId": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": ["uid", "lpaType", "actors"]
}

Event Flow

Producers

opg.poas.makeregister

Consumers

opg.poas.use

Owners

use