{
"$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."
}
]
}
}
}
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.