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;
  float duration = 5;
  int32 disc_number = 6;
  int32 track_number = 7;
}

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