From f9c711f77bba992e6e9e1d75929d35e8da828f61 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 7 Jan 2020 15:20:25 +0100 Subject: datacite: adding datacite-specific extra metadata * attributes.metadataVersion * attributes.schemaVersion * attributes.version (source dependent values, follows suggestions in https://schema.datacite.org/meta/kernel-4.3/doc/DataCite-MetadataKernel_v4.3.pdf#page=26, but values vary) Furthermore: * attributes.types.resourceTypeGeneral * attributes.types.resourceType --- .../tests/files/datacite/datacite_result_17.json | 41 ++++++++++++---------- 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'python/tests/files/datacite/datacite_result_17.json') diff --git a/python/tests/files/datacite/datacite_result_17.json b/python/tests/files/datacite/datacite_result_17.json index 73b082d9..6e8c4e34 100644 --- a/python/tests/files/datacite/datacite_result_17.json +++ b/python/tests/files/datacite/datacite_result_17.json @@ -1,20 +1,25 @@ { - "extra": {"datacite": {}}, - "title": "gel_BSA-FITC_Markov_segmntation0343.tif", - "release_type": "dataset", - "release_stage": "published", - "release_year": 2018, - "ext_ids": { - "doi": "10.7910/dvn/tsqfwc/yytj22" - }, - "publisher": "Harvard Dataverse", - "contribs": [ - { - "index": 0, - "raw_name": "Di Giovanna, Antonino Paolo (University Of Florence)", - "role": "author" - } - ], - "refs": [], - "abstracts": [] + "extra": { + "datacite": { + "resourceTypeGeneral": "Dataset", + "schemaVersion": "http://datacite.org/schema/kernel-4" + } + }, + "title": "gel_BSA-FITC_Markov_segmntation0343.tif", + "release_type": "dataset", + "release_stage": "published", + "release_year": 2018, + "ext_ids": { + "doi": "10.7910/dvn/tsqfwc/yytj22" + }, + "publisher": "Harvard Dataverse", + "contribs": [ + { + "index": 0, + "raw_name": "Di Giovanna, Antonino Paolo (University Of Florence)", + "role": "author" + } + ], + "refs": [], + "abstracts": [] } -- cgit v1.2.3