Skip to content

Commit 2b15717

Browse files
author
popey2700
committed
Updated OpenApi.yml
1 parent 6939ab1 commit 2b15717

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

openapi.yml

+18-13
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,8 @@ components:
12181218
format: date
12191219
gender:
12201220
type: string
1221+
courtAppearance:
1222+
$ref: '#/components/schemas/CourtAppearance'
12211223
sentence:
12221224
$ref: '#/components/schemas/CaseSentence'
12231225
responsibleProvider:
@@ -1290,19 +1292,22 @@ components:
12901292
type: string
12911293
example: Some Additional Text
12921294
CaseSentence:
1295+
type: object
1296+
properties:
1297+
expectedReleaseDate:
1298+
type: string
1299+
format: date
1300+
CourtAppearance:
12931301
required:
12941302
- date
1295-
- sentencingCourt
1303+
- court
12961304
type: object
12971305
properties:
12981306
date:
12991307
type: string
13001308
format: date
1301-
sentencingCourt:
1302-
$ref: '#/components/schemas/Court'
1303-
releaseDate:
1304-
type: string
1305-
format: date
1309+
court:
1310+
$ref: "#/components/schemas/CourtDetails"
13061311
CommunityOffenderManager:
13071312
type: object
13081313
properties:
@@ -1326,13 +1331,6 @@ components:
13261331
type: string
13271332
example: "leslie.knope@pawnee.gov"
13281333
description: A list of email addresses
1329-
Court:
1330-
required:
1331-
- name
1332-
type: object
1333-
properties:
1334-
name:
1335-
type: string
13361334
Disability:
13371335
type: object
13381336
properties:
@@ -1811,6 +1809,13 @@ components:
18111809
surname:
18121810
type: string
18131811
nullable: true
1812+
CourtDetails:
1813+
required:
1814+
- name
1815+
type: object
1816+
properties:
1817+
name:
1818+
type: string
18141819
PersonResponsibleOfficerTeam:
18151820
type: object
18161821
properties:

0 commit comments

Comments
 (0)