Skip to content

Commit

Permalink
only send uid and notificationId
Browse files Browse the repository at this point in the history
  • Loading branch information
acsauk committed Jan 25, 2024
1 parent 414f148 commit bf581a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions domains/POAS/events/notification-sent/examples/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"uid": "M-1234-5678-9012",
"deliveryMethod": "Email",
"subject": "CertificateProviderInvite"
"notificationId": "740e5834-3a29-46b4-9a6f-16142fde533a"
}
12 changes: 4 additions & 8 deletions domains/POAS/events/notification-sent/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
"description": "The UID of the LPA",
"pattern": "M(-[A-Z0-9]{4}){3}"
},
"deliveryMethod": {
"notificationId": {
"type": "string",
"description": "How the notification was sent",
"enum": ["Email", "SMS"]
},
"subject": {
"type": "string",
"description": "What the notification was about"
"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", "deliveryMethod", "subject"]
"required": ["uid", "notificationId"]
}

0 comments on commit bf581a0

Please sign in to comment.