Openapi.Yml Classify Document Response Structure
ClassifyDocumentResponse schema
ClassifyDocumentResponse is a JSON Structure definition published by Amazon Comprehend, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-classify-document-response-structure.json",
"name": "ClassifyDocumentResponse",
"description": "ClassifyDocumentResponse schema",
"type": "object",
"properties": {
"Classes": {
"allOf": [
{
"$ref": "#/components/schemas/ListOfClasses"
},
{
"description": "The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time. "
}
]
},
"Labels": {
"allOf": [
{
"$ref": "#/components/schemas/ListOfLabels"
},
{
"description": "The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time. "
}
]
},
"DocumentMetadata": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentMetadata"
},
{
"description": "Extraction information about the document. This field is present in the response only if your request includes the <code>Byte</code> parameter. "
}
]
},
"DocumentType": {
"allOf": [
{
"$ref": "#/components/schemas/ListOfDocumentType"
},
{
"description": "The document type for each page in the input document. This field is present in the response only if your request includes the <code>Byte</code> parameter. "
}
]
},
"Errors": {
"allOf": [
{
"$ref": "#/components/schemas/ListOfErrors"
},
{
"description": "Page-level errors that the system detected while processing the input document. The field is empty if the system encountered no errors."
}
]
},
"Warnings": {
"allOf": [
{
"$ref": "#/components/schemas/ListOfWarnings"
},
{
"description": "<p>Warnings detected while processing the input document. The response includes a warning if there is a mismatch between the input document type and the model type associated with the endpoint that you specified. The response can also include warnings for individual pages that have a mismatch. </p> <p>The field is empty if the system generated no warnings.</p>"
}
]
}
}
}
Work with this as data
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/openapi.yml-classify-document-response-structure"
curl "https://apis.io/api/v1/json-structures?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.