aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/files/datacite/datacite_result_17.json
Commit message (Collapse)AuthorAgeFilesLines
* datacite: get rid of schemaVersionMartin Czygan2020-01-091-2/+1
|
* datacite: reformat test cases and use jq . --sort-keysMartin Czygan2020-01-081-15/+15
|
* datacite: adding datacite-specific extra metadataMartin Czygan2020-01-071-18/+23
| | | | | | | | | | | | | * 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
* datacite: always include "datacite" key in extraMartin Czygan2020-01-041-2/+2
| | | | | | > always include extra values for the respective DOI registrars (datacite, crossref, jalc), even if they are empty ({}), to be used as a flag so we know which DOI registrar supplied the metadata.
* datacite: add conversion fixturesMartin Czygan2020-01-021-0/+20
The `test_datacite_conversions` function will compare an input (datacite) document to an expected output (release entity as JSON). This way, it should not be too hard to add more cases by adding: input, output - and by increasing the counter in the range loop within the test. To view input and result side by side with vim, change into the test directory and run: tests/files/datacite $ ./caseview.sh 18