Skip to content

Commit

Permalink
Merge pull request #9 from ministryofjustice/VEGA-2059-add-remex-outc…
Browse files Browse the repository at this point in the history
…ome-event

VEGA-2059 add reduced fee approved event
  • Loading branch information
GemTay authored Oct 20, 2023
2 parents 2ff3951 + da22873 commit d5908e5
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"uid": "M-1234-5678-9012",
"fee": 4100
}
25 changes: 25 additions & 0 deletions domains/POAS/events/reduced-fee-approved/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: reduced-fee-approved
version: 0.0.1
summary: |
An OPG user has approved an end users application to pay a reduced fee
producers:
- opg.poas.sirius
consumers:
- opg.poas.makeregister
owners:
- vega
- mrlpa
---

## Details

Caseworkers will review users request's to pay a reduced fee for their LPA. If users are found to be eligible, then a caseworker will apply a reduced fee to the case to 'approve' the request.

Sirius sends this event when a caseworker has applied a reduced fee to a case so that MRLPA can inform the user of the outcome, allowing them to pay the outstanding fee if there is one, and proceed with the next steps of their application.

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

<EventExamples />

<Schema />
18 changes: 18 additions & 0 deletions domains/POAS/events/reduced-fee-approved/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$id": "https://opg.service.justice.gov.uk/opg.poas.sirius/reduced-fee-approved.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "opg.poas.sirius/reduced-fee-approved",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "The UID of the LPA",
"pattern": "M(-[A-Z0-9]{4}){3}"
},
"fee": {
"type": "integer",
"description": "The expected total to be paid in pence as a result of the fee reduction"
}
},
"required": ["uid", "fee"]
}

0 comments on commit d5908e5

Please sign in to comment.