Page MenuHomeSoftware Heritage

Review the deposit of CodeMeta metadata in xml (following SWORD V2 specs)
Open, NormalPublic

Description

At the moment deposited metadata are in xml format using a mix of ATOM and CodeMeta, as detailed in the docs:
https://docs.softwareheritage.org/devel/swh-deposit/metadata.html

There is a discrepancy, because CodeMeta vocabulary is only defined in JSON-LD and not in an XML schema.

I have discussed with @vlorentz to improve and facilitate the situation.

We have 2 options:

  1. translate the JSON-LD to an XML schema
  2. have a metadata-blob or codemeta property in the ATOM xml in which a codemeta.json file can be transferred as is, raw format.

The second option is easier to handle and might also be more appropriate to our new scenario with depositing only metadata.

This task can become a high priority, because we have the IPOL journal as a new SWORD client now. They are very eager to deposit published software artifacts.
At the moment I have explained how to create the xml, but I'm not satisfied of its unecessary complexity.

Also, HAL is planning on creating a codemeta.json export during the sprint (if it takes place), which is exactly the metadata-blob we want.

Task goal: choose an option and evaluate next steps for SWH deposit

Event Timeline

moranegg triaged this task as Normal priority.Mar 12 2020, 3:56 PM
moranegg created this task.
moranegg renamed this task from Update the deposit of metadata with a regular zip deposit to Review the deposit of CodeMeta metadata in xml (following SWORD V2 specs) .Apr 21 2020, 11:46 AM
moranegg claimed this task.
moranegg updated the task description. (Show Details)
moranegg added a project: SWORD deposit.