Skip to content

Commit

Permalink
Merge pull request #22 from ministryofjustice/MLPAB-1558-add-notifica…
Browse files Browse the repository at this point in the history
…tion-sent-event

MRLPAB-1558: Add notification-sent event
  • Loading branch information
acsauk authored Jan 25, 2024
2 parents 503b51b + bf581a0 commit 9621a56
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
4 changes: 4 additions & 0 deletions domains/POAS/events/notification-sent/examples/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"uid": "M-1234-5678-9012",
"notificationId": "740e5834-3a29-46b4-9a6f-16142fde533a"
}
22 changes: 22 additions & 0 deletions domains/POAS/events/notification-sent/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: notification-sent
version: 0.0.1
summary: |
A notification has been sent by MRLPA to an actor on a LPA
producers:
- opg.poas.makeregister
consumers:
- opg.poas.sirius
owners:
- mrlpa
---

## Details

MRLPA sends SMS and email notifications to LPA actors via GOV UK Notify. OPG caseworkers need to know when these notifications have been sent to support queries made to the contact centre and, in some cases, to trigger other actions within Sirius.

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

<EventExamples />

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

0 comments on commit 9621a56

Please sign in to comment.