lexicon devex tutorial
at main 1.5 kB view raw
1// Code generated by indigo lexgen tool. DO NOT EDIT MANUALLY. 2 3// Lexicon schema: place.atwork.profile 4 5package placeatwork 6 7import ( 8 appbsky "github.com/bluesky-social/indigo/api/bsky" 9 lexutil "github.com/bluesky-social/indigo/lex/util" 10) 11 12// A user profile for AT://Work.Place 13type Profile struct { 14 LexiconTypeID string `json:"$type" cborgen:"$type,const=place.atwork.profile"` 15 // avatar: Small image to be displayed next to job listings from account. AKA, 'profile picture' 16 Avatar *lexutil.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` 17 // banner: Larger horizontal image to display behind profile view. 18 Banner *lexutil.LexBlob `json:"banner,omitempty" cborgen:"banner,omitempty"` 19 // description: A free text description of the identity. 20 Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 21 // displayName: The display name of the identity. 22 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` 23 // facets: Annotations of text (mentions, URLs, hashtags, etc) in the description. 24 Facets []appbsky.RichtextFacet `json:"facets,omitempty" cborgen:"facets,omitempty"` 25 // profile_host: The service used for profile links 26 Profile_host *string `json:"profile_host,omitempty" cborgen:"profile_host,omitempty"` 27 // resume: The identity's resume. 28 Resume *lexutil.LexBlob `json:"resume,omitempty" cborgen:"resume,omitempty"` 29 // status: The current status of the identity. 30 Status *string `json:"status,omitempty" cborgen:"status,omitempty"` 31}