Project

General

Profile

1
package eu.dnetlib.data.proto;
2

    
3
import "eu/dnetlib/data/proto/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

    
21
		required RelMetadata relMetadata = 1;
22

    
23
		optional string ranking = 2;
24
		optional string affiliation = 3;
25
	
26
	}
27

    
28
}
(12-12/23)