1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package teal
4
5// schema: fm.teal.alpha.feed.defs
6
7// AlphaFeedDefs_Artist is a "artist" in the fm.teal.alpha.feed.defs schema.
8type AlphaFeedDefs_Artist struct {
9 // artistMbId: The Musicbrainz ID of the artist
10 ArtistMbId *string `json:"artistMbId,omitempty" cborgen:"artistMbId,omitempty"`
11 // artistName: The name of the artist
12 ArtistName string `json:"artistName" cborgen:"artistName"`
13}
14
15// AlphaFeedDefs_PlayView is a "playView" in the fm.teal.alpha.feed.defs schema.
16type AlphaFeedDefs_PlayView struct {
17 // artists: Array of artists in order of original appearance.
18 Artists []*AlphaFeedDefs_Artist `json:"artists" cborgen:"artists"`
19 // duration: The length of the track in seconds
20 Duration *int64 `json:"duration,omitempty" cborgen:"duration,omitempty"`
21 // isrc: The ISRC code associated with the recording
22 Isrc *string `json:"isrc,omitempty" cborgen:"isrc,omitempty"`
23 // musicServiceBaseDomain: The base domain of the music service. e.g. music.apple.com, tidal.com, spotify.com. Defaults to 'local' if not provided.
24 MusicServiceBaseDomain *string `json:"musicServiceBaseDomain,omitempty" cborgen:"musicServiceBaseDomain,omitempty"`
25 // originUrl: The URL associated with this track
26 OriginUrl *string `json:"originUrl,omitempty" cborgen:"originUrl,omitempty"`
27 // playedTime: The unix timestamp of when the track was played
28 PlayedTime *string `json:"playedTime,omitempty" cborgen:"playedTime,omitempty"`
29 // recordingMbId: The Musicbrainz recording ID of the track
30 RecordingMbId *string `json:"recordingMbId,omitempty" cborgen:"recordingMbId,omitempty"`
31 // releaseMbId: The Musicbrainz release ID
32 ReleaseMbId *string `json:"releaseMbId,omitempty" cborgen:"releaseMbId,omitempty"`
33 // releaseName: The name of the release/album
34 ReleaseName *string `json:"releaseName,omitempty" cborgen:"releaseName,omitempty"`
35 // submissionClientAgent: A user-agent style string specifying the user agent. e.g. tealtracker/0.0.1b (Linux; Android 13; SM-A715F). Defaults to 'manual/unknown' if not provided.
36 SubmissionClientAgent *string `json:"submissionClientAgent,omitempty" cborgen:"submissionClientAgent,omitempty"`
37 // trackMbId: The Musicbrainz ID of the track
38 TrackMbId *string `json:"trackMbId,omitempty" cborgen:"trackMbId,omitempty"`
39 // trackName: The name of the track
40 TrackName string `json:"trackName" cborgen:"trackName"`
41}