application-updatedv0.0.1
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.
Consumer / Producer Diagram
Examples
1{
2 "uid": "M-1234-5678-9012",
3 "createdAt": "2023-08-02T08:56:09.655503014Z",
4 "type": "hw",
5 "donor": {
6 "firstNames": "Jack",
7 "lastName": "Rubik",
8 "dob": "1938-03-18",
9 "address": {
10 "line1": "Flat 312",
11 "line2": "1 Scotland Street",
12 "line3": "Old Town",
13 "town": "Edinburgh",
14 "postcode": "N184EQ",
15 "country": "GB"
16 }
17 }
18}
19
application-updated Schema (json)
{
"$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"]
}
Edit this pageLast updated on 2024/11/22