Skip to content

Commit 1b991a4

Browse files
committed
NPA-5063 Update schema structure
1 parent 0be34f7 commit 1b991a4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,13 +1835,14 @@ components:
18351835
description: A RelatedPerson bundle entry with patient name and birthDate.
18361836
properties:
18371837
resource:
1838-
$ref: "#/components/schemas/RelatedPerson"
1839-
properties:
1840-
properties:
1841-
name:
1842-
$ref: "#/components/schemas/PDSName"
1843-
birthDate:
1844-
$ref: "#/components/schemas/PDSBirthDate"
1838+
allOf:
1839+
- $ref: "#/components/schemas/RelatedPerson"
1840+
- type: object
1841+
properties:
1842+
name:
1843+
$ref: "#/components/schemas/PDSName"
1844+
birthDate:
1845+
$ref: "#/components/schemas/PDSBirthDate"
18451846

18461847
RelatedPersonBundleEntry:
18471848
type: object

0 commit comments

Comments
 (0)