File tree 3 files changed +29
-0
lines changed
main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps
test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/smoke
3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -1294,6 +1294,16 @@ components:
1294
1294
CaseSentence :
1295
1295
type : object
1296
1296
properties :
1297
+ date :
1298
+ type : string
1299
+ format : date
1300
+ description : This field is depreciated and will be removed from the response soon.
1301
+ sentencingCourt :
1302
+ $ref : ' #/components/schemas/Court'
1303
+ releaseDate :
1304
+ type : string
1305
+ format : date
1306
+ description : This field is depreciated and will be removed from the response soon.
1297
1307
expectedReleaseDate :
1298
1308
type : string
1299
1309
format : date
@@ -1331,6 +1341,12 @@ components:
1331
1341
type : string
1332
1342
example : " leslie.knope@pawnee.gov"
1333
1343
description : A list of email addresses
1344
+ Court :
1345
+ type : object
1346
+ properties :
1347
+ name :
1348
+ type : string
1349
+ description : This field is depreciated and will be removed from the response soon.
1334
1350
Disability :
1335
1351
type : object
1336
1352
properties :
Original file line number Diff line number Diff line change @@ -20,9 +20,19 @@ data class Name(
20
20
)
21
21
22
22
data class CaseSentence (
23
+ @Deprecated(" This field is depreciated and will be removed from the endpoint /v1/epf/person-details/{hmppsId}/{eventNumber} response soon." )
24
+ val date : String? = null ,
25
+ @Deprecated(" This field is depreciated and will be removed from the endpoint /v1/epf/person-details/{hmppsId}/{eventNumber} response soon." )
26
+ val sentencingCourt : SentencingCourt ? = null ,
27
+ @Deprecated(" This field is depreciated and will be removed from the endpoint /v1/epf/person-details/{hmppsId}/{eventNumber} response soon." )
28
+ val releaseDate : String? = null ,
23
29
val expectedReleaseDate : String? = null ,
24
30
)
25
31
32
+ data class SentencingCourt (
33
+ val name : String? = null ,
34
+ )
35
+
26
36
data class ResponsibleProvider (
27
37
val code : String? = null ,
28
38
val name : String? = null ,
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ class EPFPersonDetailSmokeTest : DescribeSpec(
38
38
}
39
39
},
40
40
"sentence": {
41
+ "date": null,
42
+ "sentencingCourt": null,
43
+ "releaseDate": null,
41
44
"expectedReleaseDate": "2019-08-24"
42
45
},
43
46
"responsibleProvider": {
You can’t perform that action at this time.
0 commit comments