diff --git a/pkg/linkedingo/types/user_profile.go b/pkg/linkedingo/types/user_profile.go index b9d751d..a1a1228 100644 --- a/pkg/linkedingo/types/user_profile.go +++ b/pkg/linkedingo/types/user_profile.go @@ -1,11 +1,19 @@ package types +type VectorImage struct { + RootURL string `json:"rootUrl,omitempty"` + Artifacts []any `json:"artifacts,omitempty"` +} + +type Picture struct { + VectorImage *VectorImage `json:"com.linkedin.common.VectorImage"` +} + type UserProfile struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Occupation string `json:"occupation"` PublicIdentifier string `json:"publicIdentifier"` - Picture string `json:"picture,omitempty"` Memorialized bool `json:"memorialized"` EntityUrn string `json:"entityUrn"` @@ -13,6 +21,8 @@ type UserProfile struct { DashEntityUrn string `json:"dashEntityUrn"` TrackingId string `json:"trackingId"` + + Picture Picture `json:"picture,omitempty"` } type UserLoginProfile struct {