Amazon Comprehend · JSON Structure

Openapi.Yml Document Label Structure

Specifies one of the label or labels that categorize the document being analyzed.

Type: object Properties: 3
Machine LearningNatural Language ProcessingNLPText Analysis

DocumentLabel 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-label-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}