1 |
26600
|
sandro.lab
|
package eu.dnetlib.data.proto;
|
2 |
|
|
|
3 |
44138
|
claudio.at
|
import "FieldType.proto";
|
4 |
|
|
import "Person.proto";
|
5 |
26600
|
sandro.lab
|
|
6 |
|
|
option java_package = "eu.dnetlib.data.proto";
|
7 |
|
|
option java_outer_classname = "ResultProtos";
|
8 |
|
|
|
9 |
|
|
message Result {
|
10 |
|
|
|
11 |
|
|
optional Metadata metadata = 2;
|
12 |
|
|
|
13 |
|
|
repeated Instance instance = 6;
|
14 |
|
|
|
15 |
|
|
repeated ExternalReference externalReference = 7;
|
16 |
|
|
|
17 |
29257
|
claudio.at
|
repeated Person author = 8;
|
18 |
|
|
|
19 |
26600
|
sandro.lab
|
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 |
38153
|
michele.ar
|
repeated Qualifier country = 33;
|
27 |
26600
|
sandro.lab
|
|
28 |
|
|
repeated StructuredProperty subject = 1;
|
29 |
|
|
repeated StructuredProperty title = 2;
|
30 |
|
|
repeated StructuredProperty relevantdate = 3;
|
31 |
|
|
|
32 |
28091
|
claudio.at
|
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 |
37325
|
claudio.at
|
repeated StringField fulltext = 29; // remove candidate
|
38 |
34832
|
claudio.at
|
repeated StringField format = 21;
|
39 |
41522
|
claudio.at
|
repeated StringField contributor = 30;
|
40 |
|
|
|
41 |
26600
|
sandro.lab
|
repeated Context context = 28;
|
42 |
|
|
|
43 |
|
|
// publication specific
|
44 |
|
|
optional Journal journal = 18;
|
45 |
|
|
|
46 |
|
|
// dataset specific
|
47 |
37325
|
claudio.at
|
optional StringField storagedate = 9;
|
48 |
26600
|
sandro.lab
|
optional Qualifier resourcetype = 19;
|
49 |
28091
|
claudio.at
|
optional StringField device = 26;
|
50 |
|
|
optional StringField size = 20;
|
51 |
|
|
optional StringField version = 22;
|
52 |
|
|
optional StringField lastmetadataupdate = 23;
|
53 |
|
|
optional StringField metadataversionnumber = 24;
|
54 |
26600
|
sandro.lab
|
}
|
55 |
|
|
|
56 |
|
|
message Journal {
|
57 |
|
|
optional string name = 1;
|
58 |
|
|
optional string issnPrinted = 2;
|
59 |
|
|
optional string issnOnline = 3;
|
60 |
|
|
optional string issnLinking = 4;
|
61 |
46584
|
alessia.ba
|
|
62 |
|
|
optional string ep = 6;
|
63 |
|
|
optional string iss = 7;
|
64 |
|
|
optional string sp = 8;
|
65 |
|
|
optional string vol = 9;
|
66 |
|
|
|
67 |
28091
|
claudio.at
|
optional DataInfo dataInfo = 5;
|
68 |
26600
|
sandro.lab
|
}
|
69 |
|
|
|
70 |
|
|
// <concept id="egi::vo::alice" />
|
71 |
|
|
message Context {
|
72 |
28135
|
claudio.at
|
required string id = 1;
|
73 |
|
|
optional DataInfo dataInfo = 2;
|
74 |
26600
|
sandro.lab
|
}
|
75 |
|
|
|
76 |
|
|
message Instance {
|
77 |
|
|
|
78 |
|
|
optional Qualifier licence = 3;
|
79 |
|
|
optional Qualifier instancetype = 4;
|
80 |
|
|
|
81 |
|
|
optional KeyValue hostedby = 5;
|
82 |
|
|
repeated string url = 9;
|
83 |
|
|
}
|
84 |
|
|
|
85 |
|
|
message ExternalReference {
|
86 |
|
|
|
87 |
|
|
optional string sitename = 1; // source
|
88 |
|
|
optional string label = 2; // title
|
89 |
|
|
optional string url = 3; // text()
|
90 |
|
|
optional string description = 4; // ?? not mapped yet ??
|
91 |
|
|
optional Qualifier qualifier = 5; // type
|
92 |
|
|
optional string refidentifier = 6; // site internal identifier
|
93 |
37325
|
claudio.at
|
optional string query = 7; // maps the oaf:reference/@query attribute
|
94 |
37361
|
claudio.at
|
optional DataInfo dataInfo = 8; // ExternalReferences might be also inferred
|
95 |
26600
|
sandro.lab
|
}
|
96 |
|
|
|
97 |
|
|
}
|