diff --git a/src/main/java/eu/dnetlib/dhp/oa/model/community/CommunityResult.java b/src/main/java/eu/dnetlib/dhp/oa/model/community/CommunityResult.java index aa8c91c..47e383d 100644 --- a/src/main/java/eu/dnetlib/dhp/oa/model/community/CommunityResult.java +++ b/src/main/java/eu/dnetlib/dhp/oa/model/community/CommunityResult.java @@ -7,6 +7,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.github.imifou.jsonschema.module.addon.annotation.JsonSchema; import eu.dnetlib.dhp.oa.model.Result; +import eu.dnetlib.dhp.oa.model.graph.Organization; /** * extends eu.dnetlib.dhp.schema.dump.oaf.Result with the following parameters: - projects of type @@ -25,6 +26,10 @@ public class CommunityResult extends Result { @JsonSchema(description = "List of projects (i.e. grants) that (co-)funded the production ofn the research results") private List projects; + @JsonSchema(description = "List of organizations in an affiliation relation with the research results") + private List organizations; + + @JsonSchema( description = "Reference to a relevant research infrastructure, initiative or community (RI/RC) among those collaborating with OpenAIRE. Please see https://connect.openaire.eu") private List context; @@ -72,4 +77,11 @@ public class CommunityResult extends Result { this.context = context; } + public List getOrganizations() { + return organizations; + } + + public void setOrganizations(List organizations) { + this.organizations = organizations; + } }