Skip to content

Commit 153280f

Browse files
committed
Set annotation entity type required
1 parent 9256cdb commit 153280f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

openapi/commons/components/schemas/TextContactAnnotation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ allOf:
1313
- phone
1414
- url
1515
- other
16+
required:
17+
- contactType
1618
example:
1719
start: 42
1820
length: 11

openapi/commons/components/schemas/TextIdAnnotation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ allOf:
1717
- medical_record
1818
- ssn
1919
- vehicle
20+
required:
21+
- idType
2022
example:
2123
start: 42
2224
length: 11

openapi/commons/components/schemas/TextPhysicalAddressAnnotation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ allOf:
1818
- state
1919
- street
2020
- zip
21+
required:
22+
- addressType
2123
example:
2224
start: 42
2325
length: 7

0 commit comments

Comments
 (0)