syntax = "proto3";

package metadata.v1alpha1;

message SongArtist {
  string id = 1;
  string name = 2;
}

message Song {
  string id = 1;
  string title = 2;
  repeated SongArtist artists = 4;
  int32 duration = 5;
  int32 disc_number = 6;
}

message Album {
  string id = 1;
  string title = 2;
  string cover = 3;
  string release_date = 4;
  int32 year = 5;
  repeated string genres = 6;
  repeated Song tracks = 7;
}