Skip to content

Commit a8425e1

Browse files
author
popey2700
committed
Update openApi spec
1 parent 5b51b76 commit a8425e1

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

openapi.yml

+19-6
Original file line numberDiff line numberDiff line change
@@ -1659,21 +1659,21 @@ components:
16591659
dtoPostRecallRelease:
16601660
$ref: "#/components/schemas/SentenceKeyDate"
16611661
earlyTerm:
1662-
$ref: "#/components/schemas/SentenceKeyDate"
1662+
$ref: "#/components/schemas/SentenceKeyDateWithCalculatedDate"
16631663
homeDetentionCurfew:
16641664
$ref: "#/components/schemas/HomeDetentionCurfewDate"
16651665
lateTerm:
1666-
$ref: "#/components/schemas/SentenceKeyDate"
1666+
$ref: "#/components/schemas/SentenceKeyDateWithCalculatedDate"
16671667
licenceExpiry:
1668-
$ref: "#/components/schemas/SentenceKeyDate"
1668+
$ref: "#/components/schemas/SentenceKeyDateWithCalculatedDate"
16691669
midTerm:
1670-
$ref: "#/components/schemas/SentenceKeyDate"
1670+
$ref: "#/components/schemas/SentenceKeyDateWithCalculatedDate"
16711671
nonDto:
16721672
$ref: "#/components/schemas/NonDtoDate"
16731673
nonParole:
16741674
$ref: "#/components/schemas/SentenceKeyDate"
16751675
paroleEligibility:
1676-
$ref: "#/components/schemas/SentenceKeyDate"
1676+
$ref: "#/components/schemas/SentenceKeyDateWithCalculatedDate"
16771677
postRecallRelease:
16781678
$ref: "#/components/schemas/SentenceKeyDate"
16791679
release:
@@ -2256,7 +2256,7 @@ components:
22562256
type: integer
22572257
example: 13
22582258
description: Number of tagged bail days
2259-
SentenceKeyDate:
2259+
SentenceKeyDateWithCalculatedDate:
22602260
type: object
22612261
properties:
22622262
date:
@@ -2274,6 +2274,19 @@ components:
22742274
format: date
22752275
example: 2023-03-01
22762276
description: release calculated date for offender
2277+
SentenceKeyDate:
2278+
type: object
2279+
properties:
2280+
date:
2281+
type: string
2282+
format: date
2283+
example: 2023-03-01
2284+
description: release date for offender
2285+
overrideDate:
2286+
type: string
2287+
format: date
2288+
example: 2023-03-01
2289+
description: release override date for offender
22772290
HomeDetentionCurfewDate:
22782291
type: object
22792292
properties:

0 commit comments

Comments
 (0)