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 = "ScholixObjectProtos";
5

    
6
message ScholixIdentifier {
7
    required string identifier = 1;
8
    required string schema = 2;
9
}
10

    
11
message ScholixEntityId {
12
    required string name = 1;
13
    repeated ScholixIdentifier identifiers = 2;
14
}
15

    
16
message ScholixRelationship {
17
    required string name = 1;
18
    optional string schema = 2;
19
    optional string inverse = 3;
20
}
21

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

    
28
message ScholixResource {
29
    repeated ScholixIdentifier identifier = 1;
30
    required string dnetIdentifier = 9;
31
    required string objectType = 2;
32
    optional string objectSubType = 3;
33
    optional string title = 4;
34
    repeated ScholixEntityId creator = 5;
35
    optional string publicationDate = 6;
36
    repeated ScholixEntityId publisher = 7;
37
    repeated ScholixCollectedFrom collectedFrom = 8;
38
}
39

    
40
message Scholix {
41

    
42
    optional string publicationDate = 1;
43
    repeated ScholixEntityId publisher = 2;
44
    repeated ScholixEntityId linkprovider = 3;
45
    optional ScholixRelationship relationship = 4;
46
    optional ScholixResource source = 5;
47
    optional ScholixResource target = 6;
48
    optional string identifier = 7;
49

    
50
}
(4-4/5)