Project

General

Profile

« Previous | Next » 

Revision 57283

[maven-release-plugin] copy for tag dnet-openaire-data-protos-3.9.5-proto250

View differences:

modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<parent>
4
		<groupId>eu.dnetlib</groupId>
5
		<artifactId>dnet45-parent</artifactId>
6
		<version>1.0.0</version>
7
		<relativePath />
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>dnet-openaire-data-protos</artifactId>
12
	<packaging>jar</packaging>
13
	<version>3.9.5-proto250</version>
14
	<scm>
15
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250</developerConnection>
16
	</scm>
17

  
18
	<properties>
19
		<!-- defined also in dnet-parent, here in case we need to override -->
20
		<google.protobuf.version>2.5.0</google.protobuf.version>
21
	</properties>
22

  
23
	<pluginRepositories>
24
		<pluginRepository>
25
			<id>dnet4-bootstrap-release</id>
26
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release/</url>
27
		</pluginRepository>
28
	</pluginRepositories>
29

  
30
	<build>
31
		<plugins>
32
			<plugin>
33
				<groupId>eu.dnetlib</groupId>
34
				<artifactId>protoc-jar-maven-plugin</artifactId>
35
				<version>1.1.0</version>
36
				<executions>
37
					<execution>
38
						<phase>generate-sources</phase>
39
						<goals>
40
							<goal>run</goal>
41
						</goals>
42
						<configuration>
43
							<protocVersion>${google.protobuf.version}</protocVersion>
44
							<inputDirectories>
45
								<include>src/main/resources</include>
46
							</inputDirectories>
47
							<outputDirectory>src/gen/java</outputDirectory>
48
						</configuration>
49
					</execution>
50
				</executions>
51
			</plugin>
52
<!--
53
			<plugin>
54
				<groupId>org.apache.maven.plugins</groupId>
55
				<artifactId>maven-jar-plugin</artifactId>
56
				<version>3.0.2</version>
57
				<extensions>false</extensions>
58
				<inherited>false</inherited>
59
				<configuration>
60
					<classifier>proto250</classifier>
61
				</configuration>
62
				<dependencies>
63
					<dependency>
64
						<groupId>com.google.protobuf</groupId>
65
						<artifactId>protobuf-java</artifactId>
66
						<version>${google.protobuf.version}</version>
67
					</dependency>
68
				</dependencies>
69
			</plugin>
70
-->
71
		</plugins>
72
	</build>
73
	<dependencies>
74
		<dependency>
75
			<groupId>com.google.protobuf</groupId>
76
			<artifactId>protobuf-java</artifactId>
77
			<version>${google.protobuf.version}</version>
78
		</dependency>		
79
	</dependencies>
