{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TokenResponse",
  "title": "TokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "OAuth 2.0 Bearer access token."
    },
    "token_type": {
      "type": "string",
      "description": "Token type (Bearer).",
      "example": "Bearer"
    },
    "expires_in": {
      "type": "integer",
      "description": "Token expiry in seconds.",
      "example": 3600
    },
    "scope": {
      "type": "string",
      "description": "Granted scopes."
    }
  }
}