{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/upwork/refs/heads/main/json-structure/graphql-o-auth-token-structure.json",
  "name": "OAuthToken",
  "description": "OAuth2 access token response",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The access token for API requests",
      "example": "eyJhbGciOiJSUzI1NiJ9.example.token"
    },
    "token_type": {
      "type": "string",
      "description": "Token type (always bearer)",
      "example": "bearer"
    },
    "refresh_token": {
      "type": "string",
      "description": "Token for obtaining new access tokens",
      "example": "refresh-token-xyz789"
    },
    "expires_in": {
      "type": "int32",
      "description": "Token lifetime in seconds",
      "example": 86400
    }
  }
}