Skip to content

Commit 64c8f1c

Browse files
[HIA-390]
updating openAPI spec
1 parent e215e4f commit 64c8f1c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

openapi.yml

+34
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,40 @@ components:
12051205
type: string
12061206
example: 2008/0545166T
12071207
description: Currently a hmppsId is a PNC identifier however this will change in the near future to be a CRN identifier
1208+
PhoneNumbers:
1209+
type: array
1210+
items: [
1211+
number:
1212+
type: string
1213+
example: 079123456789
1214+
description: a phone number,
1215+
type:
1216+
type: string
1217+
example: TELEPHONE
1218+
description: the type of number
1219+
]
1220+
1221+
description: Currently a hmppsId is a PNC identifier however this will change in the near future to be a CRN identifier
1222+
1223+
contactDetails:
1224+
type: object,
1225+
properties:
1226+
addresses:
1227+
type: array
1228+
items:
1229+
$ref: "#/components/schemas/Address"
1230+
description: A list of known addresses
1231+
phoneNumbers:
1232+
type: array
1233+
$ref: "#/components/schemas/PhoneNumbers"
1234+
description: A list of phone numbers and type of phone number (mobile, landline etc...)
1235+
emails:
1236+
type: array
1237+
example: "leslie.knope@pawnee.gov"
1238+
description: A list of email addresses
1239+
1240+
1241+
12081242
PersonLicencesData:
12091243
type: object
12101244
properties:

0 commit comments

Comments
 (0)