80
</project>
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Project_Organization.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "ProjectOrganizationProtos";
7

  
8
message ProjectOrganization {
9

  
10
	optional Participation participation = 1;
11

  
12
	message Participation {
13

  
14
		enum RelName {
15
			isParticipant = 1;
16
			hasParticipant = 2;
17
		}
18

  
19
		required RelMetadata relMetadata = 1;
20
		optional string participantnumber = 2;
21
		optional float contribution = 3;
22
	}
23

  
24
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Project.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "FieldType.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "ProjectProtos";
7

  
8
message Project {
9

  
10
	optional Metadata metadata = 2;
11

  
12
	message Metadata {
13

  
14
		optional StringField websiteurl = 1;
15
		optional StringField code = 2;
16
		optional StringField acronym = 3;
17
		optional StringField title = 4;
18
		optional StringField startdate = 5;
19
		optional StringField enddate = 6;
20
		optional StringField callidentifier = 7;
21
		optional StringField keywords = 8;
22
		optional StringField duration = 9;
23
		optional StringField ecsc39 = 10;
24
		optional StringField oamandatepublications = 11;
25
		optional StringField ecarticle29_3 = 12;
26
		repeated StructuredProperty subjects = 14; 
27
		
28
		repeated StringField fundingtree = 15;
29

  
30
		optional Qualifier contracttype = 13;
31

  
32
		optional StringField optional1 = 16;
33
		optional StringField optional2 = 17;
34
		optional StringField jsonextrainfo = 18;
35

  
36
		optional StringField contactfullname = 19;
37
		optional StringField contactfax = 20;
38
		optional StringField contactphone = 21;
39
		optional StringField contactemail = 22;
40

  
41
		optional StringField summary = 23;
42
		optional StringField currency = 24;
43
		optional float totalcost = 25;
44
		optional float fundedamount = 26;
45

  
46
	}
47
	
48
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Result.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "FieldType.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "ResultProtos";
7

  
8
message Result {
9

  
10
	optional Metadata metadata = 2;
11
	
12
	repeated Instance instance = 6;
13
	
14
	repeated ExternalReference externalReference = 7;
15

  
16
	message Metadata {
17

  
18
		repeated Author author = 40;
19

  
20
		// resulttype allows subclassing results into publications | datasets | software
21
		optional Qualifier resulttype = 8;
22

  
23
		// common fields
24
		optional Qualifier language = 12;
25
		repeated Qualifier country = 33;
26

  
27
		repeated StructuredProperty subject = 1;
28
		repeated StructuredProperty title = 2;
29
		repeated StructuredProperty relevantdate = 3;
30

  
31
		repeated StringField description = 25;
32
		optional StringField dateofacceptance = 4;
33
		optional StringField publisher = 5;
34
		optional StringField embargoenddate = 6;
35
		repeated StringField source = 27;
36
		repeated StringField fulltext = 29; // remove candidate
37
		repeated StringField format = 21;
38
		repeated StringField contributor = 30;
39
		optional Qualifier resourcetype = 19;
40
		repeated StringField coverage = 43;
41

  
42
		repeated Context context = 28;
43

  
44
		optional Journal journal = 18;
45

  
46
		// dataset specific
47
		optional StringField storagedate = 9;
48
		optional StringField device = 26;
49
		optional StringField size = 20;
50
		optional StringField version = 22;
51
		optional StringField lastmetadataupdate = 23;
52
		optional StringField metadataversionnumber = 24;
53
		repeated GeoLocation geolocation = 44;
54

  
55
		// software specific
56
		repeated StringField documentationUrl = 35;
57
		repeated StructuredProperty license = 36;
58
		optional StringField codeRepositoryUrl = 38;
59
		optional Qualifier programmingLanguage = 39;
60

  
61
		// other research products specifics
62
		repeated StringField contactperson = 45;
63
		repeated StringField contactgroup = 41;
64
		repeated StringField tool = 42;
65

  
66
	}
67
	
68
	// <concept id="egi::vo::alice" />
69
	message Context {
70
		required string id = 1;
71
		repeated DataInfo dataInfo = 2;
72
	}
73
	
74
	message Instance {
75

  
76
		optional StringField license = 6;
77
		optional Qualifier accessright = 3;
78
		optional Qualifier instancetype = 4;
79
	
80
		optional KeyValue hostedby = 5;
81
		repeated string url = 9;
82

  
83
		// other research products specific
84
		optional string distributionlocation = 12;
85

  
86
		optional KeyValue collectedfrom = 10;
87
		optional StringField dateofacceptance = 11;
88
	}
89
	
90
	message ExternalReference {
91
	
92
		optional string sitename = 1;		// source
93
		optional string label = 2;			// title
94
		optional string url = 3;			// text()
95
		optional string description = 4;	// ?? not mapped yet ??
96
		optional Qualifier qualifier = 5;	// type
97
		optional string refidentifier = 6;	// site internal identifier
98
		optional string query = 7;			// maps the oaf:reference/@query attribute
99
		optional DataInfo dataInfo = 8;		// ExternalReferences might be also inferred
100
	}
101

  
102
	message GeoLocation {
103

  
104
		optional string point = 1;
105
		optional string box = 2;
106
		optional string place = 3;
107
	}
108

  
109
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/FieldType.proto
1
package eu.dnetlib.data.proto;
2

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

  
6
message StringField {
7

  
8
 	required string value = 1;
9
	optional DataInfo dataInfo = 2;
10
}
11

  
12
message BoolField {
13

  
14
 	required bool value = 1;
15
	optional DataInfo dataInfo = 2;
16
}
17

  
18
message IntField {
19

  
20
 	required int32 value = 1;
21
	optional DataInfo dataInfo = 2;
22
}
23

  
24
message StructuredProperty {
25

  
26
	required string value = 1;
27
	optional Qualifier qualifier = 2;
28
	optional DataInfo dataInfo = 3;
29
}
30

  
31
// Generic container for identified values, e.g:
32
//   <oaf:hostedBy name="Publications at Bielefeld University" id="opendoar::2294"/>
33
//   <oaf:collectedFrom name="Publications at Bielefeld University" id="opendoar::2294"/>
34
message KeyValue {
35

  
36
	required string key = 1;
37
	optional string value = 2;
38
	
39
	optional DataInfo dataInfo = 3;
40
}
41

  
42
message Qualifier {
43

  
44
	optional string classid = 1;
45
	optional string classname = 2;
46
	optional string schemeid = 3;
47
	optional string schemename = 4;
48
	
49
	optional DataInfo dataInfo = 5;
50
}
51

  
52
message DataInfo {
53

  
54
	optional bool invisible = 6 [default = false];
55
	optional bool inferred = 1;
56
	optional bool deletedbyinference = 2;
57
	optional string trust = 3;
58
	optional string inferenceprovenance = 4;
59

  
60
	required Qualifier provenanceaction = 5;
61
}
62

  
63
message OAIProvenance {
64

  
65
	optional OriginDescription originDescription = 1;
66

  
67
	message OriginDescription {
68
		
69
		optional string harvestDate = 1;
70
		optional bool altered = 2 [default = true];
71
		
72
		optional string baseURL = 3;
73
		optional string identifier = 4;
74
		optional string datestamp = 5;
75
		optional string metadataNamespace = 6;
76
		
77
		optional OriginDescription originDescription = 7;		
78
	}
79
}
80

  
81
message ExtraInfo {
82

  
83
	required string name = 1;
84
	required string typology = 2;
85
	required string provenance = 3;
86
	optional string trust = 4;
87
	
88
	// json containing a Citation or Statistics
89
	optional string value = 5;
90

  
91
}
92

  
93
message Author {
94

  
95
	required string fullname = 1;
96

  
97
	optional string name = 2;
98
	optional string surname = 3;
99

  
100
	required int32 rank = 4;
101

  
102
	repeated KeyValue pid = 5;
103
	repeated StringField affiliation = 6;
104
}
105

  
106
message Journal {
107
	optional string name = 1;
108
	optional string issnPrinted = 2;
109
	optional string issnOnline = 3;
110
	optional string issnLinking = 4;
111

  
112
	optional string ep = 6;
113
	optional string iss = 7;
114
	optional string sp = 8;
115
	optional string vol = 9;
116

  
117
	optional string edition = 10;
118
	optional string conferenceplace = 11;
119
	optional string conferencedate = 12;
120

  
121
	optional DataInfo dataInfo = 5;
122
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Datasource.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "FieldType.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "DatasourceProtos";
7

  
8
message Datasource {
9

  
10
	optional Metadata metadata = 2;
11

  
12
	message Metadata {
13
	
14
		// common fields
15
		optional Qualifier datasourcetype = 15;
16
		optional Qualifier openairecompatibility = 17;
17

  
18
		optional StringField officialname = 1;
19
		optional StringField englishname = 2;
20
		optional StringField websiteurl = 3;
21
		optional StringField logourl = 4;
22
		optional StringField contactemail = 5;
23
		optional StringField namespaceprefix = 7;
24

  
25
		optional StringField latitude = 18;
26
		optional StringField longitude = 19;
27
		optional StringField dateofvalidation = 20;
28
		optional StringField description = 21;
29
		
30
		repeated StructuredProperty subjects = 45; 
31

  
32
		// opendoar specific fields (od*)
33
		optional StringField odnumberofitems = 9;
34
		optional StringField odnumberofitemsdate = 10;
35
		optional StringField odpolicies = 12;
36

  
37
		repeated StringField odlanguages = 13;
38
		repeated StringField odcontenttypes = 14;
39
		repeated StringField accessinfopackage = 6;
40
		
41
		// re3data fields
42
		optional StringField releasestartdate = 31; 
43
		optional StringField releaseenddate = 32;
44
		optional StringField missionstatementurl = 33;
45
		optional BoolField dataprovider = 34;
46
		optional BoolField serviceprovider = 35;
47
		optional StringField databaseaccesstype = 36; // {open, restricted or closed} 
48
 		optional StringField datauploadtype = 37; // {open, restricted or closed} 
49
 		optional StringField databaseaccessrestriction = 38; // {feeRequired, registration, other} 
50
 		optional StringField datauploadrestriction = 39; // {feeRequired, registration, other} 
51
 		optional BoolField versioning = 40; 
52
 		optional StringField citationguidelineurl = 41; 
53
 		optional StringField qualitymanagementkind = 42; // {yes, no, uknown} 
54
 		optional StringField pidsystems = 43; 
55
 		optional StringField certificates = 44;		
56

  
57
		repeated KeyValue policies = 46; 
58
		optional Journal journal = 47;
59
		
60

  
61
	}
62

  
63
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/OafParent.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "Kind.proto";
4
import "FieldType.proto";
5

  
6
// for Oafentity
7
import "Type.proto";
8
import "Datasource.proto";
9
import "Organization.proto";
10
import "Project.proto";
11
import "Result.proto";
12

  
13
// for OafRel
14
import "RelType.proto";
15
import "Datasource_Organization.proto";
16
import "Project_Organization.proto";
17
import "Result_Organization.proto";
18
import "Result_Project.proto";
19
import "Result_Result.proto";
20
import "Organization_Organization.proto";
21

  
22
option java_package = "eu.dnetlib.data.proto";
23
option java_outer_classname = "OafProtos";
24

  
25
message Oaf {
26
  required Kind kind = 1;
27

  
28
  optional OafEntity entity = 2;
29
  optional OafRel rel = 3;
30

  
31
  optional DataInfo dataInfo = 4;
32

  
33
	// used to mark the last update time of this object
34
  optional sfixed64 lastupdatetimestamp = 5;
35
}
36

  
37
message OafEntity {
38
  required Type type = 1;
39
  required string id = 12;
40
  
41
  repeated string originalId = 8;
42
  repeated KeyValue collectedfrom = 9;
43
  
44
  repeated StructuredProperty pid = 10;
45
  optional string dateofcollection = 11;
46
  optional string dateoftransformation = 13;
47

  
48
  /* Any relation that we want to bundle together with this entity.
49
   It's intended to be used only in temporary values in map/red jobs (sequence files, ...)
50
   and never persisted values stored in  HBase. */
51
  repeated OafRel cachedRel = 2;
52
  repeated Oaf cachedOafRel = 18;
53

  
54
  optional Datasource datasource = 3;
55
  optional Organization organization = 4;
56
  optional Project project = 6;
57
  optional Result result = 7;
58
  
59
  repeated OafEntity children = 16;
60
  
61
  repeated ExtraInfo extraInfo = 15;
62
  
63
  optional OAIProvenance oaiprovenance = 17;
64
}
65

  
66

  
67
message OafRel {
68
  required RelType relType = 1;
69
  required SubRelType subRelType = 19;
70
  required string relClass = 20;	// one among the SubRel names, e.g. Provision.RelName.isProvidedBy
71

  
72
  required string source = 2;
73
  required string target = 3;
74

  
75
  /* if true then is a "child" */
76
  required bool child = 4;
77

  
78
  optional OafEntity cachedTarget = 5;
79

  
80
  // needed to have more information that is not included in cachedTarget.
81
  optional Oaf cachedOafTarget = 8;
82

  
83
  // Datamodel rels
84
  optional DatasourceOrganization datasourceOrganization = 6;
85
  optional ProjectOrganization projectOrganization = 9;
86
  optional ResultOrganization resultOrganization = 10;
87
  optional ResultProject resultProject = 11;
88
  optional ResultResult resultResult = 16;
89
  optional OrganizationOrganization organizationOrganization = 17;
90

  
91
  repeated KeyValue collectedfrom = 21;
92

  
93
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Type.proto
1
package eu.dnetlib.data.proto;
2

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

  
6
// entity tags are used as rowkey prefixes on hbase
7
enum Type {
8
	datasource = 10;
9
	organization = 20;
10
	project = 40;
11
	result = 50;
12
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/RelType.proto
1
package eu.dnetlib.data.proto;
2

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

  
6
enum RelType {
7

  
8
	// Datamodel rels
9
	datasourceOrganization = 1;
10
	projectOrganization = 4;
11
	resultOrganization = 5;
12
	resultProject = 6;
13
	resultResult = 9;
14
	organizationOrganization = 11;
15

  
16
}
17

  
18
enum SubRelType {
19

  
20
	provision = 1;			// datasourceOrganization
21
	participation = 4;		// projectOrganization
22
	outcome = 6;			// resultProject
23
	similarity = 8;			// resultResult
24
	publicationDataset = 9; // resultResult
25
	affiliation = 12;		// resultOrganizaiton	
26
	
27
	dedup = 10;				// resultResult | organizationOrganization
28
	dedupSimilarity = 11;	// resultResult | organizationOrganization
29

  
30
	supplement = 13;        // resultResult
31
	part = 15;              // resultResult
32

  
33
	version = 16;			// resultResult
34

  
35
	relationship = 17;		// catch all
36
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Result_Result.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4
import "Dedup.proto";
5
import "DedupSimilarity.proto";
6

  
7
option java_package = "eu.dnetlib.data.proto";
8
option java_outer_classname = "ResultResultProtos";
9

  
10
message ResultResult {
11

  
12
	//choice of the possible subtypes
13
	optional Similarity similarity = 2;
14
	optional PublicationDataset publicationDataset = 3;
15
 	optional Dedup dedup = 4;
16
  	optional DedupSimilarity dedupSimilarity = 5;
17

  
18
  	optional Supplement supplement = 6;
19
  	optional Part part = 7;
20

  
21
	optional Relationship relationship = 8;
22

  
23
	optional SoftwareSoftware softwareSoftware = 9;
24
	
25
	message Similarity {
26
	
27
		enum RelName {
28
			isAmongTopNSimilarDocuments = 1;
29
			hasAmongTopNSimilarDocuments = 2;
30
		}	
31

  
32
		required RelMetadata relMetadata = 1;
33
		
34
		// level of similarity: coefficient from [0, 1] range,
35
		// the greater the number, the more similar the documents
36
    	optional float similarity = 2;
37

  
38
    	enum Type {
39
			STANDARD = 1;
40
			WEBUSAGE = 2;
41
    	}
42

  
43
		// similarity type
44
    	optional Type type = 3 [default = STANDARD];		
45
	}
46

  
47
	message PublicationDataset {
48
	
49
		enum RelName {
50
			isRelatedTo = 1;
51
		}		
52
	
53
		required RelMetadata relMetadata = 1;
54
	}
55

  
56
	message Supplement {
57

  
58
        enum RelName {
59
            isSupplementTo = 1;
60
            isSupplementedBy = 2;
61
        }
62

  
63
        required RelMetadata relMetadata = 1;
64
    }
65

  
66
	message Part {
67

  
68
        enum RelName {
69
            isPartOf = 1;
70
            hasPart = 2;
71
        }
72

  
73
        required RelMetadata relMetadata = 1;
74
    }
75

  
76
	message SoftwareSoftware {
77

  
78
		enum RelName {
79
			isVersionOf = 1;
80
		}
81

  
82
		required RelMetadata relMetadata = 1;
83
	}
84

  
85
	message Relationship {
86

  
87
		enum RelName {
88
			isRelatedTo = 1;
89
		}
90

  
91
		required RelMetadata relMetadata = 1;
92
	}
93
	
94
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Result_Organization.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "ResultOrganizationProtos";
7

  
8
message ResultOrganization {
9

  
10
	optional Affiliation affiliation = 1;
11
	
12
	message Affiliation {
13

  
14
		enum RelName {
15
			isAuthorInstitutionOf = 1; 	// Organization --> Result
16
			hasAuthorInstitution = 2;	// Result --> Organization
17
		}
18

  
19
		required RelMetadata relMetadata = 1;
20
	
21
	}
22

  
23
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Datasource_Organization.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "DatasourceOrganizationProtos";
7

  
8
message DatasourceOrganization {
9

  
10
	optional Provision provision = 1;
11
	
12
	message Provision {
13
	
14
		enum RelName {
15
			isProvidedBy = 1;
16
			provides = 2;
17
		}
18

  
19
		required RelMetadata relMetadata = 1;
20
	
21
	}
22

  
23
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/RelMetadata.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "FieldType.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "RelMetadataProtos";
7

  
8
message RelMetadata {
9

  
10
	optional Qualifier semantics = 1;
11

  
12
	optional string startdate = 3;
13
	optional string enddate = 4;
14

  
15
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Organization_Organization.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4
import "Dedup.proto";
5
import "DedupSimilarity.proto";
6

  
7
option java_package = "eu.dnetlib.data.proto";
8
option java_outer_classname = "OrganizationOrganizationProtos";
9

  
10
message OrganizationOrganization {
11

  
12
 	optional Dedup dedup = 1;
13
  	optional DedupSimilarity dedupSimilarity = 2;
14

  
15
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Dedup.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "DedupProtos";
7

  
8
message Dedup {
9

  
10
	enum RelName {
11
		isMergedIn = 1;
12
		merges = 2;
13
	}
14
		
15
	required RelMetadata relMetadata = 1;
16
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Organization.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "FieldType.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "OrganizationProtos";
7

  
8
message Organization {
9

  
10
	optional Metadata metadata = 2;
11

  
12
	message Metadata {
13
		optional StringField legalshortname = 1;
14
		optional StringField legalname = 2;
15
		optional StringField websiteurl = 3;
16
		optional StringField logourl = 4;
17
		optional StringField eclegalbody = 5;
18
		optional StringField eclegalperson = 6;
19
		optional StringField ecnonprofit = 7;
20
		optional StringField ecresearchorganization = 8;
21
		optional StringField echighereducation = 9;
22
		optional StringField ecinternationalorganizationeurinterests = 10;
23
		optional StringField ecinternationalorganization = 11;
24
		optional StringField ecenterprise = 12;
25
		optional StringField ecsmevalidated = 13;
26
		optional StringField ecnutscode = 14;
27

  
28
		optional Qualifier country = 16;
29

  
30
	}
31

  
32
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Result_Project.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "ResultProjectProtos";
7

  
8
message ResultProject {
9

  
10
	optional Outcome outcome = 1;
11
	
12
	message Outcome {
13

  
14
		enum RelName {
15
			isProducedBy = 1;
16
			produces = 2;
17
		}
18

  
19
		required RelMetadata relMetadata = 1;
20
	
21
	}
22

  
23
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/DedupSimilarity.proto
1
package eu.dnetlib.data.proto;
2

  
3
import "RelMetadata.proto";
4

  
5
option java_package = "eu.dnetlib.data.proto";
6
option java_outer_classname = "DedupSimilarityProtos";
7

  
8
message DedupSimilarity {
9

  
10
	enum RelName {
11
		isSimilarTo = 1;
12
	}
13

  
14
	required RelMetadata relMetadata = 1;
15

  
16
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/SpecialTrust.proto
1
package eu.dnetlib.data.proto;
2

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

  
6
enum SpecialTrust {
7
	INFINITE = 1;
8
	NEUTRAL = 2;
9
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/src/main/resources/eu/dnetlib/data/proto/Kind.proto
1
package eu.dnetlib.data.proto;
2

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

  
6
enum Kind {
7
	entity = 1;
8
	relation = 2;
9
}
modules/dnet-openaire-data-protos/tags/dnet-openaire-data-protos-3.9.5-proto250/deploy.info
1
{"type_source": "SVN", "goal": "package -U -T 4C source:jar", "url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-data-protos/trunk/", "deploy_repository": "dnet4-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-snapshots", "name": "dnet-openaire-data-protos"}

Also available in: Unified diff