application-updated
Summary
The draft LPA application’s details have changed
Context
The donor is drafting their LPA online.
Trigger
When a donor creates an application in MRLPA, or later updates their personal details in MRLPA.
Effect
Sirius uses the event to keep a copy of the donor’s personal details as a Draft LPA. OPG staff can then search for the case in Sirius to provide support during the application process.
Examples
{
"uid": "M-1234-5678-9012",
"createdAt": "2023-08-02T08:56:09.655503014Z",
"type": "hw",
"donor": {
"firstNames": "Jack",
"lastName": "Rubik",
"dob": "1938-03-18",
"address": {
"line1": "Flat 312",
"line2": "1 Scotland Street",
"line3": "Old Town",
"town": "Edinburgh",
"postcode": "N184EQ",
"country": "GB"
}
}
}
Schema
{
"$id": "https://opg.service.justice.gov.uk/opg.poas.makeregister/application-updated.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "opg.poas.makeregister/application-updated",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "The UID of the LPA",
"pattern": "^M(-[A-Z0-9]{4}){3}$"
},
"type": {
"type": "string",
"description": "The type of LPA being applied for",
"enum": ["hw", "pfa", "personal-welfare", "property-and-affairs"]
},
"createdAt": {
"type": "string",
"description": "When the LPA was created",
"format": "date-time"
},
"donor": {
"type": "object",
"properties": {
"firstNames": {
"type": "string",
"description": "The first name(s) of the donor, including any middle names"
},
"lastName": {
"type": "string",
"description": "The last name of the donor"
},
"dob": {
"type": "string",
"description": "The date of birth of the donor",
"format": "date"
},
"address": {
"type": "object",
"description": "The donor's address",
"properties": {
"line1": {
"type": "string"
},
"line2": {
"type": "string"
},
"line3": {
"type": "string"
},
"town": {
"type": "string"
},
"postcode": {
"type": "string",
"pattern": "^[A-Z0-9 ]{1,9}$"
},
"country": {
"type": "string",
"description": "2-digit ISO 3166-1 country code per FCDO definitions: https://www.gov.uk/government/publications/geographical-names-and-information",
"pattern": "^[A-Z]{2}$"
}
},
"required": ["line1", "town", "country"]
}
},
"required": ["firstNames", "lastName", "dob", "address"]
}
},
"required": ["uid", "type", "createdAt", "donor"]
}