1
|
package eu.dnetlib.data.proto;
|
2
|
|
3
|
import "RelMetadata.proto";
|
4
|
|
5
|
option java_package = "eu.dnetlib.data.proto";
|
6
|
option java_outer_classname = "PersonResultProtos";
|
7
|
|
8
|
//PersonResult encodes the class of relationships between a Person and a Result
|
9
|
message PersonResult {
|
10
|
|
11
|
optional Authorship authorship = 1;
|
12
|
|
13
|
message Authorship {
|
14
|
|
15
|
enum RelName {
|
16
|
isAuthorOf = 1;
|
17
|
hasAuthor = 2;
|
18
|
}
|
19
|
|
20
|
required RelMetadata relMetadata = 1;
|
21
|
|
22
|
optional string ranking = 2;
|
23
|
optional string affiliation = 3;
|
24
|
|
25
|
}
|
26
|
|
27
|
}
|