{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eurobase-dev/json-schema/eurobase-dev-source-connection-token-request-schema.json",
  "title": "SourceConnectionTokenRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eurobase-dev-source-connections-api-openapi.yml#/components/schemas/SourceConnectionTokenRequest",
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": "Read-only repository token: GitLab read_repository and read_api, Forgejo/Gitea read:repository."
    },
    "acknowledgeAccountScope": {
      "type": "boolean",
      "description": "Required as true when the token reads more than this repository."
    }
  }
}