# artist.proto

## ArtistProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | name | string | 2 |
| optional | stat | ArtistStatProto | 3 |
| optional | image | ArtistImageProto | 4 |
| optional | linerNotes | string | 5 |
| repeated | contributeAlbums | ArtistContributeAlbumProto | 6 |
| optional | cachedAt | int64 | 12 |
| optional | isDeclined | bool | 13 |
| optional | updatedAt | int64 | 14 |
| optional | isDeleted | bool | 15 |


## ArtistImageProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | imageType | string | 2 |
| optional | hasImage | bool | 3 |


## ArtistStatProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | albums | int32 | 1 |
| optional | tracks | int32 | 2 |
| optional | favorited | int32 | 3 |
| optional | played | int64 | 4 |


## ArtistContributeAlbumProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |


## ArtistDeliverFormProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | linerNotes | string | 1 |
| optional | imageBase64 | string | 2 |
| optional | image | bytes | 3 |
| optional | label | string | 4 |


## ArtistRankingProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| repeated | contents | ArtistRankingContentProto | 1 |


## ArtistRankingContentProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| repeated | artists | RankedArtistProto | 2 |


## RankedArtistProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | name | string | 2 |


