uid-requestedv0.0.1
A UID has been requested for the LPA
This event is internal to MRLPA
Context
A donor has started a new LPA application online.
Trigger
The donor confirms which type of LPA they want.
Details
MRLPA asynchronously gets a UID via the UID service and attaches it to the LPA. It then emits a application-updated event.
Consumer / Producer Diagram
Examples
1{
2 "lpaID": "bc3d93be-1766-4a90-81d3-01d92abc5aa3",
3 "donorSessionID": "dlVON3lWWjBjamNm",
4 "type": "hw",
5 "donor": {
6 "name": "Jack Rubik",
7 "dob": "1938-03-18",
8 "postcode": "N184EQ"
9 }
10}
11
uid-requested Schema (json)
{
"$id": "https://opg.service.justice.gov.uk/opg.poas.makeregister/uid-requested.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "opg.poas.makeregister/uid-requested",
"type": "object",
"properties": {
"lpaID": {
"type": "string",
"description": "The ID of the LPA",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"donorSessionID": {
"type": "string",
"description": "The ID for the donor session",
"pattern": "^[a-zA-Z0-9]+={0,2}$"
},
"type": {
"type": "string",
"description": "The type of LPA being created",
"enum": ["pfa", "hw", "personal-welfare", "property-and-affairs"]
},
"donor": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The donor's name"
},
"dob": {
"type": "string",
"description": "The donor's date of birth",
"format": "date"
},
"postcode": {
"type": "string",
"description": "The donor's postcode",
"pattern": "^[A-Z0-9 ]{1,9}$"
}
},
"required": ["name", "dob", "postcode"]
}
},
"required": ["lpaID", "donorSessionID", "type", "donor"]
}
Edit this pageLast updated on 2024/11/22