{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-textract/json-schema/amazon-textract-create-adapter-request-schema.json",
  "title": "CreateAdapterRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-textract-adapter-api-openapi.yml#/components/schemas/CreateAdapterRequest",
  "type": "object",
  "properties": {
    "AdapterName": {
      "type": "string",
      "description": "The name to be assigned to the adapter being created."
    },
    "ClientRequestToken": {
      "type": "string",
      "description": "Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times."
    },
    "Description": {
      "type": "string",
      "description": "The description to be assigned to the adapter being created."
    },
    "FeatureTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "TABLES",
          "FORMS",
          "QUERIES",
          "SIGNATURES",
          "LAYOUT"
        ]
      },
      "description": "The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES"
    },
    "AutoUpdate": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "Controls whether or not the adapter should automatically update."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A list of tags to be added to the adapter."
    }
  },
  "required": [
    "AdapterName",
    "FeatureTypes"
  ]
}