Skip to content

Commit 917df9b

Browse files
Added the extra fields to the induction schedule mapper
1 parent 010521e commit 917df9b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps/InductionSchedule.kt

+16
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,28 @@ data class InductionSchedule(
9292
example = "Fred Jones",
9393
)
9494
val inductionPerformedBy: String? = null,
95+
@Schema(
96+
description = "The role of the person who performed the Induction with the prisoner. In the case of system generated updates or setting an exemption this field will not be present.",
97+
example = "Peer Mentor",
98+
)
99+
val inductionPerformedByRole: String? = null,
95100
@Schema(
96101
description = "An ISO-8601 date representing when the Induction was performed with the prisoner. In the case of system generated updates this field will not be present.",
97102
example = "2023-06-30",
98103
)
99104
val inductionPerformedAt: LocalDate? = null,
105+
@Schema(
106+
description = "The prison code that the induction was performed at.",
107+
example = "BXI",
108+
)
109+
val inductionPerformedAtPrison: String? = null,
110+
111+
@Schema(
112+
description = "If reason the induction schedule was exempted.",
113+
example = "EXEMPT_SYSTEM_TECHNICAL_ISSUE",
114+
)
100115
val exemptionReason: String? = null,
116+
101117
@Schema(
102118
description = """
103119
The induction schedule can change status numerous times.

0 commit comments

Comments
 (0)