Amazon Comprehend · Schema

WarningsListItem

The system identified one of the following warnings while processing the input document:

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Page object
WarnCode object
WarnMessage object
View JSON Schema on GitHub

JSON Schema

openapi.yml-warnings-list-item-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-warnings-list-item-schema.json",
  "title": "WarningsListItem",
  "description": "<p>The system identified one of the following warnings while processing the input document:</p> <ul> <li> <p>The document to classify is plain text, but the classifier is a native model.</p> </li> <li> <p>The document to classify is semi-structured, but the classifier is a plain-text model.</p> </li> </ul>",
  "type": "object",
  "properties": {
    "Page": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "Page number in the input document."
        }
      ]
    },
    "WarnCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PageBasedWarningCode"
        },
        {
          "description": "The type of warning."
        }
      ]
    },
    "WarnMessage": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "Text message associated with the warning."
        }
      ]
    }
  }
}