Project

General

Profile

1
package eu.dnetlib.data.proto.dli;
2

    
3
option java_package = "eu.dnetlib.data.proto.dli";
4
option java_outer_classname = "Scholix2ObjectProtos";
5

    
6

    
7
message ScholixIdentifier {
8
    required string ID = 1;
9
    required string IDScheme = 2;
10
    optional string IDURL = 3;
11
}
12

    
13
message ScholixEntityId {
14
    required string name = 1;
15
    repeated ScholixIdentifier identifier = 2;
16
}
17

    
18
message ScholixRelationship {
19
    required string Name = 1;
20
    optional string SubType = 2;
21
    optional string SubTypeSchema = 3;
22
}
23

    
24
message ScholixCollectedFrom {
25
    required ScholixEntityId provider = 1;
26
    optional string provisionMode = 2;
27
    optional string completionStatus = 3;
28
}
29

    
30

    
31
message ScholixObjectType {
32
    required string Name  = 1;
33
    optional string SubType = 2;
34
    optional string SubTypeSchema = 3;
35

    
36
}
37

    
38
message ScholixAuthor {
39
    required string Name = 1;
40
    repeated ScholixIdentifier Identifier = 2;
41

    
42
}
43

    
44
message ScholixResource {
45
    required ScholixIdentifier Identifier = 1;
46
    required ScholixObjectType Type = 2;
47
    optional string Title = 4;
48
    repeated ScholixAuthor Creator = 5;
49
    optional string PublicationDate = 6;
50
    repeated ScholixEntityId Publisher = 7;
51
}
52

    
53
message Scholix {
54
    optional string LinkPublicationDate = 1;
55
    repeated ScholixEntityId LinkProvider = 2;
56
    optional ScholixRelationship RelationshipType = 3;
57
    optional string LicenseURL = 4;
58
    optional ScholixResource Source = 5;
59
    optional ScholixResource Target = 6;
60
}
(5-5/5)