{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--GitHubLoader.json",
  "title": "GitHubLoader",
  "description": "Deprecated. Will be removed at a later version.\n\nUse [GitLoader](/docs/components/documentloader/gitloader) instead",
  "x-lintel": {
    "source": "https://www.eidolonai.com/json_schema/v1/schemas/DocumentLoader/GitHubLoader.json",
    "sourceSha256": "77db26e41658c28337d4e2dd3bf2019ab171e81f611ae752a9f36195fbe0efc8"
  },
  "type": "object",
  "properties": {
    "implementation": {
      "const": "GitHubLoader",
      "title": "Implementation"
    },
    "owner": {
      "title": "Owner",
      "type": "string"
    },
    "repo": {
      "title": "Repo",
      "type": "string"
    },
    "client_args": {
      "default": {},
      "title": "Client Args",
      "type": "object"
    },
    "root_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Root Path"
    },
    "pattern": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "default": "**",
      "title": "Pattern"
    },
    "exclude": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "default": [],
      "title": "Exclude"
    },
    "token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Github token, can also be set via envar 'GITHUB_TOKEN'",
      "title": "Token"
    }
  },
  "additionalProperties": false,
  "required": [
    "owner",
    "repo",
    "implementation"
  ],
  "reference_details": {
    "clz": "eidolon_ai_sdk.agent.doc_manager.loaders.github_loader.GitHubLoader",
    "groups": [
      "DocumentLoader"
    ],
    "name": "GitHubLoader",
    "overrides": {}
  }
}
