Skip to content

Commit

Permalink
Set annotation entity type required
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed May 14, 2021
1 parent 9256cdb commit 153280f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openapi/commons/components/schemas/TextContactAnnotation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ allOf:
- phone
- url
- other
required:
- contactType
example:
start: 42
length: 11
Expand Down
2 changes: 2 additions & 0 deletions openapi/commons/components/schemas/TextIdAnnotation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ allOf:
- medical_record
- ssn
- vehicle
required:
- idType
example:
start: 42
length: 11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ allOf:
- state
- street
- zip
required:
- addressType
example:
start: 42
length: 7
Expand Down

0 comments on commit 153280f

Please sign in to comment.