Skip to content

Commit

Permalink
MLPAB-1554 Add new donor-submission-completed event (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx authored Mar 20, 2024
1 parent 30413f4 commit b993b35
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"uid": "M-1234-5678-9012"
}
23 changes: 23 additions & 0 deletions domains/POAS/events/donor-submission-completed/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: donor-submission-completed
version: 0.0.1
summary: |
Announces that the donor has completed their LPA submission
producers:
- opg.poas.sirius
consumers:
- opg.poas.makeregister
owners:
- vega
- mrlpa
---

## Details

When a donor has completed their LPA, it is valid, and they have paid for it, this event is triggered and causes the certificate provider to be notified that they can start their actions.

<NodeGraph title="Consumer / Producer Diagram" />

<EventExamples />

<Schema />
14 changes: 14 additions & 0 deletions domains/POAS/events/donor-submission-completed/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$id": "https://opg.service.justice.gov.uk/opg.poas.sirius/donor-submission-completed.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "opg.poas.sirius/donor-submission-completed",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "The UID of the LPA",
"pattern": "M(-[A-Z0-9]{4}){3}"
}
},
"required": ["uid"]
}

0 comments on commit b993b35

Please sign in to comment.