Skip to content

Commit 1bdaee8

Browse files
committed
NPA-5064 Update schema structure
1 parent fa60317 commit 1bdaee8

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
@@ -1829,13 +1829,14 @@ components:
18291829
description: A RelatedPerson bundle entry with patient name and birthDate.
18301830
properties:
18311831
resource:
1832-
$ref: "#/components/schemas/RelatedPerson"
1833-
properties:
1834-
properties:
1835-
name:
1836-
$ref: "#/components/schemas/PDSName"
1837-
birthDate:
1838-
$ref: "#/components/schemas/PDSBirthDate"
1832+
allOf:
1833+
- $ref: "#/components/schemas/RelatedPerson"
1834+
- type: object
1835+
properties:
1836+
name:
1837+
$ref: "#/components/schemas/PDSName"
1838+
birthDate:
1839+
$ref: "#/components/schemas/PDSBirthDate"
18391840

18401841
RelatedPersonBundleEntry:
18411842
type: object

0 commit comments

Comments
 (0)