1
|
package eu.dnetlib.data.proto;
|
2
|
|
3
|
import "FieldType.proto";
|
4
|
import "Person.proto";
|
5
|
|
6
|
option java_package = "eu.dnetlib.data.proto";
|
7
|
option java_outer_classname = "PublicationProtos";
|
8
|
|
9
|
message Publication {
|
10
|
|
11
|
optional Metadata metadata = 2;
|
12
|
|
13
|
repeated Instance instance = 6;
|
14
|
|
15
|
repeated ExternalReference externalReference = 7;
|
16
|
|
17
|
repeated Person author = 8;
|
18
|
|
19
|
message Metadata {
|
20
|
|
21
|
// resulttype allows subclassing results into publications or datasets
|
22
|
optional Qualifier resulttype = 8;
|
23
|
|
24
|
// common fields
|
25
|
optional Qualifier language = 12;
|
26
|
repeated Qualifier country = 33;
|
27
|
|
28
|
repeated StructuredProperty subject = 1;
|
29
|
repeated StructuredProperty title = 2;
|
30
|
repeated StructuredProperty relevantdate = 3;
|
31
|
|
32
|
repeated StringField description = 25;
|
33
|
optional StringField dateofacceptance = 4;
|
34
|
optional StringField publisher = 5;
|
35
|
optional StringField embargoenddate = 6;
|
36
|
repeated StringField source = 27;
|
37
|
repeated StringField fulltext = 29; // remove candidate
|
38
|
repeated StringField format = 21;
|
39
|
repeated StringField contributor = 30;
|
40
|
|
41
|
repeated Context context = 28;
|
42
|
|
43
|
// publication specific
|
44
|
optional Journal journal = 18;
|
45
|
|
46
|
}
|
47
|
|
48
|
}
|