generated from ministryofjustice/hmpps-template-typescript
-
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.
MAN-21 - update sentence page to new design
- Loading branch information
1 parent
d9e1bfd
commit 4e66fe4
Showing
3 changed files
with
156 additions
and
11 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
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
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,141 @@ | ||
{ | ||
"mappings": [ | ||
{ | ||
"request": { | ||
"urlPattern": "/mas/sentence/X778160", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"jsonBody": { | ||
"personSummary": { | ||
"name": { | ||
"forename": "Berge", | ||
"surname": "Alton" | ||
}, | ||
"crn": "X778160", | ||
"dateOfBirth": "2012-03-13" | ||
}, | ||
"sentences": [ | ||
{ | ||
"offenceDetails": { | ||
"eventNumber": 1, | ||
"offence": { | ||
"description": "Burglary", | ||
"count": 3 | ||
}, | ||
"dateOfOffence": "2024-03-20", | ||
"notes": "overview", | ||
"additionalOffences": [ | ||
{ | ||
"description": "Assault", | ||
"count": 1 | ||
} | ||
] | ||
}, | ||
"conviction": { | ||
"sentencingCourt": "Hull Court", | ||
"responsibleCourt": "Birmingham Court", | ||
"convictionDate": "2024-03-20", | ||
"additionalSentences": [ | ||
{ | ||
"length": 3, | ||
"description": "Disqualified from Driving" | ||
} | ||
] | ||
}, | ||
"order": { | ||
"description": "Default Sentence Type", | ||
"length": 12, | ||
"endDate": "2025-03-19", | ||
"startDate": "2024-03-19" | ||
}, | ||
"requirements": [ | ||
{ | ||
"code": "F", | ||
"actualStartDate": "2024-04-12", | ||
"description": "12 days RAR, 1 completed", | ||
"length": 12, | ||
"notes": "my notes", | ||
"rar": { | ||
"completed": 1, | ||
"scheduled": 11, | ||
"totalDays": 12 | ||
} | ||
}, | ||
{ | ||
"code": "RM49", | ||
"expectedStartDate": "2024-01-07", | ||
"actualStartDate": "2024-01-12", | ||
"expectedEndDate": "2024-03-10", | ||
"actualEndDate": "2024-01-09", | ||
"terminationReason": "Expired (Normal)", | ||
"description": "Curfew (Electronic Monitored)", | ||
"length": "10", | ||
"lengthUnitValue": "Hours", | ||
"notes": "curfew notes" | ||
}, | ||
{ | ||
"code": "W", | ||
"actualStartDate": "2015-05-22", | ||
"description": "Unpaid Work - Regular", | ||
"length": 100, | ||
"lengthUnitValue": "Hours", | ||
"notes": "unpaid work notes" | ||
} | ||
], | ||
"courtDocuments": [ | ||
{ | ||
"id": "4d74f43c-5b42-4317-852e-56c7d29b610b", | ||
"lastSaved": "2024-04-03", | ||
"documentName": "Pre-sentence report" | ||
}, | ||
{ | ||
"id": "6037becb-0d0c-44e1-8727-193f22df0494", | ||
"lastSaved": "2024-04-01", | ||
"documentName": "CPS Pack" | ||
}, | ||
{ | ||
"id": "d072ed9a-999f-4333-a116-a871a845aeb3", | ||
"lastSaved": "", | ||
"documentName": "Previous convictions" | ||
} | ||
], | ||
"unpaidWorkProgress": "7 minutes completed (of 100 hours)" | ||
} | ||
], | ||
"probationHistory": { | ||
"numberOfTerminatedEvents": 2, | ||
"dateOfMostRecentTerminatedEvent": "2011-01-21", | ||
"numberOfTerminatedEventBreaches": 2, | ||
"numberOfProfessionalContacts": 3 | ||
} | ||
}, | ||
"headers": { | ||
"Content-Type": "application/json" | ||
} | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"urlPattern": "/mas/personal-details/X000001/document/4d74f43c-5b42-4317-852e-56c7d29b610b", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"bodyFileName": "document.pdf", | ||
"headers": { | ||
"content-type": "application/msword;charset=UTF-8", | ||
"content-length": "14812", | ||
"content-disposition": "attachment; filename=\"doc1\"; filename*=UTF-8''doc1", | ||
"accept-ranges": "bytes", | ||
"content-range": "bytes 0-14811/14812", | ||
"cache-control": "max-age=0, must-revalidate", | ||
"etag": "1699630109776", | ||
"last-modified": "Fri, 10 Nov 2023 15:28:29 GMT", | ||
"Custom-Alfresco-Header": "should be ignored" | ||
} | ||
} | ||
} | ||
] | ||
} |