Amazon Comprehend · JSON Structure

Openapi.Yml Document Class Structure

Specifies the class that categorizes the document being analyzed

Type: object Properties: 3
Machine LearningNatural Language ProcessingNLPText Analysis

DocumentClass 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.

Properties

Name Score Page

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-document-class-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}