Amazon Comprehend · Schema

DocumentLabel

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