From a5dcb30f776c3f07e937912a9a163b2ec2bbbef8 Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Wed, 6 Jan 2021 12:31:16 -0500 Subject: [PATCH] [Text Analytics] Add AnalyzeJobMetadata to remove its displayName from healthcare metadata (#12242) --- .../preview/v3.1-preview.3/TextAnalytics.json | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json index eae5af786df7..6d51fc3cb87d 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json +++ b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json @@ -954,7 +954,7 @@ "AnalyzeJobState": { "allOf": [ { - "$ref": "#/definitions/JobMetadata" + "$ref": "#/definitions/AnalyzeJobMetadata" }, { "$ref": "#/definitions/TasksState" @@ -1924,9 +1924,6 @@ "format": "date-time", "type": "string" }, - "displayName": { - "type": "string" - }, "expirationDateTime": { "format": "date-time", "type": "string" @@ -1964,6 +1961,21 @@ ], "type": "object" }, + "AnalyzeJobMetadata": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobMetadata" + }, + { + "properties": { + "displayName": { + "type": "string" + } + } + } + ] + }, "KeyPhraseResult": { "type": "object", "required": [