syntax = "proto3";
package nexus.models.proto;

message Scimag {
  int64 id = 1;
  string abstract = 2;
  repeated string authors = 3;
  string container_title = 11;
  string doi = 4;
  uint32 downloads_count = 27;
  bytes embedding = 22;
  uint32 filesize = 5;
  uint32 first_page = 6;
  repeated string ipfs_multihashes = 31;
  bool is_deleted = 7;
  repeated string issns = 25;
  string issue = 10;
  oneof optional_issued_at {
      int64 issued_at = 26;
  }
  uint32 journal_id = 12;
  string language = 13;
  uint32 last_page = 14;
  string meta_language = 15;
  string md5 = 16;
  int32 ref_by_count = 23;
  repeated string references = 28;
  oneof optional_scimag_bulk_id {
    int32 scimag_bulk_id = 24;
  }
  repeated string tags = 17;
  string telegram_file_id = 18;
  string title = 19;
  string type = 29;
  int32 updated_at = 20;
  string volume = 21;
  string year = 30;
}
