-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from ministryofjustice/MLPAB-1558-add-notifica…
…tion-sent-event MRLPAB-1558: Add notification-sent event
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |