{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/portal-oauth-token-response-structure.json", "description": "TokenResponse schema from Avalara API", "type": "object", "properties": { "access_token": { "type": "string", "description": "The OAuth 2.0 access token" }, "token_type": { "type": "string", "enum": [ "Bearer" ] }, "expires_in": { "type": "int32", "description": "Token expiry time in seconds" }, "scope": { "type": "string", "description": "Granted scopes" }, "refresh_token": { "type": "string", "description": "Refresh token (if applicable)" } }, "name": "TokenResponse" }