Skip to content

Commit

Permalink
PI-1581 updated external reference to be urn
Browse files Browse the repository at this point in the history
  • Loading branch information
stevomcallister committed Oct 25, 2023
1 parent 65e0cae commit 1c948a4
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data class EventDetails<T>(

data class ApplicationSubmitted(
val applicationId: String
){
) {
val urn = "urn:hmpps:cas3:application-submitted:$applicationId"
}

Expand All @@ -22,8 +22,7 @@ data class BookingCancelled(
val bookingUrl: String,
val cancellationReason: String,
val cancellationContext: String?
)
{
) {
val urn = "urn:hmpps:cas3:booking-cancelled:$bookingId"
}

Expand All @@ -34,8 +33,7 @@ data class BookingProvisional(
val bookingUrl: String,
val expectedArrivedAt: ZonedDateTime,
val notes: String
)
{
) {
val urn = "urn:hmpps:cas3:booking-provisional:$bookingId"
}

Expand All @@ -46,8 +44,6 @@ data class BookingConfirmed(
val bookingUrl: String,
val expectedArrivedAt: ZonedDateTime,
val notes: String
)
{
) {
val urn = "urn:hmpps:cas3:booking-confirmed:$bookingId"
}

0 comments on commit 1c948a4

Please sign in to comment.