{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mammoth-io/json-schema/mammoth-io-oauth-token-exchange-response-schema.json",
  "title": "OauthTokenExchangeResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mammoth-io-connections-api-openapi.yml#/components/schemas/OauthTokenExchangeResponse",
  "properties": {
    "pending_id": {
      "type": "string",
      "title": "Pending ID",
      "description": "Key to reference the cached tokens when finalizing the connection"
    },
    "access_token": {
      "type": "string",
      "title": "Access Token",
      "description": "Short-lived access token to initialize the Google Picker"
    },
    "picker_api_key": {
      "type": "string",
      "title": "Picker API Key",
      "description": "Google browser API key for the Picker widget"
    }
  },
  "type": "object",
  "required": [
    "access_token",
    "pending_id",
    "picker_api_key"
  ]
}