Amazon Comprehend · Schema

EntityRecognizerInputDataConfig

Specifies the format and location of the input data.

Machine-LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
DataFormat object
EntityTypes object
Documents object
Annotations object
EntityList object
AugmentedManifests object
View JSON Schema on GitHub

JSON Schema

openapi.yml-entity-recognizer-input-data-config-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-entity-recognizer-input-data-config-schema.json",
  "title": "EntityRecognizerInputDataConfig",
  "description": "Specifies the format and location of the input data.",
  "type": "object",
  "properties": {
    "DataFormat": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognizerDataFormat"
        },
        {
          "description": "<p>The format of your training data:</p> <ul> <li> <p> <code>COMPREHEND_CSV</code>: A CSV file that supplements your training documents. The CSV file contains information about the custom entities that your trained model will detect. The required format of the file depends on whether you are providing annotations or an entity list.</p> <p>If you use this value, you must provide your CSV file by using either the <code>Annotations</code> or <code>EntityList</code> parameters. You must provide your training documents by using the <code>Documents</code> parameter.</p> </li> <li> <p> <code>AUGMENTED_MANIFEST</code>: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its labels. Each label annotates a named entity in the training document. </p> <p>If you use this value, you must provide the <code>AugmentedManifests</code> parameter in your request.</p> </li> </ul> <p>If you don't specify a value, Amazon Comprehend uses <code>COMPREHEND_CSV</code> as the default.</p>"
        }
      ]
    },
    "EntityTypes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityTypesList"
        },
        {
          "description": "<p>The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.</p> <p>A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \\n (line break), \\\\n (escaped line break), \\r (carriage return), \\\\r (escaped carriage return), \\t (tab), \\\\t (escaped tab), space, and , (comma). </p>"
        }
      ]
    },
    "Documents": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognizerDocuments"
        },
        {
          "description": "<p>The S3 location of the folder that contains the training documents for your custom entity recognizer.</p> <p>This parameter is required if you set <code>DataFormat</code> to <code>COMPREHEND_CSV</code>.</p>"
        }
      ]
    },
    "Annotations": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognizerAnnotations"
        },
        {
          "description": "The S3 location of the CSV file that annotates your training documents."
        }
      ]
    },
    "EntityList": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognizerEntityList"
        },
        {
          "description": "The S3 location of the CSV file that has the entity list for your custom entity recognizer."
        }
      ]
    },
    "AugmentedManifests": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognizerAugmentedManifestsList"
        },
        {
          "description": "<p>A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.</p> <p>This parameter is required if you set <code>DataFormat</code> to <code>AUGMENTED_MANIFEST</code>.</p>"
        }
      ]
    }
  },
  "required": [
    "EntityTypes"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/openapi.yml-entity-recognizer-input-data-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.