{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--S3Loader.json",
  "title": "S3Loader",
  "description": "Loads documents from an S3 bucket.",
  "x-lintel": {
    "source": "https://www.eidolonai.com/json_schema/v1/schemas/DocumentLoader/S3Loader.json",
    "sourceSha256": "a943093d633b6ddbf9423e57beb8de57fd9b0a21fb89b044dd91e8ae5c9e89ce"
  },
  "type": "object",
  "properties": {
    "implementation": {
      "const": "S3Loader",
      "title": "Implementation"
    },
    "bucket": {
      "title": "Bucket",
      "type": "string"
    },
    "region_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Region Name"
    },
    "aws_access_key_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Aws Access Key Id"
    },
    "aws_secret_access_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Aws Secret Access Key"
    },
    "aws_session_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Aws Session Token"
    },
    "session_args": {
      "default": {},
      "description": "Additional arguments to pass to the boto3 session.",
      "title": "Session Args",
      "type": "object"
    },
    "pattern": {
      "default": "**",
      "title": "Pattern",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "bucket",
    "implementation"
  ],
  "reference_details": {
    "clz": "eidolon_ai_sdk.agent.doc_manager.loaders.s3_loader.S3Loader",
    "groups": [
      "DocumentLoader"
    ],
    "name": "S3Loader",
    "overrides": {}
  }
}
