Amazon Comprehend · Schema

DocumentClass

Specifies the class that categorizes the document being analyzed

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Name object
Score object
Page object
View JSON Schema on GitHub

JSON Schema

openapi.yml-document-class-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-document-class-schema.json",
  "title": "DocumentClass",
  "description": "Specifies the class that categorizes the document being analyzed",
  "type": "object",
  "properties": {
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The name of the class."
        }
      ]
    },
    "Score": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The confidence score that Amazon Comprehend has this class correctly attributed."
        }
      ]
    },
    "Page": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "Page number in the input document. This field is present in the response only if your request includes the <code>Byte</code> parameter. "
        }
      ]
    }
  }
}