Skip to content

Commit d943064

Browse files
Bail status attribute made optional and prosecuted by attribute made a a restricted value
1 parent a759745 commit d943064

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/resources/openapi/dcs-caseadmin.openapi.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ components:
7979
$ref: '#/components/schemas/defendantOrganisation'
8080
required:
8181
- id
82-
- bailStatus
8382
- oneOf
8483
- defendantPerson
8584
- defendantOrganisation
@@ -196,6 +195,10 @@ paths:
196195
prosecutedBy:
197196
type: string
198197
description: "Prosecution Authority"
198+
enum:
199+
- "CPS"
200+
- "PROBATION"
201+
- "OTHER"
199202
courtHouse:
200203
type: string
201204
description: "Hearing venue"

0 commit comments

Comments
 (0)