{
"$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-dataset-entity-recognizer-input-data-config-schema.json",
"title": "DatasetEntityRecognizerInputDataConfig",
"description": "Specifies the format and location of the input data. You must provide either the Annotations parameter or the EntityList parameter.",
"type": "object",
"properties": {
"Annotations": {
"allOf": [
{
"$ref": "#/components/schemas/DatasetEntityRecognizerAnnotations"
},
{
"description": "The S3 location of the annotation documents for your custom entity recognizer."
}
]
},
"Documents": {
"allOf": [
{
"$ref": "#/components/schemas/DatasetEntityRecognizerDocuments"
},
{
"description": "The format and location of the training documents for your custom entity recognizer."
}
]
},
"EntityList": {
"allOf": [
{
"$ref": "#/components/schemas/DatasetEntityRecognizerEntityList"
},
{
"description": "The S3 location of the entity list for your custom entity recognizer."
}
]
}
},
"required": [
"Documents"
]
}