[WIP] music platform user data scraper
teal-fm atproto
at main 1.9 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package teal 4 5// schema: fm.teal.alpha.actor.profile 6 7import ( 8 appbskytypes "github.com/bluesky-social/indigo/api/bsky" 9 "github.com/bluesky-social/indigo/lex/util" 10) 11 12func init() { 13 util.RegisterType("fm.teal.alpha.actor.profile", &AlphaActorProfile{}) 14} // 15// RECORDTYPE: AlphaActorProfile 16type AlphaActorProfile struct { 17 LexiconTypeID string `json:"$type,const=fm.teal.alpha.actor.profile" cborgen:"$type,const=fm.teal.alpha.actor.profile"` 18 // avatar: Small image to be displayed next to posts from account. AKA, 'profile picture' 19 Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` 20 // banner: Larger horizontal image to display behind profile view. 21 Banner *util.LexBlob `json:"banner,omitempty" cborgen:"banner,omitempty"` 22 CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` 23 // description: Free-form profile description text. 24 Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 25 // descriptionFacets: Annotations of text in the profile description (mentions, URLs, hashtags, etc). 26 DescriptionFacets []*appbskytypes.RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` 27 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` 28 // featuredItem: The user's most recent item featured on their profile. 29 FeaturedItem *AlphaActorProfile_FeaturedItem `json:"featuredItem,omitempty" cborgen:"featuredItem,omitempty"` 30} 31 32// AlphaActorProfile_FeaturedItem is a "featuredItem" in the fm.teal.alpha.actor.profile schema. 33type AlphaActorProfile_FeaturedItem struct { 34 // mbid: The Musicbrainz ID of the item 35 Mbid string `json:"mbid" cborgen:"mbid"` 36 // type: The type of the item. Must be a valid Musicbrainz type, e.g. album, track, recording, etc. 37 Type string `json:"type" cborgen:"type"` 38}