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": [