Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding code blocks

...

The default submission-forms.xml file configures the form fields that allow the creation of the specific OpenAIRE entities and their relationships. In order to use those forms you need to configure your item-submission.xml and add these to the <submission-map>:


Code Block
titleitem-submission.xml
<name-map collection-handle="123456789/2" submission-name="openAIREPublicationSubmission" /> 
<name-map collection-handle="123456789/3" submission-name="openAIREPersonSubmission" /> 
<name-map collection-handle="123456789/5" submission-name="openAIREProjectSubmission" /> 
<name-map collection-handle="123456789/4" submission-name="openAIREOrganizationSubmission" />

...


Please note that my collection-handle="123456789/4" will be different in your system and it refers to the collection that will gather a specific Entity type like Publications, Persons, Projects or Organizations.

To load OpenAIRE Entities model you must firstly run the following:

Code Block
titleitem-submission.xml
[/dspace]/bin/dspace initialize-entities -f [/dspace]/config/registries/openaire4-relationships.xml


 and load the required fields

Code Block
titleitem-submission.xml
[/dspace]/bin/dspace registry-loader -metadata [/dspace]/config/registries/openaire4-types.xml 
[/dspace]/bin/dspace registry-loader -metadata [/dspace]/config/registries/datacite-types.xml

After those steps your repository will have the required fields and entities for the compliancy.

...


This additional virtual metadata will enable to represent something like this in this XML in the oai_openaire metadata format, where you have, for instance, author identifiers:

Code Block
titleitem-submission.xml
<datacite:creators>
 

...

<datacite:creator>
   

...

<datacite:creatorName>Evans, R.J.</datacite:creatorName>
   

...

<datacite:affiliation>Institute of Science and Technology</datacite:affiliation>

...

   <datacite:nameIdentifier nameIdentifierScheme="ORCID"

...

 

...

schemeURI="http://orcid.org">

...

 1234-1234-1234-1234

...

 

...

</datacite:nameIdentifier>
 

...

</datacite:creator> 
</datacite:creators>

Then you may need to run the OAI import from the command line with the cleaning cache parameter to reload all data to OAI:
 [/dspace/]/bin/dspace oai import -c

...