diff --git a/spec/wiremock/prison-api/__files/body-alert-types-CU48p.json b/spec/wiremock/prison-api/__files/body-alert-types-CU48p.json new file mode 100644 index 000000000..9b30788a5 --- /dev/null +++ b/spec/wiremock/prison-api/__files/body-alert-types-CU48p.json @@ -0,0 +1 @@ +[{"code":"B","description":"End of Custody Temporary Release","listSequence":0,"isActive":true,"createdAt":"2024-07-10T12:09:28","createdBy":"DWINCHURCH","modifiedAt":"2024-07-10T12:10:01","modifiedBy":"DWINCHURCH","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"B","code":"BECTER","description":"End Of Custody Temporary Release","listSequence":0,"isActive":true,"createdAt":"2024-07-11T16:44:31","createdBy":"DWINCHURCH","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"E","description":"Financial Exemption","listSequence":0,"isActive":true,"createdAt":"2024-07-10T15:19:07","createdBy":"DWINCHURCH","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"E","code":"ECA","description":"Exempt to receive cash","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:17:39","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"E","code":"ECA2","description":"Exempt to receive cash 2","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:21:57","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"E","code":"ECH","description":"Exempt to receive cheques","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:23:23","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"E","code":"ECH2","description":"Exempt to receive cheques 2","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:25:11","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"E","code":"EPO","description":"Exempt to receive postal orders","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:26:27","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"E","code":"EPO2","description":"Exempt to receive postal orders 2","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:27:33","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"F","description":"Ex Armed Forces","listSequence":0,"isActive":true,"createdAt":"2024-07-10T18:12:25","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null,"alertCodes":[]},{"code":"H","description":"Self Harm","listSequence":1,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2024-05-20T11:49:56","modifiedBy":"BYEUNG","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"H","code":"HA","description":"ACCT Open (HMPS)","listSequence":1,"isActive":true,"createdAt":"2006-06-28T16:19:43","createdBy":"OMS_OWNER","modifiedAt":"2024-05-20T11:50:15","modifiedBy":"BYEUNG","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"H","code":"HA1","description":"ACCT Post Closure (HMPS)","listSequence":2,"isActive":true,"createdAt":"2015-09-29T10:34:21","createdBy":"HQF99T_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"H","code":"HA2","description":"ACCT Closed (HMPS)","listSequence":3,"isActive":true,"createdAt":"2015-09-29T10:34:21","createdBy":"HQF99T_CEN","modifiedAt":"2024-05-07T11:45:16","modifiedBy":"BYEUNG","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"H","code":"HC","description":"Self Harm - Custody","listSequence":4,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2015-09-29T10:34:21","modifiedBy":"HQF99T_CEN","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"H","code":"HS","description":"Self Harm - Community","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2015-09-29T10:34:21","modifiedBy":"HQF99T_CEN","deactivatedAt":null,"deactivatedBy":null}]},{"code":"D","description":"Security. Do not share with offender","listSequence":2,"isActive":true,"createdAt":"2020-08-06T12:02:40","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"D","code":"DCDO","description":"Cyber Dependent Offender - Do not share","listSequence":1,"isActive":true,"createdAt":"2022-08-08T10:42:23","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"D","code":"DCEO","description":"Cyber Enabled Offender - Do not share","listSequence":1,"isActive":true,"createdAt":"2022-08-08T10:42:23","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"D","code":"DOCGM","description":"OCG Nominal - Do not share","listSequence":1,"isActive":true,"createdAt":"2020-08-06T12:02:40","createdBy":"OMS_OWNER","modifiedAt":"2022-08-08T10:42:23","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null}]},{"code":"X","description":"Security","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"X","code":"CA","description":"Considered for CAT A","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:05:38","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XAB","description":"Known Brewer of Alcohol","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:06:18","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XACS","description":"Approved Contact Scheme (ACS)","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:12:12","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCCI","description":"Cyber Capable Individual","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:12:53","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCDO","description":"Involved in 2024 civil disorder","listSequence":0,"isActive":true,"createdAt":"2024-10-07T12:04:43","createdBy":"MWILLIS_GEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCDP","description":"Involved in Custodial Debt: Perpetrator","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:15:14","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCDV","description":"Involved in Custodial Debt: Victim","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:16:06","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCIC","description":"Co-Accused In Custody","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:16:52","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCOP","description":"Potential Corruptor","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:17:41","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCSEA","description":"Child Sexual Exploitation Abuse","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:19:10","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XD","description":"Development","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:19:35","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XELH","description":"Escape List - Heightened","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:20:15","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XIS","description":"Internal Secretor","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:22:47","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XN","description":"Nominal","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:23:39","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XP","description":"Prominent","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:24:12","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XPHR","description":"Previous HDC Recall","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:25:01","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XPOI","description":"Prisoner of Interest","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:26:17","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XTMS","description":"Trafficking NRM Modern Slavery Victim","listSequence":0,"isActive":true,"createdAt":"2024-08-05T22:26:42","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"HPI","description":"High Public Interest","listSequence":2,"isActive":true,"createdAt":"2011-06-21T10:29:06","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XA","description":"Arsonist","listSequence":2,"isActive":true,"createdAt":"2007-08-07T15:52:11","createdBy":"HQJ90D","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XB","description":"Bully","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XC","description":"Climber","listSequence":2,"isActive":true,"createdAt":"2013-08-27T11:48:01","createdBy":"VQX68X_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCU","description":"Controlled Unlock","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XEAN","description":"External Agency Nominal","listSequence":2,"isActive":true,"createdAt":"2016-10-25T09:24:10","createdBy":"VQX68X_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XEBM","description":"Enhanced Behaviour Monitoring","listSequence":2,"isActive":true,"createdAt":"2015-09-29T10:38:20","createdBy":"HQF99T_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XEL","description":"Escape List","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XER","description":"Escape Risk","listSequence":2,"isActive":true,"createdAt":"2014-06-24T11:55:58","createdBy":"HQA63K_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XFO","description":"Financial Order","listSequence":2,"isActive":true,"createdAt":"2013-01-29T09:37:42","createdBy":"VQX68X_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XGANG","description":"Gang Member","listSequence":2,"isActive":true,"createdAt":"2013-08-27T11:32:55","createdBy":"SQZ39G_CEN","modifiedAt":"2013-08-27T11:36:50","modifiedBy":"SQZ39G_CEN","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XHT","description":"Hostage taker","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XILLENT","description":"Illegal Entrant","listSequence":2,"isActive":true,"createdAt":"2014-06-24T12:08:45","createdBy":"HQA63K_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XIT","description":"No access to IT","listSequence":2,"isActive":true,"createdAt":"2014-06-24T11:53:38","createdBy":"HQA63K_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XLDEPORT","description":"Notified of liability for Deportation","listSequence":2,"isActive":true,"createdAt":"2014-06-24T12:04:50","createdBy":"HQA63K_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XNR","description":"Not For Release","listSequence":2,"isActive":true,"createdAt":"2006-06-29T13:36:18","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XR","description":"Racist","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XRF","description":"Risk to Females","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XSA","description":"Staff Assaulter","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XSDEPORT","description":"Deportation Order served","listSequence":2,"isActive":true,"createdAt":"2014-06-24T12:07:44","createdBy":"HQA63K_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XTACT","description":"Terrorism Act or Related Offence","listSequence":2,"isActive":true,"createdAt":"2016-02-19T14:43:25","createdBy":"VQX68X_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XVL","description":"Violent","listSequence":2,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XYA","description":"YO held as Adult","listSequence":2,"isActive":true,"createdAt":"2013-10-29T09:50:44","createdBy":"SQZ39G_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"DOM","description":"Dom's test alert (sub type)","listSequence":99,"isActive":true,"createdAt":"2019-09-17T10:24:25","createdBy":"DBULL_ADM","modifiedAt":"2019-10-03T16:06:15","modifiedBy":"DBULL_ADM","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"SE","description":"NATIONAL PUBLIC DISORDER (NPD)","listSequence":99,"isActive":true,"createdAt":"2006-07-12T16:14:15","createdBy":"OMS_OWNER","modifiedAt":"2011-11-01T09:30:00","modifiedBy":"AQS39G_CEN","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCA","description":"Chemical attacker","listSequence":99,"isActive":true,"createdAt":"2019-10-03T15:51:48","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCI","description":"Concerted indiscipline","listSequence":99,"isActive":true,"createdAt":"2019-10-03T15:55:03","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XCO","description":"Corruptor","listSequence":99,"isActive":true,"createdAt":"2019-10-03T15:50:53","createdBy":"DBULL_ADM","modifiedAt":"2019-10-03T15:51:04","modifiedBy":"DBULL_ADM","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"X","code":"XSC","description":"Serious Crime Prevention Order","listSequence":99,"isActive":true,"createdAt":"2012-10-13T19:08:06","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"C","description":"Child Communication Measures","listSequence":3,"isActive":true,"createdAt":"2008-02-01T10:25:00","createdBy":"HQJ90D","modifiedAt":"2010-03-07T16:28:00","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"C","code":"CC1","description":"Child contact L1","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:03:35","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"C","code":"CC2","description":"Child contact L2","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:03:35","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"C","code":"CC3","description":"Child contact L3","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:03:35","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"C","code":"CC4","description":"Child contact L4","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:03:35","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"C","code":"CPC","description":"PPRC","listSequence":3,"isActive":true,"createdAt":"2015-10-27T10:26:06","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"C","code":"CPRC","description":"Potential PPRC","listSequence":3,"isActive":true,"createdAt":"2015-10-27T10:24:16","createdBy":"MQE96U_ADM","modifiedAt":"2015-10-27T10:26:06","modifiedBy":"MQE96U_ADM","deactivatedAt":null,"deactivatedBy":null}]},{"code":"R","description":"Risk","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2024-05-31T16:29:32","modifiedBy":"AMARKE_ADM","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"R","code":"ROTL","description":"ROTL Suspension","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:10:58","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RR46","description":"Rule 46 - CSC Prisoner","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:11:52","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RR46A","description":"Rule 46 (A) SC Prisoner","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:12:32","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RROTL","description":"Restricted ROTL","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:13:21","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"SROTL","description":"Standard ROTL","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:20:57","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"TIERA","description":"Tier A assigned POM","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:22:52","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"TIERC","description":"Tier C assigned POM","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:25:00","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"TIERCT","description":"Tier C transactional POM","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:25:49","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"TIERD","description":"Tier D assigned POM","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:34:35","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"TIERDT","description":"Tier D transactional POM","listSequence":0,"isActive":true,"createdAt":"2024-08-05T18:35:07","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RAIC","description":"DBS auto-inclusion offence","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:18:31","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RCC","description":"Risk to Children - Community","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RCP","description":"Children on CP Register","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RCS","description":"Risk to Children - Custody","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RDBS","description":"DBS auto-bar offence","listSequence":3,"isActive":true,"createdAt":"2015-10-27T11:18:31","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RDV","description":"Domestic Violence Perpetrator","listSequence":3,"isActive":true,"createdAt":"2011-11-29T10:08:03","createdBy":"SQZ39G_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RHI","description":"High - Workplace Risk Assessment","listSequence":3,"isActive":true,"createdAt":"2023-02-23T15:48:33","createdBy":"THARRISON_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RKC","description":"Risk to Known Adult - Community","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RKS","description":"Risk to Known Adult - Custody","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RLO","description":"Low - Workplace Risk Assessment","listSequence":3,"isActive":true,"createdAt":"2023-02-23T15:48:33","createdBy":"THARRISON_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RME","description":"Medium - Workplace Risk Assessment","listSequence":3,"isActive":true,"createdAt":"2023-02-23T15:48:33","createdBy":"THARRISON_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"ROH","description":"OASys Serious Harm-High","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"ROM","description":"OASys Serious Harm-Medium","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"ROV","description":"OASys Serious Harm-Very High","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RPB","description":"Risk to Public - Community","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RPC","description":"Risk to Public - Custody","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RSP","description":"Stalking Perpetrator","listSequence":3,"isActive":true,"createdAt":"2012-11-27T17:09:09","createdBy":"SQZ39G_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RSS","description":"Risk to Staff - Custody","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RST","description":"Risk to Staff - Community","listSequence":3,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RDP","description":"Risk to disabled people","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"REG","description":"Risk to certain ethnic groups","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RLG","description":"Risk to lesbian/gay/bisexual people","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"ROP","description":"Risk to older people","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RRV","description":"Risk to people with religious views","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RTP","description":"Risk to transgender people","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RYP","description":"Risk to younger people","listSequence":4,"isActive":true,"createdAt":"2012-07-21T18:16:11","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RCDR","description":"Quarantined – Communicable Disease Risk","listSequence":99,"isActive":true,"createdAt":"2020-03-25T10:17:54","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RCON","description":"Conflict with other prisoners","listSequence":99,"isActive":true,"createdAt":"2020-03-19T15:08:56","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"R","code":"RNO121","description":"No 1 to 1 with this prisoner","listSequence":99,"isActive":true,"createdAt":"2020-03-19T15:09:30","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"P","description":"MAPPP Case","listSequence":4,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"P","code":"P100","description":"MAPPA Cat 4 - Level TBC 6m pre-release","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:43:06","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P101","description":"MAPPA Cat 4 - Level 1 Confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:44:13","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P102","description":"MAPPA Cat 4 - Level 2 Confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:44:50","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P103","description":"MAPPA Cat 4 - Level 3 Confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:45:51","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P11","description":"MAPPA Cat 1 – Level TBC 6m pre-release","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:46:30","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P22","description":"MAPPA Cat 1 – Level 1 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:47:20","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P33","description":"MAPPA Cat 1 – Level 2 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:47:58","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P44","description":"MAPPA Cat 1 – Level 3 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:49:08","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P55","description":"MAPPA Cat 2 – Level TBC 6m pre-release","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:50:07","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P66","description":"MAPPA Cat 2 – Level 1 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:54:09","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P77","description":"MAPPA Cat 2 – Level 2 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:55:10","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P88","description":"MAPPA Cat 2 – Level 3 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:56:03","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"P99","description":"MAPPA Cat 3 – Level 2 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:57:34","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"PA1","description":"MAPPA Cat 3 – Level 3 confirmed","listSequence":0,"isActive":true,"createdAt":"2024-08-05T11:58:17","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"P","code":"PVN","description":"ViSOR Nominal","listSequence":4,"isActive":true,"createdAt":"2015-10-27T10:51:01","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"M","description":"Medical","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"M","code":"HID","description":"Hidden Disability","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:49:53","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"PGWCP","description":"Pregnant with Care Plan","listSequence":0,"isActive":true,"createdAt":"2024-07-23T22:51:26","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MAS","description":"Asthmatic","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MEP","description":"Epileptic","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MFL","description":"False Limbs","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MHT","description":"Hearing Impaired","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MSI","description":"Sight Impaired","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"MSP","description":"Speech Impediment","listSequence":5,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"M","code":"PEEP","description":"Personal Emergency Evacuation Plan","listSequence":5,"isActive":true,"createdAt":"2013-11-26T13:27:38","createdBy":"DQY42T_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"V","description":"Vulnerability","listSequence":6,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"V","code":"AAR","description":"Adult At Risk (Home Office identified)","listSequence":0,"isActive":true,"createdAt":"2024-08-05T21:00:52","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VLES","description":"Little English Spoken","listSequence":0,"isActive":true,"createdAt":"2024-08-05T21:03:50","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"V45","description":"Rule 45 - GOOD","listSequence":6,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"V46","description":"Rule 46 - GOOD","listSequence":6,"isActive":true,"createdAt":"2006-08-17T17:08:32","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:28:00","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"V49G","description":"Rule 49 - GOOD","listSequence":6,"isActive":true,"createdAt":"2010-10-02T18:37:31","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"V49P","description":"Rule 49 - Own Protection","listSequence":6,"isActive":true,"createdAt":"2010-10-02T18:37:31","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VI","description":"Victim","listSequence":6,"isActive":true,"createdAt":"2006-06-28T16:19:44","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VJOP","description":"Rule 46 - Own Protection","listSequence":6,"isActive":true,"createdAt":"2006-08-17T17:08:32","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:28:00","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VOP","description":"Rule 45 - Own Protection","listSequence":6,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VU","description":"Poor Coper","listSequence":6,"isActive":true,"createdAt":"2006-06-28T16:19:44","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"V","code":"VIP","description":"Isolated Prisoner","listSequence":99,"isActive":true,"createdAt":"2020-08-20T11:01:34","createdBy":"DBULL_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"S","description":"Sexual Offence","listSequence":7,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"S","code":"SC","description":"Risk to Children","listSequence":7,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"S","code":"SONR","description":"Sex offender not required to register","listSequence":7,"isActive":true,"createdAt":"2015-10-27T11:12:36","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"S","code":"SOR","description":"Registered sex offender","listSequence":7,"isActive":true,"createdAt":"2015-10-27T11:12:36","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"S","code":"SSHO","description":"RSHO or SRO","listSequence":7,"isActive":true,"createdAt":"2015-10-27T11:15:50","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"T","description":"Hold Against Transfer","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"T","code":"TAH","description":"Allocation Hold","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TAP","description":"Accredited Programme hold","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TCPA","description":"Do not transfer to CPA named in comments","listSequence":8,"isActive":true,"createdAt":"2015-01-27T09:31:07","createdBy":"SQZ39G_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TG","description":"Governor's Hold","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TM","description":"Medical Hold","listSequence":8,"isActive":true,"createdAt":"2006-06-29T13:36:18","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TPR","description":"Parole Review Hold","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"T","code":"TSE","description":"Security Hold","listSequence":8,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null}]},{"code":"W","description":"Warrant","listSequence":9,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"W","code":"WO","description":"Non Appearance at Court","listSequence":9,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null}]},{"code":"O","description":"Other","listSequence":10,"isActive":true,"createdAt":"2006-06-28T16:19:42","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:58","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"O","code":"OFNA","description":"OMiC Female Needs Assessment","listSequence":0,"isActive":true,"createdAt":"2024-07-24T09:46:34","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OFR","description":"Food Refusal","listSequence":0,"isActive":true,"createdAt":"2024-07-24T09:48:33","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OISFL","description":"Incentivised Substance Free Living","listSequence":0,"isActive":true,"createdAt":"2024-07-24T09:50:18","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"ORFW","description":"Ready For Work","listSequence":0,"isActive":true,"createdAt":"2024-07-24T09:51:02","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OURX","description":"Unused Rx-Immediate calc req’d on recall","listSequence":0,"isActive":true,"createdAt":"2024-07-24T09:52:09","createdBy":"CLAM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"PTD","description":"Power to Detain (Section 244ZB)","listSequence":1,"isActive":true,"createdAt":"2022-06-13T11:55:47","createdBy":"CRD_TEST_USER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OCVM","description":"Custodial Violence Management","listSequence":10,"isActive":true,"createdAt":"2016-02-19T12:06:00","createdBy":"VQX68X_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OCYP","description":"Looked after Child","listSequence":10,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2015-03-31T09:52:01","modifiedBy":"AQS39G_CEN","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OHCO","description":"Harassment Offences/Court orders","listSequence":10,"isActive":true,"createdAt":"2015-10-27T11:22:21","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OIOM","description":"Integrated Offender Management Case","listSequence":10,"isActive":true,"createdAt":"2011-05-09T16:11:34","createdBy":"YQX93Q_CEN","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"ONCR","description":"No-contact request","listSequence":10,"isActive":true,"createdAt":"2015-10-27T11:20:51","createdBy":"MQE96U_ADM","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OPPO","description":"PPO Case","listSequence":10,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"OVI","description":"Victim Inquiry","listSequence":10,"isActive":true,"createdAt":"2006-06-28T16:30:14","createdBy":"OMS_OWNER","modifiedAt":"2010-03-07T16:27:59","modifiedBy":"OMS_OWNER","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"O","code":"CSIP","description":"CSIP","listSequence":99,"isActive":true,"createdAt":"2019-10-03T15:55:52","createdBy":"DBULL_ADM","modifiedAt":"2024-10-15T14:27:16","modifiedBy":"BYEUNG","deactivatedAt":null,"deactivatedBy":null}]},{"code":"L","description":"Care Leaver","listSequence":11,"isActive":true,"createdAt":"2014-11-01T18:42:53","createdBy":"OMS_OWNER","modifiedAt":"2014-11-10T09:39:49","modifiedBy":"AQS39G_CEN","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"L","code":"LPQAA","description":"Qualifies for Assistance and Advice","listSequence":3,"isActive":true,"createdAt":"2014-11-01T18:42:53","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"L","code":"LCE","description":"Care Experienced","listSequence":4,"isActive":true,"createdAt":"2014-11-01T18:42:53","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]},{"code":"A","description":"Social Care","listSequence":13,"isActive":true,"createdAt":"2015-08-01T18:27:52","createdBy":"OMS_OWNER","modifiedAt":"2019-09-17T10:20:30","modifiedBy":"DBULL_ADM","deactivatedAt":null,"deactivatedBy":null,"alertCodes":[{"alertTypeCode":"A","code":"ADSC","description":"Adult Social Care","listSequence":0,"isActive":true,"createdAt":"2024-07-10T12:13:38","createdBy":"DWINCHURCH","modifiedAt":"2024-07-10T12:14:10","modifiedBy":"DWINCHURCH","deactivatedAt":null,"deactivatedBy":null},{"alertTypeCode":"A","code":"AS","description":"Social Care","listSequence":1,"isActive":true,"createdAt":"2015-08-01T18:27:52","createdBy":"OMS_OWNER","modifiedAt":null,"modifiedBy":null,"deactivatedAt":null,"deactivatedBy":null}]}] \ No newline at end of file diff --git a/spec/wiremock/prison-api/__files/body-prisoners-G8133UA-alerts-Q0luD.json b/spec/wiremock/prison-api/__files/body-prisoners-G8133UA-alerts-Q0luD.json new file mode 100644 index 000000000..0ce8b9506 --- /dev/null +++ b/spec/wiremock/prison-api/__files/body-prisoners-G8133UA-alerts-Q0luD.json @@ -0,0 +1 @@ +{"content":[{"alertUuid":"6548400d-80b4-4f2c-b329-cd9e54030d5e","prisonNumber":"G8133UA","alertCode":{"alertTypeCode":"P","alertTypeDescription":"MAPPP Case","code":"PC2","description":"MAPPA Cat 2"},"description":"HRErJMfhUuLHisGPkEhGRpvHSvjfHHRErJMfhUuLHisGPkEhGRpvHSvjfH","authorisedBy":"UEU","activeFrom":"2017-02-03","activeTo":null,"isActive":true,"comments":[],"createdAt":"2017-02-03T08:29:46","createdBy":"RQX53K","createdByDisplayName":"Omchijohn Dantexia","lastModifiedAt":"2017-05-09T21:54:15","lastModifiedBy":"OMS_OWNER","lastModifiedByDisplayName":"Admin&onb Cnomis","activeToLastSetAt":null,"activeToLastSetBy":null,"activeToLastSetByDisplayName":null},{"alertUuid":"4aa8e4b1-b633-4db4-b234-53e2b21c71e6","prisonNumber":"G8133UA","alertCode":{"alertTypeCode":"R","alertTypeDescription":"Risk","code":"ROM","description":"OASys Serious Harm-Medium"},"description":null,"authorisedBy":null,"activeFrom":"2015-02-22","activeTo":null,"isActive":true,"comments":[],"createdAt":"2015-02-22T10:51:59","createdBy":"TQD98V","createdByDisplayName":"Ehicey Caitlariah","lastModifiedAt":"2017-05-09T21:52:37","lastModifiedBy":"OMS_OWNER","lastModifiedByDisplayName":"Admin&onb Cnomis","activeToLastSetAt":null,"activeToLastSetBy":null,"activeToLastSetByDisplayName":null}],"pageable":{"pageNumber":0,"pageSize":2147483647,"sort":{"empty":false,"sorted":true,"unsorted":false},"offset":0,"paged":true,"unpaged":false},"last":true,"totalElements":2,"totalPages":1,"first":true,"size":2147483647,"number":0,"sort":{"empty":false,"sorted":true,"unsorted":false},"numberOfElements":2,"empty":false} \ No newline at end of file diff --git a/spec/wiremock/prison-api/mappings/mapping-alert-types-CU48p.json b/spec/wiremock/prison-api/mappings/mapping-alert-types-CU48p.json new file mode 100644 index 000000000..a0e0a8457 --- /dev/null +++ b/spec/wiremock/prison-api/mappings/mapping-alert-types-CU48p.json @@ -0,0 +1,23 @@ +{ + "id" : "ed4bf823-5579-3b04-856f-73c547d4dcc0", + "request" : { + "url" : "/alert-types", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "body-alert-types-CU48p.json", + "headers" : { + "Date" : "Fri, 18 Oct 2024 12:46:48 GMT", + "Content-Type" : "application/json", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "0", + "Cache-Control" : "no-cache, no-store, max-age=0, must-revalidate", + "Pragma" : "no-cache", + "Expires" : "0", + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "X-Frame-Options" : "SAMEORIGIN" + } + }, + "uuid" : "ed4bf823-5579-3b04-856f-73c547d4dcc0" +} \ No newline at end of file diff --git a/spec/wiremock/prison-api/mappings/mapping-prisoners-G8133UA-alerts-Q0luD.json b/spec/wiremock/prison-api/mappings/mapping-prisoners-G8133UA-alerts-Q0luD.json new file mode 100644 index 000000000..ee6497250 --- /dev/null +++ b/spec/wiremock/prison-api/mappings/mapping-prisoners-G8133UA-alerts-Q0luD.json @@ -0,0 +1,23 @@ +{ + "id" : "926f3d86-3971-391b-821d-e51695dbcdd9", + "request" : { + "url" : "/prisoners/G8133UA/alerts?isActive=true", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "body-prisoners-G8133UA-alerts-Q0luD.json", + "headers" : { + "Date" : "Fri, 18 Oct 2024 12:46:48 GMT", + "Content-Type" : "application/json", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "0", + "Cache-Control" : "no-cache, no-store, max-age=0, must-revalidate", + "Pragma" : "no-cache", + "Expires" : "0", + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "X-Frame-Options" : "SAMEORIGIN" + } + }, + "uuid" : "926f3d86-3971-391b-821d-e51695dbcdd9" +} \ No newline at end of file