{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-detect-sentiment-response-structure.json", "name": "DetectSentimentResponse", "description": "DetectSentimentResponse schema", "type": "object", "properties": { "Sentiment": { "allOf": [ { "$ref": "#/components/schemas/SentimentType" }, { "description": "The inferred sentiment that Amazon Comprehend has the highest level of confidence in." } ] }, "SentimentScore": { "allOf": [ { "$ref": "#/components/schemas/SentimentScore" }, { "description": "An object that lists the sentiments, and their corresponding confidence levels." } ] } } }