{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-git-hub-access-token-request-schema.json",
  "title": "GitHubAccessTokenRequest",
  "description": "Get GitHub access token request definition.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-factory-factories-api-openapi.yml#/components/schemas/GitHubAccessTokenRequest",
  "type": "object",
  "properties": {
    "gitHubAccessCode": {
      "type": "string",
      "description": "GitHub access code."
    },
    "gitHubClientId": {
      "type": "string",
      "description": "GitHub application client ID."
    },
    "gitHubClientSecret": {
      "$ref": "#/$defs/GitHubClientSecret",
      "description": "GitHub bring your own app client secret information."
    },
    "gitHubAccessTokenBaseUrl": {
      "type": "string",
      "description": "GitHub access token base URL."
    }
  },
  "required": [
    "gitHubAccessCode",
    "gitHubAccessTokenBaseUrl"
  ],
  "$defs": {
    "GitHubClientSecret": {
      "type": "object",
      "description": "Client secret information for factory's bring your own app repository configuration.",
      "properties": {
        "byoaSecretAkvUrl": {
          "type": "string",
          "description": "Bring your own app client secret AKV URL."
        },
        "byoaSecretName": {
          "type": "string",
          "description": "Bring your own app client secret name in AKV."
        }
      }
    }
  }
}