You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The date and time when the version/variation of the licence was created at
1003
+
approvedDate:
1004
+
type: string
1005
+
format: date
1006
+
example: 2015-09-24
1007
+
description: The date and time that the prison approved the licence, where licences approved before 01/04/2023 will not have an approved time
1008
+
updatedDate:
1009
+
type: string
1010
+
format: date
1011
+
example: 2015-10-23
1012
+
description: The date and time that the licence was last updated
1013
+
conditions:
1014
+
type: array
1015
+
minItems: 0
1016
+
items:
1017
+
$ref: "#/components/schemas/LicenceCondition"
1018
+
description: list of conditions. The type of conditions on a licence which can be AP (All Purpose) and/or PSS (Post Sentence Supervision)
1019
+
LicenceCondition:
1020
+
type: object
1021
+
properties:
1022
+
type:
1023
+
type: string
1024
+
example: Standard
1025
+
nullable: true
1026
+
description: Condition type
1027
+
code:
1028
+
type: string
1029
+
example: 5a105297-dce1-4d18-b9ea-4195b46b7594
1030
+
nullable: true
1031
+
description: The code shared by all instances of this condition
1032
+
category:
1033
+
type: string
1034
+
example: Residence at a specific place
1035
+
nullable: true
1036
+
description: The category to which the condition belongs
1037
+
condition:
1038
+
type: string
1039
+
example: Residence at a specific place
1040
+
nullable: true
1041
+
description: The condition of a licence, this can be a standard condition, a combination of inputted text and template text including any user input or the input for the bespoke condition
970
1042
Name:
971
1043
required:
972
1044
- forename
@@ -1124,6 +1196,24 @@ components:
1124
1196
type: string
1125
1197
example: 2008/0545166T
1126
1198
description: Currently a hmppsId is a PNC identifier however this will change in the near future to be a CRN identifier
1199
+
PersonLicences:
1200
+
type: object
1201
+
properties:
1202
+
hmppsId:
1203
+
type: string
1204
+
example: 2008/0545166T
1205
+
description: Currently a hmppsId is a PNC identifier however this will change in the near future to be a CRN identifier
1206
+
offenderNumber:
1207
+
type: string
1208
+
example: Z1234ZZ
1209
+
nullable: true
1210
+
description: The prison identifier for the person on the licence. Also known as the NOMIS ID
0 commit comments