The system identified one of the following warnings while processing the input document:
The document to classify is plain text, but the classifier is a native model.
The document to classify is semi-structured, but the classifier is a plain-text model.
Type: objectProperties: 3
Machine-LearningNatural Language ProcessingNLPText Analysis
WarningsListItem is a JSON Structure definition published by Amazon Comprehend, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-warnings-list-item-structure.json",
"name": "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."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.