Amazon Comprehend · Schema

BatchDetectSentimentRequest

BatchDetectSentimentRequest schema

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
TextList object
LanguageCode object
View JSON Schema on GitHub

JSON Schema

openapi.yml-batch-detect-sentiment-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-batch-detect-sentiment-request-schema.json",
  "title": "BatchDetectSentimentRequest",
  "description": "BatchDetectSentimentRequest schema",
  "type": "object",
  "properties": {
    "TextList": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomerInputStringList"
        },
        {
          "description": "A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. "
        }
      ]
    },
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LanguageCode"
        },
        {
          "description": "The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language."
        }
      ]
    }
  },
  "required": [
    "TextList",
    "LanguageCode"
  ]
}