{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-entity-recognizer-input-data-config-structure.json", "name": "EntityRecognizerInputDataConfig", "description": "Specifies the format and location of the input data.", "type": "object", "properties": { "DataFormat": { "allOf": [ { "$ref": "#/components/schemas/EntityRecognizerDataFormat" }, { "description": "

The format of your training data:

If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

" } ] }, "EntityTypes": { "allOf": [ { "$ref": "#/components/schemas/EntityTypesList" }, { "description": "

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.

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

" } ] }, "Documents": { "allOf": [ { "$ref": "#/components/schemas/EntityRecognizerDocuments" }, { "description": "

The S3 location of the folder that contains the training documents for your custom entity recognizer.

This parameter is required if you set DataFormat to COMPREHEND_CSV.

" } ] }, "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": "

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.

This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

" } ] } }, "required": [ "EntityTypes" ] }