{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-task-config-structure.json",
  "name": "TaskConfig",
  "description": "Configuration about the custom classifier associated with the flywheel.",
  "type": "object",
  "properties": {
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LanguageCode"
        },
        {
          "description": "Language code for the language that the model supports."
        }
      ]
    },
    "DocumentClassificationConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DocumentClassificationConfig"
        },
        {
          "description": "Configuration required for a classification model."
        }
      ]
    },
    "EntityRecognitionConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognitionConfig"
        },
        {
          "description": "Configuration required for an entity recognition model."
        }
      ]
    }
  },
  "required": [
    "LanguageCode"
  ]
}