{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gmi-cloud/main/json-schema/gmi-cloud-exchange-authorization-code-request-schema.json",
  "title": "exchangeAuthorizationCodeRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gmi-cloud-idc-service-openapi.yml#/components/schemas/exchangeAuthorizationCodeRequest",
  "type": "object",
  "x-go-name": "exchangeAuthorizationCodeRequest",
  "properties": {
    "provider": {
      "type": "string",
      "description": "The OAuth provider name.\n- \"github\": GitHub OAuth.\n",
      "enum": [
        "github"
      ],
      "x-go-type": "iamLibTypes.OAuthProvider",
      "x-go-type-import": {
        "path": "us-central1-go.pkg.dev/gmi-cloud-cicd/go-dev/iam-lib-go/pkg/types",
        "name": "iamLibTypes"
      },
      "x-oapi-codegen-extra-tags": {
        "binding": "required"
      }
    },
    "code": {
      "type": "string",
      "description": "The OAuth authorization code received from the OAuth callback.",
      "x-oapi-codegen-extra-tags": {
        "binding": "required"
      }
    }
  },
  "required": [
    "provider",
    "code"
  ]
}