From 153280f266517ccc65d114dc079f84516e2f97df Mon Sep 17 00:00:00 2001 From: tschaffter Date: Thu, 13 May 2021 19:39:18 -0700 Subject: [PATCH] Set annotation entity type required --- openapi/commons/components/schemas/TextContactAnnotation.yaml | 2 ++ openapi/commons/components/schemas/TextIdAnnotation.yaml | 2 ++ .../components/schemas/TextPhysicalAddressAnnotation.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/openapi/commons/components/schemas/TextContactAnnotation.yaml b/openapi/commons/components/schemas/TextContactAnnotation.yaml index 8986eae6..8e164b5a 100644 --- a/openapi/commons/components/schemas/TextContactAnnotation.yaml +++ b/openapi/commons/components/schemas/TextContactAnnotation.yaml @@ -13,6 +13,8 @@ allOf: - phone - url - other + required: + - contactType example: start: 42 length: 11 diff --git a/openapi/commons/components/schemas/TextIdAnnotation.yaml b/openapi/commons/components/schemas/TextIdAnnotation.yaml index cb48bbc4..16cf208e 100644 --- a/openapi/commons/components/schemas/TextIdAnnotation.yaml +++ b/openapi/commons/components/schemas/TextIdAnnotation.yaml @@ -17,6 +17,8 @@ allOf: - medical_record - ssn - vehicle + required: + - idType example: start: 42 length: 11 diff --git a/openapi/commons/components/schemas/TextPhysicalAddressAnnotation.yaml b/openapi/commons/components/schemas/TextPhysicalAddressAnnotation.yaml index 7e6a93cf..e7c2ebce 100644 --- a/openapi/commons/components/schemas/TextPhysicalAddressAnnotation.yaml +++ b/openapi/commons/components/schemas/TextPhysicalAddressAnnotation.yaml @@ -18,6 +18,8 @@ allOf: - state - street - zip + required: + - addressType example: start: 42 length: 7