aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:54 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:54 +0100
commit96e38edde79735b4080ec08d57e9f54759e97b61 (patch)
tree2798719086819b747adab8d48adbb0c59b5ac9f5
parentb87ba235c0a7da15d70c5ab7fa367d7b9c1fb981 (diff)
downloadfatcat-96e38edde79735b4080ec08d57e9f54759e97b61.tar.gz
fatcat-96e38edde79735b4080ec08d57e9f54759e97b61.zip
datacite: add conversion fixtures
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
-rwxr-xr-xpython/tests/files/datacite/caseview.sh17
-rw-r--r--python/tests/files/datacite/datacite_doc_00.json140
-rw-r--r--python/tests/files/datacite/datacite_doc_01.json81
-rw-r--r--python/tests/files/datacite/datacite_doc_02.json85
-rw-r--r--python/tests/files/datacite/datacite_doc_03.json70
-rw-r--r--python/tests/files/datacite/datacite_doc_04.json80
-rw-r--r--python/tests/files/datacite/datacite_doc_05.json598
-rw-r--r--python/tests/files/datacite/datacite_doc_06.json83
-rw-r--r--python/tests/files/datacite/datacite_doc_07.json120
-rw-r--r--python/tests/files/datacite/datacite_doc_08.json105
-rw-r--r--python/tests/files/datacite/datacite_doc_09.json130
-rw-r--r--python/tests/files/datacite/datacite_doc_10.json83
-rw-r--r--python/tests/files/datacite/datacite_doc_11.json86
-rw-r--r--python/tests/files/datacite/datacite_doc_12.json103
-rw-r--r--python/tests/files/datacite/datacite_doc_13.json86
-rw-r--r--python/tests/files/datacite/datacite_doc_14.json166
-rw-r--r--python/tests/files/datacite/datacite_doc_15.json79
-rw-r--r--python/tests/files/datacite/datacite_doc_16.json80
-rw-r--r--python/tests/files/datacite/datacite_doc_17.json72
-rw-r--r--python/tests/files/datacite/datacite_doc_18.json79
-rw-r--r--python/tests/files/datacite/datacite_doc_19.json79
-rw-r--r--python/tests/files/datacite/datacite_doc_20.json42
-rw-r--r--python/tests/files/datacite/datacite_doc_21.json42
-rw-r--r--python/tests/files/datacite/datacite_doc_22.json44
-rw-r--r--python/tests/files/datacite/datacite_doc_23.json44
-rw-r--r--python/tests/files/datacite/datacite_result_00.json87
-rw-r--r--python/tests/files/datacite/datacite_result_01.json32
-rw-r--r--python/tests/files/datacite/datacite_result_02.json36
-rw-r--r--python/tests/files/datacite/datacite_result_03.json19
-rw-r--r--python/tests/files/datacite/datacite_result_04.json28
-rw-r--r--python/tests/files/datacite/datacite_result_05.json530
-rw-r--r--python/tests/files/datacite/datacite_result_06.json26
-rw-r--r--python/tests/files/datacite/datacite_result_07.json73
-rw-r--r--python/tests/files/datacite/datacite_result_08.json53
-rw-r--r--python/tests/files/datacite/datacite_result_09.json35
-rw-r--r--python/tests/files/datacite/datacite_result_10.json32
-rw-r--r--python/tests/files/datacite/datacite_result_11.json21
-rw-r--r--python/tests/files/datacite/datacite_result_12.json44
-rw-r--r--python/tests/files/datacite/datacite_result_13.json28
-rw-r--r--python/tests/files/datacite/datacite_result_14.json110
-rw-r--r--python/tests/files/datacite/datacite_result_15.json22
-rw-r--r--python/tests/files/datacite/datacite_result_16.json31
-rw-r--r--python/tests/files/datacite/datacite_result_17.json20
-rw-r--r--python/tests/files/datacite/datacite_result_18.json15
-rw-r--r--python/tests/files/datacite/datacite_result_19.json15
-rw-r--r--python/tests/files/datacite/datacite_result_20.json14
-rw-r--r--python/tests/files/datacite/datacite_result_21.json15
-rw-r--r--python/tests/files/datacite/datacite_result_22.json22
-rw-r--r--python/tests/files/datacite/datacite_result_23.json22
-rw-r--r--python/tests/import_datacite.py26
50 files changed, 3949 insertions, 1 deletions
diff --git a/python/tests/files/datacite/caseview.sh b/python/tests/files/datacite/caseview.sh
new file mode 100755
index 00000000..d1e98c04
--- /dev/null
+++ b/python/tests/files/datacite/caseview.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Open input and output in vertical vim split.
+#
+# $ caseview 13
+#
+view() {
+ if [ -z "$1" ]; then
+ echo usage: "$0" CASE-NUMBER
+ exit 1
+ else
+ padded=$(printf "%02d\n" "$1")
+ vim -O "datacite_doc_$padded.json" "datacite_result_$padded.json"
+ fi
+}
+
+view "$@"
diff --git a/python/tests/files/datacite/datacite_doc_00.json b/python/tests/files/datacite/datacite_doc_00.json
new file mode 100644
index 00000000..248f525f
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_00.json
@@ -0,0 +1,140 @@
+{
+ "id": "10.1007/s10870-008-9413-z",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.1007/s10870-008-9413-z",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.1007/s10870-008-9413-z",
+ "identifierType": "DOI"
+ },
+ {
+ "identifier": "s10870-008-9413-z",
+ "identifierType": "Publisher ID"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Li, Qian-Jin",
+ "nameType": "Personal",
+ "givenName": "Qian-Jin",
+ "familyName": "Li",
+ "affiliation": []
+ },
+ {
+ "name": "Yang, Chun-Long",
+ "nameType": "Personal",
+ "givenName": "Chun-Long",
+ "familyName": "Yang",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(4-nitrophenyl)thiourea"
+ }
+ ],
+ "publisher": "Springer Science and Business Media LLC",
+ "container": {
+ "type": "Journal",
+ "issue": "12",
+ "title": "Journal of Chemical Crystallography",
+ "volume": "38",
+ "lastPage": "930",
+ "firstPage": "927",
+ "identifier": "1074-1542",
+ "identifierType": "ISSN"
+ },
+ "publicationYear": 2008,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2008-05-30",
+ "dateType": "Issued"
+ },
+ {
+ "date": "2019-05-31T04:04:23Z",
+ "dateType": "Updated"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "JOUR",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "JournalArticle",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [
+ {
+ "relationType": "IsPartOf",
+ "relatedIdentifier": "1074-1542",
+ "resourceTypeGeneral": "Collection",
+ "relatedIdentifierType": "ISSN"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1016/j.bmcl.2005.09.033",
+ "relatedIdentifierType": "DOI"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1016/s0022-1139(02)00330-5",
+ "relatedIdentifierType": "DOI"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1016/s0010-8545(01)00337-x",
+ "relatedIdentifierType": "DOI"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1016/j.tetlet.2005.06.135",
+ "relatedIdentifierType": "DOI"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1039/p298700000s1",
+ "relatedIdentifierType": "DOI"
+ },
+ {
+ "relationType": "References",
+ "relatedIdentifier": "10.1002/anie.199515551",
+ "relatedIdentifierType": "DOI"
+ }
+ ],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [
+ {
+ "rightsUri": "http://www.springer.com/tdm"
+ }
+ ],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://link.springer.com/10.1007/s10870-008-9413-z",
+ "contentUrl": null,
+ "metadataVersion": 1,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": "levriero",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2019-06-18T14:52:19.000Z",
+ "registered": null,
+ "published": "2008",
+ "updated": "2019-08-03T00:03:40.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "crossref.citations",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_01.json b/python/tests/files/datacite/datacite_doc_01.json
new file mode 100644
index 00000000..c4ef6e45
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_01.json
@@ -0,0 +1,81 @@
+{
+ "id": "10.11588/diglit.25558.39",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.11588/diglit.25558.39",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.11588/diglit.25558.39",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Dargenty, G.",
+ "nameType": "Personal",
+ "givenName": "G.",
+ "familyName": "Dargenty",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "lang": "de",
+ "title": "Ferdinand Gaillard, [1]: né à Paris le 16 janvier 1834, mort à Paris le 19 janvier 1887"
+ }
+ ],
+ "publisher": "University Library Heidelberg",
+ "container": {},
+ "publicationYear": 1887,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1887",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "fre",
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "DigitalisatDigital copy",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [
+ {
+ "lang": "de",
+ "rights": "Standard (Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen) - http://www.ub.uni-heidelberg.de/helios/digi/nutzung/Welcome.html"
+ }
+ ],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://digi.ub.uni-heidelberg.de/diglit/art1887_1/0172",
+ "contentUrl": null,
+ "metadataVersion": 4,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2016-12-08T07:43:15.000Z",
+ "registered": "2016-12-08T07:43:15.000Z",
+ "published": "1887",
+ "updated": "2019-08-02T14:27:33.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "gesis.ubhd",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_02.json b/python/tests/files/datacite/datacite_doc_02.json
new file mode 100644
index 00000000..8b9a594e
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_02.json
@@ -0,0 +1,85 @@
+{
+ "id": "10.11588/diglit.37715.57",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.11588/diglit.37715.57",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.11588/diglit.37715.57",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Weyersberg, Albert",
+ "nameType": "Personal",
+ "givenName": "Albert",
+ "familyName": "Weyersberg",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "lang": "de",
+ "title": "Solinger Schwertschmiede-Familien, [4]"
+ }
+ ],
+ "publisher": "University Library Heidelberg",
+ "container": {},
+ "publicationYear": 1897,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1897",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "ger",
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "DigitalisatDigital copy",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [
+ {
+ "lang": "de",
+ "rights": "Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen - https://creativecommons.org/licenses/by-sa/3.0/de/"
+ },
+ {
+ "lang": "en",
+ "rights": "Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen - https://creativecommons.org/licenses/by-sa/3.0/"
+ }
+ ],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://digi.ub.uni-heidelberg.de/diglit/zhwk1897_1899/0131",
+ "contentUrl": null,
+ "metadataVersion": 2,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2018-11-29T12:04:12.000Z",
+ "registered": "2018-11-29T12:04:13.000Z",
+ "published": "1897",
+ "updated": "2019-08-02T21:31:04.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "gesis.ubhd",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_03.json b/python/tests/files/datacite/datacite_doc_03.json
new file mode 100644
index 00000000..e77a359c
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_03.json
@@ -0,0 +1,70 @@
+{
+ "id": "10.13140/rg.2.2.30434.53446",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.13140/rg.2.2.30434.53446",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.13140/rg.2.2.30434.53446",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Mastura Yahya",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "midterm ah30903"
+ }
+ ],
+ "publisher": "Unpublished",
+ "container": {},
+ "publicationYear": 2016,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2016",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "ms",
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://rgdoi.net/10.13140/RG.2.2.30434.53446",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2016-11-03T09:07:08.000Z",
+ "registered": "2016-11-03T09:07:09.000Z",
+ "published": "2016",
+ "updated": "2019-08-02T12:51:15.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "rg.rg",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_04.json b/python/tests/files/datacite/datacite_doc_04.json
new file mode 100644
index 00000000..8655a26a
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_04.json
@@ -0,0 +1,80 @@
+{
+ "id": "10.14288/1.0080520",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.14288/1.0080520",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.14288/1.0080520",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Nicollerat, Marc Andre",
+ "nameType": "Personal",
+ "givenName": "Marc Andre",
+ "familyName": "Nicollerat",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "On chain maps inducing isomorphisms in homology"
+ }
+ ],
+ "publisher": "University of British Columbia",
+ "container": {},
+ "publicationYear": 1973,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1973",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "en",
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "Text",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "description": "Let A be an abelian category, I the full subcategory of A consisting of injective objects of A, and K(A) the category whose objects are cochain complexes of elements of A, and whose morphisms are homotopy classes of cochain maps. In (5), lemma 4.6., p. 42, R. Hartshorne has proved that, under certain conditions, a cochain complex X˙ ε. |KA)| can be embedded in a complex I˙ ε. |K(I)| in such a way that I˙ has the same cohomology as X˙. In Chapter I we show that the construction given in the two first parts of Hartshorne's Lemma is natural i.e. there exists a functor J : K(A) → K(I) and a natural transformation [formula omitted] (where E : K(I) → K(A) is the embedding functor) such that [formula omitted] is injective and induces isomorphism in cohomology. The question whether the construction given in the third part of the lemma is functorial is still open. We also prove that J is left adjoint to E, so that K(I) is a reflective subcategory of K(A). In the special case where A is a category [formula omitted] of left A-modules, and [formula omitted] the category of cochain complexes in [formula omitted] and cochain maps (not homotopy classes), we prove the existence of a functor [formula omitted] In Chapter II we study the natural homomorphism [formula omitted] where A, B are rings, and M, L, N modules or chain complexes. In particular we give several sufficient conditions under which v is an isomorphism, or induces isomorphism in homology. In the appendix we give a detailed proof of Hartshorne's Lemma. We think that this is useful, as no complete proof is, to our knowledge, to be found in the literature.",
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://doi.library.ubc.ca/10.14288/1.0080520",
+ "contentUrl": null,
+ "metadataVersion": 5,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2015-11-11T11:12:34.000Z",
+ "registered": "2015-11-11T11:12:35.000Z",
+ "published": "1973",
+ "updated": "2019-08-02T09:43:14.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "cisti.ubc",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_05.json b/python/tests/files/datacite/datacite_doc_05.json
new file mode 100644
index 00000000..75e68e9d
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_05.json
@@ -0,0 +1,598 @@
+{
+ "id": "10.15156/bio/sh409843.07fu",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.15156/bio/sh409843.07fu",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.15156/bio/sh409843.07fu",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Kõljalg, Urmas",
+ "nameType": "Personal",
+ "givenName": "Urmas",
+ "familyName": "Kõljalg",
+ "affiliation": []
+ },
+ {
+ "name": "Abarenkov, Kessy",
+ "nameType": "Personal",
+ "givenName": "Kessy",
+ "familyName": "Abarenkov",
+ "affiliation": []
+ },
+ {
+ "name": "Nilsson, R. Henrik",
+ "nameType": "Personal",
+ "givenName": "R. Henrik",
+ "familyName": "Nilsson",
+ "affiliation": []
+ },
+ {
+ "name": "Larsson, Karl-Henrik",
+ "nameType": "Personal",
+ "givenName": "Karl-Henrik",
+ "familyName": "Larsson",
+ "affiliation": []
+ },
+ {
+ "name": "Aas, Anders Bjørnsgard",
+ "nameType": "Personal",
+ "givenName": "Anders Bjørnsgard",
+ "familyName": "Aas",
+ "affiliation": []
+ },
+ {
+ "name": "Adams, Rachel",
+ "nameType": "Personal",
+ "givenName": "Rachel",
+ "familyName": "Adams",
+ "affiliation": []
+ },
+ {
+ "name": "Alves, Artur",
+ "nameType": "Personal",
+ "givenName": "Artur",
+ "familyName": "Alves",
+ "affiliation": []
+ },
+ {
+ "name": "Ammirati, Joseph F.",
+ "nameType": "Personal",
+ "givenName": "Joseph F.",
+ "familyName": "Ammirati",
+ "affiliation": []
+ },
+ {
+ "name": "Arnold, A. Elizabeth",
+ "nameType": "Personal",
+ "givenName": "A. Elizabeth",
+ "familyName": "Arnold",
+ "affiliation": []
+ },
+ {
+ "name": "Bahram, Mohammad",
+ "nameType": "Personal",
+ "givenName": "Mohammad",
+ "familyName": "Bahram",
+ "affiliation": []
+ },
+ {
+ "name": "Bengtsson-Palme, Johan",
+ "nameType": "Personal",
+ "givenName": "Johan",
+ "familyName": "Bengtsson-Palme",
+ "affiliation": []
+ },
+ {
+ "name": "Berlin, Anna",
+ "nameType": "Personal",
+ "givenName": "Anna",
+ "familyName": "Berlin",
+ "affiliation": []
+ },
+ {
+ "name": "Botnen, Synnøve",
+ "nameType": "Personal",
+ "givenName": "Synnøve",
+ "familyName": "Botnen",
+ "affiliation": []
+ },
+ {
+ "name": "Bourlat, Sarah",
+ "nameType": "Personal",
+ "givenName": "Sarah",
+ "familyName": "Bourlat",
+ "affiliation": []
+ },
+ {
+ "name": "Cheeke, Tanya",
+ "nameType": "Personal",
+ "givenName": "Tanya",
+ "familyName": "Cheeke",
+ "affiliation": []
+ },
+ {
+ "name": "Dima, Bálint",
+ "nameType": "Personal",
+ "givenName": "Bálint",
+ "familyName": "Dima",
+ "affiliation": []
+ },
+ {
+ "name": "Drenkhan, Rein",
+ "nameType": "Personal",
+ "givenName": "Rein",
+ "familyName": "Drenkhan",
+ "affiliation": []
+ },
+ {
+ "name": "Duarte, Camila",
+ "nameType": "Personal",
+ "givenName": "Camila",
+ "familyName": "Duarte",
+ "affiliation": []
+ },
+ {
+ "name": "Dueñas, Margarita",
+ "nameType": "Personal",
+ "givenName": "Margarita",
+ "familyName": "Dueñas",
+ "affiliation": []
+ },
+ {
+ "name": "Eberhardt, Ursula",
+ "nameType": "Personal",
+ "givenName": "Ursula",
+ "familyName": "Eberhardt",
+ "affiliation": []
+ },
+ {
+ "name": "Friberg, Hanna",
+ "nameType": "Personal",
+ "givenName": "Hanna",
+ "familyName": "Friberg",
+ "affiliation": []
+ },
+ {
+ "name": "Frøslev, Tobias G.",
+ "nameType": "Personal",
+ "givenName": "Tobias G.",
+ "familyName": "Frøslev",
+ "affiliation": []
+ },
+ {
+ "name": "Garnica, Sigisfredo",
+ "nameType": "Personal",
+ "givenName": "Sigisfredo",
+ "familyName": "Garnica",
+ "affiliation": []
+ },
+ {
+ "name": "Geml, József",
+ "nameType": "Personal",
+ "givenName": "József",
+ "familyName": "Geml",
+ "affiliation": []
+ },
+ {
+ "name": "Ghobad-Nejhad, Masoomeh",
+ "nameType": "Personal",
+ "givenName": "Masoomeh",
+ "familyName": "Ghobad-Nejhad",
+ "affiliation": []
+ },
+ {
+ "name": "Grebenc, Tine",
+ "nameType": "Personal",
+ "givenName": "Tine",
+ "familyName": "Grebenc",
+ "affiliation": []
+ },
+ {
+ "name": "Griffith, Gareth W.",
+ "nameType": "Personal",
+ "givenName": "Gareth W.",
+ "familyName": "Griffith",
+ "affiliation": []
+ },
+ {
+ "name": "Hampe, Felix",
+ "nameType": "Personal",
+ "givenName": "Felix",
+ "familyName": "Hampe",
+ "affiliation": []
+ },
+ {
+ "name": "Kennedy, Peter",
+ "nameType": "Personal",
+ "givenName": "Peter",
+ "familyName": "Kennedy",
+ "affiliation": []
+ },
+ {
+ "name": "Khomich, Maryia",
+ "nameType": "Personal",
+ "givenName": "Maryia",
+ "familyName": "Khomich",
+ "affiliation": []
+ },
+ {
+ "name": "Kohout, Petr",
+ "nameType": "Personal",
+ "givenName": "Petr",
+ "familyName": "Kohout",
+ "affiliation": []
+ },
+ {
+ "name": "Kollom, Anu",
+ "nameType": "Personal",
+ "givenName": "Anu",
+ "familyName": "Kollom",
+ "affiliation": []
+ },
+ {
+ "name": "Larsson, Ellen",
+ "nameType": "Personal",
+ "givenName": "Ellen",
+ "familyName": "Larsson",
+ "affiliation": []
+ },
+ {
+ "name": "Laszlo, Irinyi",
+ "nameType": "Personal",
+ "givenName": "Irinyi",
+ "familyName": "Laszlo",
+ "affiliation": []
+ },
+ {
+ "name": "Leavitt, Steven",
+ "nameType": "Personal",
+ "givenName": "Steven",
+ "familyName": "Leavitt",
+ "affiliation": []
+ },
+ {
+ "name": "Liimatainen, Kare",
+ "nameType": "Personal",
+ "givenName": "Kare",
+ "familyName": "Liimatainen",
+ "affiliation": []
+ },
+ {
+ "name": "Lindahl, Björn",
+ "nameType": "Personal",
+ "givenName": "Björn",
+ "familyName": "Lindahl",
+ "affiliation": []
+ },
+ {
+ "name": "Lodge, Deborah J.",
+ "nameType": "Personal",
+ "givenName": "Deborah J.",
+ "familyName": "Lodge",
+ "affiliation": []
+ },
+ {
+ "name": "Lumbsch, Helge Thorsten",
+ "nameType": "Personal",
+ "givenName": "Helge Thorsten",
+ "familyName": "Lumbsch",
+ "affiliation": []
+ },
+ {
+ "name": "Martín Esteban, María Paz",
+ "nameType": "Personal",
+ "givenName": "María Paz",
+ "familyName": "Martín Esteban",
+ "affiliation": []
+ },
+ {
+ "name": "Meyer, Wieland",
+ "nameType": "Personal",
+ "givenName": "Wieland",
+ "familyName": "Meyer",
+ "affiliation": []
+ },
+ {
+ "name": "Miettinen, Otto",
+ "nameType": "Personal",
+ "givenName": "Otto",
+ "familyName": "Miettinen",
+ "affiliation": []
+ },
+ {
+ "name": "Nguyen, Nhu",
+ "nameType": "Personal",
+ "givenName": "Nhu",
+ "familyName": "Nguyen",
+ "affiliation": []
+ },
+ {
+ "name": "Niskanen, Tuula",
+ "nameType": "Personal",
+ "givenName": "Tuula",
+ "familyName": "Niskanen",
+ "affiliation": []
+ },
+ {
+ "name": "Oono, Ryoko",
+ "nameType": "Personal",
+ "givenName": "Ryoko",
+ "familyName": "Oono",
+ "affiliation": []
+ },
+ {
+ "name": "Öpik, Maarja",
+ "nameType": "Personal",
+ "givenName": "Maarja",
+ "familyName": "Öpik",
+ "affiliation": []
+ },
+ {
+ "name": "Ordynets, Alexander",
+ "nameType": "Personal",
+ "givenName": "Alexander",
+ "familyName": "Ordynets",
+ "affiliation": []
+ },
+ {
+ "name": "Pawłowska, Julia",
+ "nameType": "Personal",
+ "givenName": "Julia",
+ "familyName": "Pawłowska",
+ "affiliation": []
+ },
+ {
+ "name": "Peintner, Ursula",
+ "nameType": "Personal",
+ "givenName": "Ursula",
+ "familyName": "Peintner",
+ "affiliation": []
+ },
+ {
+ "name": "Pereira, Olinto Liparini",
+ "nameType": "Personal",
+ "givenName": "Olinto Liparini",
+ "familyName": "Pereira",
+ "affiliation": []
+ },
+ {
+ "name": "Pinho, Danilo Batista",
+ "nameType": "Personal",
+ "givenName": "Danilo Batista",
+ "familyName": "Pinho",
+ "affiliation": []
+ },
+ {
+ "name": "Põldmaa, Kadri",
+ "nameType": "Personal",
+ "givenName": "Kadri",
+ "familyName": "Põldmaa",
+ "affiliation": []
+ },
+ {
+ "name": "Runnel, Kadri",
+ "nameType": "Personal",
+ "givenName": "Kadri",
+ "familyName": "Runnel",
+ "affiliation": []
+ },
+ {
+ "name": "Ryberg, Martin",
+ "nameType": "Personal",
+ "givenName": "Martin",
+ "familyName": "Ryberg",
+ "affiliation": []
+ },
+ {
+ "name": "Saar, Irja",
+ "nameType": "Personal",
+ "givenName": "Irja",
+ "familyName": "Saar",
+ "affiliation": []
+ },
+ {
+ "name": "Sanli, Kemal",
+ "nameType": "Personal",
+ "givenName": "Kemal",
+ "familyName": "Sanli",
+ "affiliation": []
+ },
+ {
+ "name": "Scott, James",
+ "nameType": "Personal",
+ "givenName": "James",
+ "familyName": "Scott",
+ "affiliation": []
+ },
+ {
+ "name": "Spirin, Viacheslav",
+ "nameType": "Personal",
+ "givenName": "Viacheslav",
+ "familyName": "Spirin",
+ "affiliation": []
+ },
+ {
+ "name": "Suija, Ave",
+ "nameType": "Personal",
+ "givenName": "Ave",
+ "familyName": "Suija",
+ "affiliation": []
+ },
+ {
+ "name": "Svantesson, Sten",
+ "nameType": "Personal",
+ "givenName": "Sten",
+ "familyName": "Svantesson",
+ "affiliation": []
+ },
+ {
+ "name": "Tadych, Mariusz",
+ "nameType": "Personal",
+ "givenName": "Mariusz",
+ "familyName": "Tadych",
+ "affiliation": []
+ },
+ {
+ "name": "Takamatsu, Susumu",
+ "nameType": "Personal",
+ "givenName": "Susumu",
+ "familyName": "Takamatsu",
+ "affiliation": []
+ },
+ {
+ "name": "Tamm, Heidi",
+ "nameType": "Personal",
+ "givenName": "Heidi",
+ "familyName": "Tamm",
+ "affiliation": []
+ },
+ {
+ "name": "Taylor, AFS.",
+ "nameType": "Personal",
+ "givenName": "AFS.",
+ "familyName": "Taylor",
+ "affiliation": []
+ },
+ {
+ "name": "Tedersoo, Leho",
+ "nameType": "Personal",
+ "givenName": "Leho",
+ "familyName": "Tedersoo",
+ "affiliation": []
+ },
+ {
+ "name": "Telleria, M.T.",
+ "nameType": "Personal",
+ "givenName": "M.T.",
+ "familyName": "Telleria",
+ "affiliation": []
+ },
+ {
+ "name": "Udayanga, Dhanushka",
+ "nameType": "Personal",
+ "givenName": "Dhanushka",
+ "familyName": "Udayanga",
+ "affiliation": []
+ },
+ {
+ "name": "Unterseher, Martin",
+ "nameType": "Personal",
+ "givenName": "Martin",
+ "familyName": "Unterseher",
+ "affiliation": []
+ },
+ {
+ "name": "Volobuev, Sergey",
+ "nameType": "Personal",
+ "givenName": "Sergey",
+ "familyName": "Volobuev",
+ "affiliation": []
+ },
+ {
+ "name": "Weiss, Michael",
+ "nameType": "Personal",
+ "givenName": "Michael",
+ "familyName": "Weiss",
+ "affiliation": []
+ },
+ {
+ "name": "Wurzbacher, Christian",
+ "nameType": "Personal",
+ "givenName": "Christian",
+ "familyName": "Wurzbacher",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "SH409843.07FU"
+ },
+ {
+ "title": "Gomphales",
+ "titleType": "Subtitle"
+ }
+ ],
+ "publisher": "UNITE Community",
+ "container": {},
+ "publicationYear": 2015,
+ "subjects": [],
+ "contributors": [
+ {
+ "name": "Kessy Abarenkov",
+ "affiliation": []
+ },
+ {
+ "name": "NHM UT-University Of Tartu; Natural History Museum And Botanic Garden",
+ "affiliation": []
+ }
+ ],
+ "dates": [
+ {
+ "date": "2016-04-22",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2014-10-05",
+ "dateType": "Created"
+ },
+ {
+ "date": "2015",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "eng",
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceType": "Dataset/UNITE Species Hypothesis",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [
+ "application/json"
+ ],
+ "version": null,
+ "rightsList": [
+ {
+ "rights": "Attribution-NonCommercial (CC BY-NC)",
+ "rightsUri": "http://creativecommons.org/licenses/by-nc/4.0"
+ }
+ ],
+ "descriptions": [
+ {
+ "description": "UNITE provides a unified way for delimiting, identifying, communicating, and working with DNA-based Species Hypotheses (SH). All fungal ITS sequences in the international nucleotide sequence databases are clustered to approximately the species level by applying a set of dynamic distance values (&lt;0.5 - 3.0%). All species hypotheses are given a unique, stable name in the form of a DOI, and their taxonomic and ecological annotations are verified through distributed, web-based third-party annotation efforts. SHs are connected to a taxon name and its classification as far as possible (phylum, class, order, etc.) by taking into account identifications for all sequences in the SH. An automatically or manually designated sequence is chosen to represent each such SH. These sequences are released (https://unite.ut.ee/repository.php) for use by the scientific community in, for example, local sequence similarity searches and next-generation sequencing analysis pipelines. The system and the data are updated automatically as the number of public fungal ITS sequences grows.",
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://plutof.ut.ee/#/datacite/10.15156/BIO/SH409843.07FU",
+ "contentUrl": null,
+ "metadataVersion": 1,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2015-06-05T10:23:18.000Z",
+ "registered": "2015-06-05T10:23:19.000Z",
+ "published": "2015",
+ "updated": "2019-08-02T07:45:28.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "estdoi.bio",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_06.json b/python/tests/files/datacite/datacite_doc_06.json
new file mode 100644
index 00000000..a7f3ee70
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_06.json
@@ -0,0 +1,83 @@
+{
+ "id": "10.16903/ethz-grs-d_006220",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.16903/ethz-grs-d_006220",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.16903/ethz-grs-d_006220",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Crispijn De Passe (Der Ältere) (1564-1637)",
+ "nameType": "Personal",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\""
+ }
+ ],
+ "publisher": "n.a.",
+ "container": {},
+ "publicationYear": 1590,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1590",
+ "dateType": "Available"
+ },
+ {
+ "date": "1590",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork",
+ "resourceTypeGeneral": "InteractiveResource"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [
+ "Blattgrösse: 21.0 x 14.4 x 0.0 cm (beschnitten)",
+ "Kupferstich"
+ ],
+ "version": null,
+ "rightsList": [
+ {
+ "rights": "ETH-Bibliothek Zürich, Graphische Sammlung / D 6220 / Public Domain Mark 1.0"
+ }
+ ],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://www.e-gs.ethz.ch/eMP/eMuseumPlus?service=ExternalInterface&module=collection&objectId=29469&viewType=detailView",
+ "contentUrl": null,
+ "metadataVersion": 1,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2017-12-13T12:03:09.000Z",
+ "registered": "2017-12-13T12:03:09.000Z",
+ "published": "1590",
+ "updated": "2019-08-02T17:20:02.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "ethz.gs",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_07.json b/python/tests/files/datacite/datacite_doc_07.json
new file mode 100644
index 00000000..c70695b6
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_07.json
@@ -0,0 +1,120 @@
+{
+ "id": "10.18462/iir.icr.2015.0926",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.18462/iir.icr.2015.0926",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.18462/iir.icr.2015.0926",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "ROTHUIZEN, E.",
+ "nameType": "Personal",
+ "givenName": "E.",
+ "familyName": "ROTHUIZEN",
+ "affiliation": []
+ },
+ {
+ "name": "ELMEGAARD, B.",
+ "nameType": "Personal",
+ "givenName": "B.",
+ "familyName": "ELMEGAARD",
+ "affiliation": []
+ },
+ {
+ "name": "MARKUSSEN W., B.",
+ "nameType": "Personal",
+ "givenName": "B.",
+ "familyName": "MARKUSSEN W.",
+ "affiliation": []
+ },
+ {
+ "name": "Et Al.",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "High efficient heat pump system using storage tanks to increase cop by means of the ISEC concept. 1: model validation."
+ }
+ ],
+ "publisher": "International Institute of Refrigeration (IIR)",
+ "container": {},
+ "publicationYear": 2015,
+ "subjects": [
+ {
+ "subject": "HEAT PUMP"
+ },
+ {
+ "subject": "HOT WATER"
+ },
+ {
+ "subject": "HEAT TRANSFER"
+ },
+ {
+ "subject": "PERFORMANCE"
+ },
+ {
+ "subject": "THERMAL STORAGE"
+ },
+ {
+ "subject": "TANK"
+ },
+ {
+ "subject": "MODEL"
+ }
+ ],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2015",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "eng",
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceType": "Dataset",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "description": "The purpose of the ISEC concept is to provide a high-efficient heat pump system for hot water production. The ISEC concept uses two storage tanks for the water, one discharged and one charged. Hot water for the industrial process is tapped from the charged tank, while the other tank is charging. Charging is done by circulating the water in the tank through the condenser of a heat pump several times and thereby gradually heating the water. The charging is done with a higher mass flow rate than the discharging to reach several circulations of the water during the time frame of one discharging. This result in a lower condensing temperature than if the water was heated in one step. Two test setups were built, one to test the performance of the heat pump gradually heating the water and one to investigate the stratification in the storage tanks. Furthermore, a dynamic model of the system was implemented in Dymola, and validated by the use of test data from the two experimental setups. This paper shows that there is a good consistency between the model and the experimental tests.",
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://www.iifiir.org/clientBookline/service/reference.asp?INSTANCE=EXPLOITATION&OUTPUT=PORTAL&DOCID=IFD_REFDOC_0015008&DOCBASE=IFD_REFDOC_EN&SETLANGUAGE=EN",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": null,
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2016-11-21T13:08:14.000Z",
+ "registered": "2016-11-21T13:08:14.000Z",
+ "published": "2015",
+ "updated": "2019-08-16T18:00:59.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "inist.iif",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_08.json b/python/tests/files/datacite/datacite_doc_08.json
new file mode 100644
index 00000000..e9170788
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_08.json
@@ -0,0 +1,105 @@
+{
+ "id": "10.22004/ag.econ.284864",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.22004/ag.econ.284864",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.22004/ag.econ.284864",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Kajisa, Kei",
+ "nameType": "Personal",
+ "givenName": "Kei",
+ "familyName": "Kajisa",
+ "affiliation": [],
+ "nameIdentifiers": []
+ },
+ {
+ "name": "Kajisa, Kei",
+ "nameType": "Personal",
+ "givenName": "Kei",
+ "familyName": "Kajisa",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Irrigation Policies under Rapid Industrialization and Labor Migration: Lessons from Japan, China and India"
+ }
+ ],
+ "publisher": "Unknown",
+ "container": {},
+ "publicationYear": 2017,
+ "subjects": [
+ {
+ "subject": "Land Economics/Use"
+ },
+ {
+ "subject": "irrigation",
+ "subjectScheme": "keyword"
+ },
+ {
+ "subject": "industrialization",
+ "subjectScheme": "keyword"
+ },
+ {
+ "subject": "collective action",
+ "subjectScheme": "keyword"
+ }
+ ],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "eng",
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "Text",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "description": "International society recognizes that the scarcity of fresh water is increasing and farming sectors suffer from lack of irrigation water. However, if we look at this issue with a framework of relative factor endowment, a different view will arise. In emerging states with rapid industrialization and labor migration, labor scarcity increases at a faster pace than that of irrigation water. Using the historical review of Japan’s irrigation policies as well as the case studies of India and China, this paper shows that the introduction of policies which do not reflect the actual relative resource scarcity may mislead the development path. We argue that under increasing relative labor scarcity it is important to realize the substitution of capital for labor for surface irrigation system management and that the substitution needs public support because the service of surface irrigation system has some externalities. Through this argument, this paper also intends to shed the light back to the role of the state for local resource management which seems to be unfairly undervalued since the boom of community participatory approach in the 1980s.",
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://ageconsearch.umn.edu/record/284864",
+ "contentUrl": null,
+ "metadataVersion": 1,
+ "schemaVersion": null,
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2019-08-24T07:46:47.000Z",
+ "registered": "2019-08-24T07:46:47.000Z",
+ "published": "2017",
+ "updated": "2019-08-25T09:38:33.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "tind.agecon",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_09.json b/python/tests/files/datacite/datacite_doc_09.json
new file mode 100644
index 00000000..d09af545
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_09.json
@@ -0,0 +1,130 @@
+{
+ "id": "10.2314/gbv:880813733",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.2314/gbv:880813733",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.2314/gbv:880813733",
+ "identifierType": "DOI"
+ },
+ {
+ "identifier": "880813733",
+ "identifierType": "ppn"
+ },
+ {
+ "identifier": "03WKCF3C",
+ "identifierType": "contract"
+ },
+ {
+ "identifier": "01132105",
+ "identifierType": "contract"
+ },
+ {
+ "identifier": "GBV:880813733",
+ "identifierType": "firstid"
+ },
+ {
+ "identifier": "TIBKAT:880813733",
+ "identifierType": "ftx-id"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Kirstaedter, Nils",
+ "nameType": "Personal",
+ "givenName": "Nils",
+ "familyName": "Kirstaedter",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "BrightLas : TP3.3. Module für Direktdiodenstrahlquellen bis 4kW und Untersuchungen zur Leistungsskalierung (Diodemodul) : zum Verbundvorhaben Direktdiodenlaseranlagen und -systeme (VP3) im Förderschwerpunkt innovative regionale Wachstumskerne, BMBF : Abschlussbericht"
+ },
+ {
+ "title": "Module für Direktdiodenstrahlquellen bis 4kW und Untersuchungen zur Leistungsskalierung (Diodemodul)",
+ "titleType": "AlternativeTitle"
+ },
+ {
+ "title": "Direktdiodenlaseranlagen und -systeme (VP3)",
+ "titleType": "AlternativeTitle"
+ }
+ ],
+ "publisher": "[Lumics GmbH]",
+ "container": {},
+ "publicationYear": 2016,
+ "subjects": [
+ {
+ "subject": "Direktdiodenlasersysteme"
+ },
+ {
+ "subject": "Physics",
+ "subjectScheme": "linsearch"
+ }
+ ],
+ "contributors": [
+ {
+ "name": "TIB-Technische Informationsbibliothek Universitätsbibliothek Hannover",
+ "nameType": "Organizational",
+ "affiliation": [],
+ "contributorType": "HostingInstitution",
+ "nameIdentifiers": []
+ },
+ {
+ "name": "Technische Informationsbibliothek (TIB)",
+ "affiliation": [],
+ "contributorType": "DataManager",
+ "nameIdentifiers": []
+ }
+ ],
+ "dates": [
+ {
+ "date": "2016",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "de",
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "report",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "Report",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [
+ "1 Online-Ressource (10 Seiten, 1,40 MB)"
+ ],
+ "formats": [
+ "application/pdf"
+ ],
+ "version": "1.0",
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://www.tib.eu/suchen/id/TIBKAT:880813733/",
+ "contentUrl": null,
+ "metadataVersion": 9,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2017-02-25T00:00:18.000Z",
+ "registered": "2017-02-25T00:00:19.000Z",
+ "published": "2016",
+ "updated": "2019-08-03T05:53:51.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "tib.tib",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_10.json b/python/tests/files/datacite/datacite_doc_10.json
new file mode 100644
index 00000000..d40fc272
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_10.json
@@ -0,0 +1,83 @@
+{
+ "id": "10.25549/wpacards-m6171",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.25549/wpacards-m6171",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.25549/wpacards-m6171",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Unknown",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "WPA household census for 210 E VERNON, Los Angeles"
+ }
+ ],
+ "publisher": "University of Southern California Digital Library (USC.DL)",
+ "container": {},
+ "publicationYear": 2012,
+ "subjects": [
+ {
+ "subject": "housing areas"
+ },
+ {
+ "subject": "Dwellings"
+ }
+ ],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2012",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "eng",
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceType": "Dataset",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://digitallibrary.usc.edu/cdm/ref/collection/p15799coll8/id/2608",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2018-09-09T08:32:09.000Z",
+ "registered": "2018-09-09T08:33:10.000Z",
+ "published": "2012",
+ "updated": "2019-08-02T20:03:32.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "usc.dl",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_11.json b/python/tests/files/datacite/datacite_doc_11.json
new file mode 100644
index 00000000..50fe8363
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_11.json
@@ -0,0 +1,86 @@
+{
+ "id": "10.3932/ethz-a-000055869",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.3932/ethz-a-000055869",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.3932/ethz-a-000055869",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Comet Photo AG (Zürich)",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "N1 bei Safenwil"
+ }
+ ],
+ "publisher": "ETH-Bibliothek Zürich, Bildarchiv",
+ "container": {},
+ "publicationYear": 1965,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1965",
+ "dateType": "Available"
+ },
+ {
+ "date": "1965",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "de",
+ "types": {
+ "ris": "FIGURE",
+ "bibtex": "misc",
+ "citeproc": "graphic",
+ "schemaOrg": "ImageObject",
+ "resourceTypeGeneral": "Image"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [
+ "TIFF-Bild"
+ ],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "description": "Download und Nutzung frei",
+ "descriptionType": "Other"
+ },
+ {
+ "description": "10, N1, Genève, Bern, Zürich, Sankt Gallen, Sankt Margrethen, Strassen, Strassenbau, 2.",
+ "descriptionType": "Other"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://ba.e-pics.ethz.ch/link.jsp?id=44861",
+ "contentUrl": null,
+ "metadataVersion": 6,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2019-03-04T23:56:42.000Z",
+ "registered": "2019-07-30T13:17:45.000Z",
+ "published": "1965",
+ "updated": "2019-08-02T22:08:26.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "ethz.epics-ba",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_12.json b/python/tests/files/datacite/datacite_doc_12.json
new file mode 100644
index 00000000..31c0f0ca
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_12.json
@@ -0,0 +1,103 @@
+{
+ "id": "10.5167/uzh-171449",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.5167/uzh-171449",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.5167/uzh-171449",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Spanias, Charalampos",
+ "nameType": "Personal",
+ "givenName": "Charalampos",
+ "familyName": "Spanias",
+ "affiliation": [],
+ "nameIdentifiers": []
+ },
+ {
+ "name": "Nikolaidis, Pantelis T",
+ "nameType": "Personal",
+ "givenName": "Pantelis T",
+ "familyName": "Nikolaidis",
+ "affiliation": [],
+ "nameIdentifiers": []
+ },
+ {
+ "name": "Rosemann, Thomas",
+ "nameType": "Personal",
+ "givenName": "Thomas",
+ "familyName": "Rosemann",
+ "affiliation": [],
+ "nameIdentifiers": []
+ },
+ {
+ "name": "Knechtle, Beat",
+ "nameType": "Personal",
+ "givenName": "Beat",
+ "familyName": "Knechtle",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Anthropometric and Physiological Profile of Mixed Martial Art Athletes: A Brief Review"
+ }
+ ],
+ "publisher": "MDPI Publishing",
+ "container": {},
+ "publicationYear": 2019,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2019-06-14",
+ "dateType": "Available"
+ },
+ {
+ "date": "2019",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "RPRT",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://www.zora.uzh.ch/id/eprint/171449",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": null,
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2019-06-27T01:01:35.000Z",
+ "registered": "2019-06-27T01:01:36.000Z",
+ "published": "2019",
+ "updated": "2019-09-26T16:44:24.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "ethz.zora",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_13.json b/python/tests/files/datacite/datacite_doc_13.json
new file mode 100644
index 00000000..ff6eb229
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_13.json
@@ -0,0 +1,86 @@
+{
+ "id": "10.5169/seals-314104",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.5169/seals-314104",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.5169/seals-314104",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "O.M.",
+ "affiliation": []
+ },
+ {
+ "name": "Hiltbrunner, Hermann",
+ "nameType": "Personal",
+ "givenName": "Hermann",
+ "familyName": "Hiltbrunner",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "[Müssen wir des Glücks uns schämen?]"
+ }
+ ],
+ "publisher": "Buchdruckerei Büchler & Co.",
+ "container": {},
+ "publicationYear": 1940,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "1940-10-05",
+ "dateType": "Available"
+ },
+ {
+ "date": "1940",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "JOUR",
+ "bibtex": "article",
+ "citeproc": "article-journal",
+ "schemaOrg": "ScholarlyArticle",
+ "resourceType": "Journal Article",
+ "resourceTypeGeneral": "Text"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [
+ "text/html",
+ "application/pdf"
+ ],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://www.e-periodica.ch/digbib/view?pid=sle-001:1940-1941:45::13",
+ "contentUrl": null,
+ "metadataVersion": 17,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2013-03-22T14:02:08.000Z",
+ "registered": "2013-03-22T13:58:11.000Z",
+ "published": "1940",
+ "updated": "2019-08-02T02:22:55.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "ethz.seals",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_14.json b/python/tests/files/datacite/datacite_doc_14.json
new file mode 100644
index 00000000..b1e1ebf2
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_14.json
@@ -0,0 +1,166 @@
+{
+ "id": "10.5517/cc7gns3",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.5517/cc7gns3",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.5517/cc7gns3",
+ "identifierType": "DOI"
+ },
+ {
+ "identifier": "222635",
+ "identifierType": "CCDC"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Stulz, E.",
+ "nameType": "Personal",
+ "givenName": "E.",
+ "familyName": "Stulz",
+ "affiliation": []
+ },
+ {
+ "name": "Scott, S.M.",
+ "nameType": "Personal",
+ "givenName": "S.M.",
+ "familyName": "Scott",
+ "affiliation": []
+ },
+ {
+ "name": "Ng, Yiu-Fai",
+ "nameType": "Personal",
+ "givenName": "Yiu-Fai",
+ "familyName": "Ng",
+ "affiliation": []
+ },
+ {
+ "name": "Bond, A.D.",
+ "nameType": "Personal",
+ "givenName": "A.D.",
+ "familyName": "Bond",
+ "affiliation": []
+ },
+ {
+ "name": "Teat, S.J.",
+ "nameType": "Personal",
+ "givenName": "S.J.",
+ "familyName": "Teat",
+ "affiliation": []
+ },
+ {
+ "name": "Darling, S.L.",
+ "nameType": "Personal",
+ "givenName": "S.L.",
+ "familyName": "Darling",
+ "affiliation": []
+ },
+ {
+ "name": "Feeder, N.",
+ "nameType": "Personal",
+ "givenName": "N.",
+ "familyName": "Feeder",
+ "affiliation": []
+ },
+ {
+ "name": "Sanders, J.K.M.",
+ "nameType": "Personal",
+ "givenName": "J.K.M.",
+ "familyName": "Sanders",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "CCDC 222635: Experimental Crystal Structure Determination"
+ }
+ ],
+ "publisher": "Cambridge Crystallographic Data Centre",
+ "container": {},
+ "publicationYear": 2004,
+ "subjects": [
+ {
+ "subject": "Crystal Structure"
+ },
+ {
+ "subject": "Experimental 3D Coordinates"
+ },
+ {
+ "subject": "Crystal System"
+ },
+ {
+ "subject": "Space Group"
+ },
+ {
+ "subject": "Cell Parameters"
+ },
+ {
+ "subject": "Crystallography"
+ },
+ {
+ "subject": "bis(mu~2~-5-(3,5-Di-t-butylphenyl)-15-(4-(2-(diphenylphosphino)ethynyl)phenyl)-2,8,12,18-tetrahexyl-3,7,13,17-tetramethylporphyrinato)-(5,15-bis(3,5-di-t-butylphenyl)-2,8,12,18-tetraethyl-3,7,13,17-tetramethylporphyrinato)-di-nickel-ruthenium chloroform solvate"
+ }
+ ],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2004",
+ "dateType": "Issued"
+ }
+ ],
+ "language": "eng",
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [
+ {
+ "relationType": "IsSupplementTo",
+ "relatedIdentifier": "10.1021/ic034699w",
+ "relatedIdentifierType": "DOI"
+ }
+ ],
+ "sizes": [],
+ "formats": [
+ "CIF"
+ ],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [
+ {
+ "description": "Related Article: E.Stulz, S.M.Scott, Yiu-Fai Ng, A.D.Bond, S.J.Teat, S.L.Darling, N.Feeder, J.K.M.Sanders|2003|Inorg.Chem.|42|6564|doi:10.1021/ic034699w",
+ "descriptionType": "Other"
+ },
+ {
+ "description": "An entry from the Cambridge Structural Database, the world’s repository for small molecule crystal structures. The entry contains experimental data from a crystal diffraction study. The deposited dataset for this entry is freely available from the CCDC and typically includes 3D coordinates, cell parameters, space group, experimental conditions and quality measures.",
+ "descriptionType": "Abstract"
+ }
+ ],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://www.ccdc.cam.ac.uk/services/structure_request?id=doi:10.5517/cc7gns3&sid=DataCite",
+ "contentUrl": null,
+ "metadataVersion": 2,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2014-03-18T07:28:28.000Z",
+ "registered": "2014-03-18T07:28:29.000Z",
+ "published": "2004",
+ "updated": "2019-08-02T03:38:32.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "ccdc.csd",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_15.json b/python/tests/files/datacite/datacite_doc_15.json
new file mode 100644
index 00000000..5b4ee8ec
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_15.json
@@ -0,0 +1,79 @@
+{
+ "id": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28",
+ "identifierType": "DOI"
+ },
+ {
+ "identifier": "https://pasta.lternet.edu/package/eml/knb-lter-vcr/102/16",
+ "identifierType": "URL"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Richardson, David",
+ "nameType": "Personal",
+ "givenName": "David",
+ "familyName": "Richardson",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Parramore Island of the Virginia Coast Reserve Permanent Plot Resurvey: Tree data 1997"
+ }
+ ],
+ "publisher": "Environmental Data Initiative",
+ "container": {},
+ "publicationYear": 2017,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceType": "dataPackage",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://portal.lternet.edu/nis/mapbrowse?packageid=knb-lter-vcr.102.16",
+ "contentUrl": null,
+ "metadataVersion": 1,
+ "schemaVersion": "http://datacite.org/schema/kernel-2.2",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2017-02-01T18:20:04.000Z",
+ "registered": "2017-02-01T18:20:05.000Z",
+ "published": "2017",
+ "updated": "2019-08-02T14:16:49.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "edi.edi",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_16.json b/python/tests/files/datacite/datacite_doc_16.json
new file mode 100644
index 00000000..5af7fbe1
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_16.json
@@ -0,0 +1,80 @@
+{
+ "id": "10.6084/m9.figshare.1282478",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.6084/m9.figshare.1282478",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.6084/m9.figshare.1282478",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Sochi, Taha",
+ "nameType": "Personal",
+ "givenName": "Taha",
+ "familyName": "Sochi",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Testing the Connectivity of Networks"
+ }
+ ],
+ "publisher": "Figshare",
+ "container": {},
+ "publicationYear": 2014,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2014",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceType": "Paper",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [
+ {
+ "rights": "CC-BY",
+ "rightsUri": "http://creativecommons.org/licenses/by/3.0/us"
+ }
+ ],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "http://figshare.com/articles/Testing_the_Connectivity_of_Networks/1282478",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": null,
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2014-12-31T15:38:16.000Z",
+ "registered": "2014-12-31T15:38:18.000Z",
+ "published": "2014",
+ "updated": "2019-08-02T04:52:11.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "figshare.ars",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_17.json b/python/tests/files/datacite/datacite_doc_17.json
new file mode 100644
index 00000000..f1363a61
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_17.json
@@ -0,0 +1,72 @@
+{
+ "id": "10.7910/dvn/tsqfwc/yytj22",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.7910/dvn/tsqfwc/yytj22",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.7910/dvn/tsqfwc/yytj22",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "Di Giovanna, Antonino Paolo (University Of Florence)",
+ "nameType": "Personal",
+ "affiliation": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "gel_BSA-FITC_Markov_segmntation0343.tif"
+ }
+ ],
+ "publisher": "Harvard Dataverse",
+ "container": {},
+ "publicationYear": 2018,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2018",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "DATA",
+ "bibtex": "misc",
+ "citeproc": "dataset",
+ "schemaOrg": "Dataset",
+ "resourceTypeGeneral": "Dataset"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://dataverse.harvard.edu/file.xhtml?persistentId=doi:10.7910/DVN/TSQFWC/YYTJ22",
+ "contentUrl": null,
+ "metadataVersion": 0,
+ "schemaVersion": "http://datacite.org/schema/kernel-4",
+ "source": "mds",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2018-08-22T17:36:10.000Z",
+ "registered": "2018-08-22T17:37:30.000Z",
+ "published": "2018",
+ "updated": "2019-08-02T19:43:20.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "gdcc.harvard-dv",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_18.json b/python/tests/files/datacite/datacite_doc_18.json
new file mode 100644
index 00000000..f6bc81a6
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_18.json
@@ -0,0 +1,79 @@
+{
+ "id": "10.7916/d81z522m",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.7916/d81z522m",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.7916/d81z522m",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "(:Unav)",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Eastern questionnaire, answer sheet for Interviewee 53215, page 064"
+ }
+ ],
+ "publisher": "Columbia University",
+ "container": {},
+ "publicationYear": 2017,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2017-08-21",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://dlc.library.columbia.edu/lcaaj/cul:k3j9kd52d6",
+ "contentUrl": null,
+ "metadataVersion": 2,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": "ez",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2017-11-29T02:15:31.000Z",
+ "registered": "2017-11-29T02:15:32.000Z",
+ "published": "2017",
+ "updated": "2019-08-04T13:17:58.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "cul.columbia",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_19.json b/python/tests/files/datacite/datacite_doc_19.json
new file mode 100644
index 00000000..c0bc25ba
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_19.json
@@ -0,0 +1,79 @@
+{
+ "id": "10.7916/d86x0cg1",
+ "type": "dois",
+ "attributes": {
+ "doi": "10.7916/d86x0cg1",
+ "identifiers": [
+ {
+ "identifier": "https://doi.org/10.7916/d86x0cg1",
+ "identifierType": "DOI"
+ }
+ ],
+ "creators": [
+ {
+ "name": "(:Unav)",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "Eastern questionnaire, answer sheet for Interviewee 55236, page 092"
+ }
+ ],
+ "publisher": "Columbia University",
+ "container": {},
+ "publicationYear": 2017,
+ "subjects": [],
+ "contributors": [],
+ "dates": [
+ {
+ "date": "2017-08-24",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "relatedIdentifiers": [],
+ "sizes": [],
+ "formats": [],
+ "version": null,
+ "rightsList": [],
+ "descriptions": [],
+ "geoLocations": [],
+ "fundingReferences": [],
+ "url": "https://dlc.library.columbia.edu/lcaaj/cul:44j0zpc98s",
+ "contentUrl": null,
+ "metadataVersion": 3,
+ "schemaVersion": "http://datacite.org/schema/kernel-3",
+ "source": "ez",
+ "isActive": true,
+ "state": "findable",
+ "reason": null,
+ "created": "2017-11-29T09:29:33.000Z",
+ "registered": "2017-11-29T09:29:34.000Z",
+ "published": "2017",
+ "updated": "2019-08-04T23:43:40.000Z"
+ },
+ "relationships": {
+ "client": {
+ "data": {
+ "id": "cul.columbia",
+ "type": "clients"
+ }
+ }
+ }
+}
diff --git a/python/tests/files/datacite/datacite_doc_20.json b/python/tests/files/datacite/datacite_doc_20.json
new file mode 100644
index 00000000..964e2cbb
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_20.json
@@ -0,0 +1,42 @@
+{
+ "attributes": {
+ "doi": "10.7916/d86x0cg1",
+ "creators": [
+ {
+ "name": "(:Unav)",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "<h1>Eastern questionnaire</h1>"
+ }
+ ],
+ "publicationYear": 2017,
+ "dates": [
+ {
+ "date": "2017-08-24",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "language": null,
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "isActive": true,
+ "state": "findable"
+ }
+ }
+ \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_doc_21.json b/python/tests/files/datacite/datacite_doc_21.json
new file mode 100644
index 00000000..cae7f40f
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_21.json
@@ -0,0 +1,42 @@
+{
+ "attributes": {
+ "doi": "10.7916/d86x0cg1",
+ "creators": [
+ {
+ "name": "(:Unav)",
+ "affiliation": [],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "ABC"
+ }
+ ],
+ "publicationYear": 2017,
+ "language": "GERMAN",
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "dates": [
+ {
+ "date": "2017-08-24",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "isActive": true,
+ "state": "findable"
+ }
+ }
+ \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_doc_22.json b/python/tests/files/datacite/datacite_doc_22.json
new file mode 100644
index 00000000..42448ddf
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_22.json
@@ -0,0 +1,44 @@
+{
+ "attributes": {
+ "doi": "10.7916/d86x0cg1",
+ "creators": [
+ {
+ "name": "Anton Welch",
+ "affiliation": [
+ "Department of pataphysics"
+ ],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "ABC"
+ }
+ ],
+ "publicationYear": 2017,
+ "language": "GERMAN",
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "dates": [
+ {
+ "date": "2017-08-24",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "isActive": true,
+ "state": "findable"
+ }
+ }
+
diff --git a/python/tests/files/datacite/datacite_doc_23.json b/python/tests/files/datacite/datacite_doc_23.json
new file mode 100644
index 00000000..1e5bcc3f
--- /dev/null
+++ b/python/tests/files/datacite/datacite_doc_23.json
@@ -0,0 +1,44 @@
+{
+ "attributes": {
+ "doi": "10.7916/d86x0cg1\u2013xxx",
+ "creators": [
+ {
+ "name": "Anton Welch",
+ "affiliation": [
+ "Department of pataphysics"
+ ],
+ "nameIdentifiers": []
+ }
+ ],
+ "titles": [
+ {
+ "title": "ABC"
+ }
+ ],
+ "publicationYear": 2017,
+ "language": "GERMAN",
+ "types": {
+ "ris": "GEN",
+ "bibtex": "misc",
+ "citeproc": "article",
+ "schemaOrg": "CreativeWork"
+ },
+ "dates": [
+ {
+ "date": "2017-08-24",
+ "dateType": "Created"
+ },
+ {
+ "date": "2019-08-04",
+ "dateType": "Updated"
+ },
+ {
+ "date": "2017",
+ "dateType": "Issued"
+ }
+ ],
+ "isActive": true,
+ "state": "findable"
+ }
+ }
+
diff --git a/python/tests/files/datacite/datacite_result_00.json b/python/tests/files/datacite/datacite_result_00.json
new file mode 100644
index 00000000..085e23f3
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_00.json
@@ -0,0 +1,87 @@
+{
+ "extra": {
+ "container_name": "Journal of Chemical Crystallography",
+ "datacite": {
+ "license": [
+ {
+ "rightsUri": "http://www.springer.com/tdm"
+ }
+ ],
+ "relations": [
+ {
+ "relationType": "IsPartOf",
+ "relatedIdentifier": "1074-1542",
+ "resourceTypeGeneral": "Collection",
+ "relatedIdentifierType": "ISSN"
+ }
+ ]
+ }
+ },
+ "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N\u2032-(4-nitrophenyl)thiourea",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_date": "2019-05-31",
+ "release_year": 2019,
+ "ext_ids": {
+ "doi": "10.1007/s10870-008-9413-z"
+ },
+ "volume": "38",
+ "issue": "12",
+ "pages": "927-930",
+ "publisher": "Springer Science and Business Media LLC",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Li, Qian-Jin",
+ "given_name": "Qian-Jin",
+ "surname": "Li",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Yang, Chun-Long",
+ "given_name": "Chun-Long",
+ "surname": "Yang",
+ "role": "author"
+ }
+ ],
+ "refs": [
+ {
+ "index": 0,
+ "extra": {
+ "doi": "10.1016/j.bmcl.2005.09.033"
+ }
+ },
+ {
+ "index": 1,
+ "extra": {
+ "doi": "10.1016/s0022-1139(02)00330-5"
+ }
+ },
+ {
+ "index": 2,
+ "extra": {
+ "doi": "10.1016/s0010-8545(01)00337-x"
+ }
+ },
+ {
+ "index": 3,
+ "extra": {
+ "doi": "10.1016/j.tetlet.2005.06.135"
+ }
+ },
+ {
+ "index": 4,
+ "extra": {
+ "doi": "10.1039/p298700000s1"
+ }
+ },
+ {
+ "index": 5,
+ "extra": {
+ "doi": "10.1002/anie.199515551"
+ }
+ }
+ ],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_01.json b/python/tests/files/datacite/datacite_result_01.json
new file mode 100644
index 00000000..f8c6b930
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_01.json
@@ -0,0 +1,32 @@
+{
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "lang": "de",
+ "rights": "Standard (Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen) - http://www.ub.uni-heidelberg.de/helios/digi/nutzung/Welcome.html"
+ }
+ ]
+ }
+ },
+ "title": "Ferdinand Gaillard, [1]: n\u00e9 \u00e0 Paris le 16 janvier 1834, mort \u00e0 Paris le 19 janvier 1887",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_year": 1887,
+ "ext_ids": {
+ "doi": "10.11588/diglit.25558.39"
+ },
+ "publisher": "University Library Heidelberg",
+ "language": "fr",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Dargenty, G.",
+ "given_name": "G.",
+ "surname": "Dargenty",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_02.json b/python/tests/files/datacite/datacite_result_02.json
new file mode 100644
index 00000000..f8b85f38
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_02.json
@@ -0,0 +1,36 @@
+{
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "lang": "de",
+ "rights": "Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen - https://creativecommons.org/licenses/by-sa/3.0/de/"
+ },
+ {
+ "lang": "en",
+ "rights": "Creative Commons - Namensnennung - Weitergabe unter gleichen Bedingungen - https://creativecommons.org/licenses/by-sa/3.0/"
+ }
+ ]
+ }
+ },
+ "title": "Solinger Schwertschmiede-Familien, [4]",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_year": 1897,
+ "ext_ids": {
+ "doi": "10.11588/diglit.37715.57"
+ },
+ "publisher": "University Library Heidelberg",
+ "language": "de",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Weyersberg, Albert",
+ "given_name": "Albert",
+ "surname": "Weyersberg",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_03.json b/python/tests/files/datacite/datacite_result_03.json
new file mode 100644
index 00000000..3e3c2bd5
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_03.json
@@ -0,0 +1,19 @@
+{
+ "extra": {},
+ "title": "midterm ah30903",
+ "release_type": "article",
+ "release_year": 2016,
+ "ext_ids": {
+ "doi": "10.13140/rg.2.2.30434.53446"
+ },
+ "language": "ms",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Mastura Yahya",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_04.json b/python/tests/files/datacite/datacite_result_04.json
new file mode 100644
index 00000000..7ca70d6c
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_04.json
@@ -0,0 +1,28 @@
+{
+ "extra": {},
+ "title": "On chain maps inducing isomorphisms in homology",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_year": 1973,
+ "ext_ids": {
+ "doi": "10.14288/1.0080520"
+ },
+ "publisher": "University of British Columbia",
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Nicollerat, Marc Andre",
+ "given_name": "Marc Andre",
+ "surname": "Nicollerat",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "Let A be an abelian category, I the full subcategory of A consisting of injective objects of A, and K(A) the category whose objects are cochain complexes of elements of A, and whose morphisms are homotopy classes of cochain maps. In (5), lemma 4.6., p. 42, R. Hartshorne has proved that, under certain conditions, a cochain complex X\u02d9 \u03b5. |KA)| can be embedded in a complex I\u02d9 \u03b5. |K(I)| in such a way that I\u02d9 has the same cohomology as X\u02d9. In Chapter I we show that the construction given in the two first parts of Hartshorne's Lemma is natural i.e. there exists a functor J : K(A) \u2192 K(I) and a natural transformation [formula omitted] (where E : K(I) \u2192 K(A) is the embedding functor) such that [formula omitted] is injective and induces isomorphism in cohomology. The question whether the construction given in the third part of the lemma is functorial is still open. We also prove that J is left adjoint to E, so that K(I) is a reflective subcategory of K(A). In the special case where A is a category [formula omitted] of left A-modules, and [formula omitted] the category of cochain complexes in [formula omitted] and cochain maps (not homotopy classes), we prove the existence of a functor [formula omitted] In Chapter II we study the natural homomorphism [formula omitted] where A, B are rings, and M, L, N modules or chain complexes. In particular we give several sufficient conditions under which v is an isomorphism, or induces isomorphism in homology. In the appendix we give a detailed proof of Hartshorne's Lemma. We think that this is useful, as no complete proof is, to our knowledge, to be found in the literature.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_05.json b/python/tests/files/datacite/datacite_result_05.json
new file mode 100644
index 00000000..e61769de
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_05.json
@@ -0,0 +1,530 @@
+{
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "rights": "Attribution-NonCommercial (CC BY-NC)",
+ "rightsUri": "http://creativecommons.org/licenses/by-nc/4.0"
+ }
+ ]
+ }
+ },
+ "title": "SH409843.07FU",
+ "subtitle": "Gomphales",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_date": "2014-10-05",
+ "release_year": 2014,
+ "ext_ids": {
+ "doi": "10.15156/bio/sh409843.07fu"
+ },
+ "publisher": "UNITE Community",
+ "language": "en",
+ "license_slug": "CC-BY-NC",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "K\u00f5ljalg, Urmas",
+ "given_name": "Urmas",
+ "surname": "K\u00f5ljalg",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Abarenkov, Kessy",
+ "given_name": "Kessy",
+ "surname": "Abarenkov",
+ "role": "author"
+ },
+ {
+ "index": 2,
+ "raw_name": "Nilsson, R. Henrik",
+ "given_name": "R. Henrik",
+ "surname": "Nilsson",
+ "role": "author"
+ },
+ {
+ "index": 3,
+ "raw_name": "Larsson, Karl-Henrik",
+ "given_name": "Karl-Henrik",
+ "surname": "Larsson",
+ "role": "author"
+ },
+ {
+ "index": 4,
+ "raw_name": "Aas, Anders Bj\u00f8rnsgard",
+ "given_name": "Anders Bj\u00f8rnsgard",
+ "surname": "Aas",
+ "role": "author"
+ },
+ {
+ "index": 5,
+ "raw_name": "Adams, Rachel",
+ "given_name": "Rachel",
+ "surname": "Adams",
+ "role": "author"
+ },
+ {
+ "index": 6,
+ "raw_name": "Alves, Artur",
+ "given_name": "Artur",
+ "surname": "Alves",
+ "role": "author"
+ },
+ {
+ "index": 7,
+ "raw_name": "Ammirati, Joseph F.",
+ "given_name": "Joseph F.",
+ "surname": "Ammirati",
+ "role": "author"
+ },
+ {
+ "index": 8,
+ "raw_name": "Arnold, A. Elizabeth",
+ "given_name": "A. Elizabeth",
+ "surname": "Arnold",
+ "role": "author"
+ },
+ {
+ "index": 9,
+ "raw_name": "Bahram, Mohammad",
+ "given_name": "Mohammad",
+ "surname": "Bahram",
+ "role": "author"
+ },
+ {
+ "index": 10,
+ "raw_name": "Bengtsson-Palme, Johan",
+ "given_name": "Johan",
+ "surname": "Bengtsson-Palme",
+ "role": "author"
+ },
+ {
+ "index": 11,
+ "raw_name": "Berlin, Anna",
+ "given_name": "Anna",
+ "surname": "Berlin",
+ "role": "author"
+ },
+ {
+ "index": 12,
+ "raw_name": "Botnen, Synn\u00f8ve",
+ "given_name": "Synn\u00f8ve",
+ "surname": "Botnen",
+ "role": "author"
+ },
+ {
+ "index": 13,
+ "raw_name": "Bourlat, Sarah",
+ "given_name": "Sarah",
+ "surname": "Bourlat",
+ "role": "author"
+ },
+ {
+ "index": 14,
+ "raw_name": "Cheeke, Tanya",
+ "given_name": "Tanya",
+ "surname": "Cheeke",
+ "role": "author"
+ },
+ {
+ "index": 15,
+ "raw_name": "Dima, B\u00e1lint",
+ "given_name": "B\u00e1lint",
+ "surname": "Dima",
+ "role": "author"
+ },
+ {
+ "index": 16,
+ "raw_name": "Drenkhan, Rein",
+ "given_name": "Rein",
+ "surname": "Drenkhan",
+ "role": "author"
+ },
+ {
+ "index": 17,
+ "raw_name": "Duarte, Camila",
+ "given_name": "Camila",
+ "surname": "Duarte",
+ "role": "author"
+ },
+ {
+ "index": 18,
+ "raw_name": "Due\u00f1as, Margarita",
+ "given_name": "Margarita",
+ "surname": "Due\u00f1as",
+ "role": "author"
+ },
+ {
+ "index": 19,
+ "raw_name": "Eberhardt, Ursula",
+ "given_name": "Ursula",
+ "surname": "Eberhardt",
+ "role": "author"
+ },
+ {
+ "index": 20,
+ "raw_name": "Friberg, Hanna",
+ "given_name": "Hanna",
+ "surname": "Friberg",
+ "role": "author"
+ },
+ {
+ "index": 21,
+ "raw_name": "Fr\u00f8slev, Tobias G.",
+ "given_name": "Tobias G.",
+ "surname": "Fr\u00f8slev",
+ "role": "author"
+ },
+ {
+ "index": 22,
+ "raw_name": "Garnica, Sigisfredo",
+ "given_name": "Sigisfredo",
+ "surname": "Garnica",
+ "role": "author"
+ },
+ {
+ "index": 23,
+ "raw_name": "Geml, J\u00f3zsef",
+ "given_name": "J\u00f3zsef",
+ "surname": "Geml",
+ "role": "author"
+ },
+ {
+ "index": 24,
+ "raw_name": "Ghobad-Nejhad, Masoomeh",
+ "given_name": "Masoomeh",
+ "surname": "Ghobad-Nejhad",
+ "role": "author"
+ },
+ {
+ "index": 25,
+ "raw_name": "Grebenc, Tine",
+ "given_name": "Tine",
+ "surname": "Grebenc",
+ "role": "author"
+ },
+ {
+ "index": 26,
+ "raw_name": "Griffith, Gareth W.",
+ "given_name": "Gareth W.",
+ "surname": "Griffith",
+ "role": "author"
+ },
+ {
+ "index": 27,
+ "raw_name": "Hampe, Felix",
+ "given_name": "Felix",
+ "surname": "Hampe",
+ "role": "author"
+ },
+ {
+ "index": 28,
+ "raw_name": "Kennedy, Peter",
+ "given_name": "Peter",
+ "surname": "Kennedy",
+ "role": "author"
+ },
+ {
+ "index": 29,
+ "raw_name": "Khomich, Maryia",
+ "given_name": "Maryia",
+ "surname": "Khomich",
+ "role": "author"
+ },
+ {
+ "index": 30,
+ "raw_name": "Kohout, Petr",
+ "given_name": "Petr",
+ "surname": "Kohout",
+ "role": "author"
+ },
+ {
+ "index": 31,
+ "raw_name": "Kollom, Anu",
+ "given_name": "Anu",
+ "surname": "Kollom",
+ "role": "author"
+ },
+ {
+ "index": 32,
+ "raw_name": "Larsson, Ellen",
+ "given_name": "Ellen",
+ "surname": "Larsson",
+ "role": "author"
+ },
+ {
+ "index": 33,
+ "raw_name": "Laszlo, Irinyi",
+ "given_name": "Irinyi",
+ "surname": "Laszlo",
+ "role": "author"
+ },
+ {
+ "index": 34,
+ "raw_name": "Leavitt, Steven",
+ "given_name": "Steven",
+ "surname": "Leavitt",
+ "role": "author"
+ },
+ {
+ "index": 35,
+ "raw_name": "Liimatainen, Kare",
+ "given_name": "Kare",
+ "surname": "Liimatainen",
+ "role": "author"
+ },
+ {
+ "index": 36,
+ "raw_name": "Lindahl, Bj\u00f6rn",
+ "given_name": "Bj\u00f6rn",
+ "surname": "Lindahl",
+ "role": "author"
+ },
+ {
+ "index": 37,
+ "raw_name": "Lodge, Deborah J.",
+ "given_name": "Deborah J.",
+ "surname": "Lodge",
+ "role": "author"
+ },
+ {
+ "index": 38,
+ "raw_name": "Lumbsch, Helge Thorsten",
+ "given_name": "Helge Thorsten",
+ "surname": "Lumbsch",
+ "role": "author"
+ },
+ {
+ "index": 39,
+ "raw_name": "Mart\u00edn Esteban, Mar\u00eda Paz",
+ "given_name": "Mar\u00eda Paz",
+ "surname": "Mart\u00edn Esteban",
+ "role": "author"
+ },
+ {
+ "index": 40,
+ "raw_name": "Meyer, Wieland",
+ "given_name": "Wieland",
+ "surname": "Meyer",
+ "role": "author"
+ },
+ {
+ "index": 41,
+ "raw_name": "Miettinen, Otto",
+ "given_name": "Otto",
+ "surname": "Miettinen",
+ "role": "author"
+ },
+ {
+ "index": 42,
+ "raw_name": "Nguyen, Nhu",
+ "given_name": "Nhu",
+ "surname": "Nguyen",
+ "role": "author"
+ },
+ {
+ "index": 43,
+ "raw_name": "Niskanen, Tuula",
+ "given_name": "Tuula",
+ "surname": "Niskanen",
+ "role": "author"
+ },
+ {
+ "index": 44,
+ "raw_name": "Oono, Ryoko",
+ "given_name": "Ryoko",
+ "surname": "Oono",
+ "role": "author"
+ },
+ {
+ "index": 45,
+ "raw_name": "\u00d6pik, Maarja",
+ "given_name": "Maarja",
+ "surname": "\u00d6pik",
+ "role": "author"
+ },
+ {
+ "index": 46,
+ "raw_name": "Ordynets, Alexander",
+ "given_name": "Alexander",
+ "surname": "Ordynets",
+ "role": "author"
+ },
+ {
+ "index": 47,
+ "raw_name": "Paw\u0142owska, Julia",
+ "given_name": "Julia",
+ "surname": "Paw\u0142owska",
+ "role": "author"
+ },
+ {
+ "index": 48,
+ "raw_name": "Peintner, Ursula",
+ "given_name": "Ursula",
+ "surname": "Peintner",
+ "role": "author"
+ },
+ {
+ "index": 49,
+ "raw_name": "Pereira, Olinto Liparini",
+ "given_name": "Olinto Liparini",
+ "surname": "Pereira",
+ "role": "author"
+ },
+ {
+ "index": 50,
+ "raw_name": "Pinho, Danilo Batista",
+ "given_name": "Danilo Batista",
+ "surname": "Pinho",
+ "role": "author"
+ },
+ {
+ "index": 51,
+ "raw_name": "P\u00f5ldmaa, Kadri",
+ "given_name": "Kadri",
+ "surname": "P\u00f5ldmaa",
+ "role": "author"
+ },
+ {
+ "index": 52,
+ "raw_name": "Runnel, Kadri",
+ "given_name": "Kadri",
+ "surname": "Runnel",
+ "role": "author"
+ },
+ {
+ "index": 53,
+ "raw_name": "Ryberg, Martin",
+ "given_name": "Martin",
+ "surname": "Ryberg",
+ "role": "author"
+ },
+ {
+ "index": 54,
+ "raw_name": "Saar, Irja",
+ "given_name": "Irja",
+ "surname": "Saar",
+ "role": "author"
+ },
+ {
+ "index": 55,
+ "raw_name": "Sanli, Kemal",
+ "given_name": "Kemal",
+ "surname": "Sanli",
+ "role": "author"
+ },
+ {
+ "index": 56,
+ "raw_name": "Scott, James",
+ "given_name": "James",
+ "surname": "Scott",
+ "role": "author"
+ },
+ {
+ "index": 57,
+ "raw_name": "Spirin, Viacheslav",
+ "given_name": "Viacheslav",
+ "surname": "Spirin",
+ "role": "author"
+ },
+ {
+ "index": 58,
+ "raw_name": "Suija, Ave",
+ "given_name": "Ave",
+ "surname": "Suija",
+ "role": "author"
+ },
+ {
+ "index": 59,
+ "raw_name": "Svantesson, Sten",
+ "given_name": "Sten",
+ "surname": "Svantesson",
+ "role": "author"
+ },
+ {
+ "index": 60,
+ "raw_name": "Tadych, Mariusz",
+ "given_name": "Mariusz",
+ "surname": "Tadych",
+ "role": "author"
+ },
+ {
+ "index": 61,
+ "raw_name": "Takamatsu, Susumu",
+ "given_name": "Susumu",
+ "surname": "Takamatsu",
+ "role": "author"
+ },
+ {
+ "index": 62,
+ "raw_name": "Tamm, Heidi",
+ "given_name": "Heidi",
+ "surname": "Tamm",
+ "role": "author"
+ },
+ {
+ "index": 63,
+ "raw_name": "Taylor, AFS.",
+ "given_name": "AFS.",
+ "surname": "Taylor",
+ "role": "author"
+ },
+ {
+ "index": 64,
+ "raw_name": "Tedersoo, Leho",
+ "given_name": "Leho",
+ "surname": "Tedersoo",
+ "role": "author"
+ },
+ {
+ "index": 65,
+ "raw_name": "Telleria, M.T.",
+ "given_name": "M.T.",
+ "surname": "Telleria",
+ "role": "author"
+ },
+ {
+ "index": 66,
+ "raw_name": "Udayanga, Dhanushka",
+ "given_name": "Dhanushka",
+ "surname": "Udayanga",
+ "role": "author"
+ },
+ {
+ "index": 67,
+ "raw_name": "Unterseher, Martin",
+ "given_name": "Martin",
+ "surname": "Unterseher",
+ "role": "author"
+ },
+ {
+ "index": 68,
+ "raw_name": "Volobuev, Sergey",
+ "given_name": "Sergey",
+ "surname": "Volobuev",
+ "role": "author"
+ },
+ {
+ "index": 69,
+ "raw_name": "Weiss, Michael",
+ "given_name": "Michael",
+ "surname": "Weiss",
+ "role": "author"
+ },
+ {
+ "index": 70,
+ "raw_name": "Wurzbacher, Christian",
+ "given_name": "Christian",
+ "surname": "Wurzbacher",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "UNITE provides a unified way for delimiting, identifying, communicating, and working with DNA-based Species Hypotheses (SH). All fungal ITS sequences in the international nucleotide sequence databases are clustered to approximately the species level by applying a set of dynamic distance values (&lt;0.5 - 3.0%). All species hypotheses are given a unique, stable name in the form of a DOI, and their taxonomic and ecological annotations are verified through distributed, web-based third-party annotation efforts. SHs are connected to a taxon name and its classification as far as possible (phylum, class, order, etc.) by taking into account identifications for all sequences in the SH. An automatically or manually designated sequence is chosen to represent each such SH. These sequences are released (https://unite.ut.ee/repository.php) for use by the scientific community in, for example, local sequence similarity searches and next-generation sequencing analysis pipelines. The system and the data are updated automatically as the number of public fungal ITS sequences grows.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_06.json b/python/tests/files/datacite/datacite_result_06.json
new file mode 100644
index 00000000..61f2549d
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_06.json
@@ -0,0 +1,26 @@
+{
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "rights": "ETH-Bibliothek Z\u00fcrich, Graphische Sammlung / D 6220 / Public Domain Mark 1.0"
+ }
+ ]
+ }
+ },
+ "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\"",
+ "release_type": "article",
+ "release_year": 1590,
+ "ext_ids": {
+ "doi": "10.16903/ethz-grs-d_006220"
+ },
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Crispijn De Passe (Der \u00c4ltere) (1564-1637)",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_07.json b/python/tests/files/datacite/datacite_result_07.json
new file mode 100644
index 00000000..324bb663
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_07.json
@@ -0,0 +1,73 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "HEAT PUMP"
+ },
+ {
+ "subject": "HOT WATER"
+ },
+ {
+ "subject": "HEAT TRANSFER"
+ },
+ {
+ "subject": "PERFORMANCE"
+ },
+ {
+ "subject": "THERMAL STORAGE"
+ },
+ {
+ "subject": "TANK"
+ },
+ {
+ "subject": "MODEL"
+ }
+ ]
+ }
+ },
+ "title": "High efficient heat pump system using storage tanks to increase cop by means of the ISEC concept. 1: model validation.",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2015,
+ "ext_ids": {
+ "doi": "10.18462/iir.icr.2015.0926"
+ },
+ "publisher": "International Institute of Refrigeration (IIR)",
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "ROTHUIZEN, E.",
+ "given_name": "E.",
+ "surname": "ROTHUIZEN",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "ELMEGAARD, B.",
+ "given_name": "B.",
+ "surname": "ELMEGAARD",
+ "role": "author"
+ },
+ {
+ "index": 2,
+ "raw_name": "MARKUSSEN W., B.",
+ "given_name": "B.",
+ "surname": "MARKUSSEN W.",
+ "role": "author"
+ },
+ {
+ "index": 3,
+ "raw_name": "Et Al.",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "The purpose of the ISEC concept is to provide a high-efficient heat pump system for hot water production. The ISEC concept uses two storage tanks for the water, one discharged and one charged. Hot water for the industrial process is tapped from the charged tank, while the other tank is charging. Charging is done by circulating the water in the tank through the condenser of a heat pump several times and thereby gradually heating the water. The charging is done with a higher mass flow rate than the discharging to reach several circulations of the water during the time frame of one discharging. This result in a lower condensing temperature than if the water was heated in one step. Two test setups were built, one to test the performance of the heat pump gradually heating the water and one to investigate the stratification in the storage tanks. Furthermore, a dynamic model of the system was implemented in Dymola, and validated by the use of test data from the two experimental setups. This paper shows that there is a good consistency between the model and the experimental tests.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_08.json b/python/tests/files/datacite/datacite_result_08.json
new file mode 100644
index 00000000..281c3679
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_08.json
@@ -0,0 +1,53 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "Land Economics/Use"
+ },
+ {
+ "subject": "irrigation",
+ "subjectScheme": "keyword"
+ },
+ {
+ "subject": "industrialization",
+ "subjectScheme": "keyword"
+ },
+ {
+ "subject": "collective action",
+ "subjectScheme": "keyword"
+ }
+ ]
+ }
+ },
+ "title": "Irrigation Policies under Rapid Industrialization and Labor Migration: Lessons from Japan, China and India",
+ "release_type": "article-journal",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.22004/ag.econ.284864"
+ },
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Kajisa, Kei",
+ "given_name": "Kei",
+ "surname": "Kajisa",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Kajisa, Kei",
+ "given_name": "Kei",
+ "surname": "Kajisa",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "International society recognizes that the scarcity of fresh water is increasing and farming sectors suffer from lack of irrigation water. However, if we look at this issue with a framework of relative factor endowment, a different view will arise. In emerging states with rapid industrialization and labor migration, labor scarcity increases at a faster pace than that of irrigation water. Using the historical review of Japan\u2019s irrigation policies as well as the case studies of India and China, this paper shows that the introduction of policies which do not reflect the actual relative resource scarcity may mislead the development path. We argue that under increasing relative labor scarcity it is important to realize the substitution of capital for labor for surface irrigation system management and that the substitution needs public support because the service of surface irrigation system has some externalities. Through this argument, this paper also intends to shed the light back to the role of the state for local resource management which seems to be unfairly undervalued since the boom of community participatory approach in the 1980s.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_09.json b/python/tests/files/datacite/datacite_result_09.json
new file mode 100644
index 00000000..01f92f85
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_09.json
@@ -0,0 +1,35 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "Direktdiodenlasersysteme"
+ },
+ {
+ "subject": "Physics",
+ "subjectScheme": "linsearch"
+ }
+ ]
+ }
+ },
+ "title": "BrightLas : TP3.3. Module f\u00fcr Direktdiodenstrahlquellen bis 4kW und Untersuchungen zur Leistungsskalierung (Diodemodul) : zum Verbundvorhaben Direktdiodenlaseranlagen und -systeme (VP3) im F\u00f6rderschwerpunkt innovative regionale Wachstumskerne, BMBF : Abschlussbericht",
+ "release_type": "report",
+ "release_stage": "published",
+ "release_year": 2016,
+ "ext_ids": {
+ "doi": "10.2314/gbv:880813733"
+ },
+ "publisher": "[Lumics GmbH]",
+ "language": "de",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Kirstaedter, Nils",
+ "given_name": "Nils",
+ "surname": "Kirstaedter",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_10.json b/python/tests/files/datacite/datacite_result_10.json
new file mode 100644
index 00000000..325facf7
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_10.json
@@ -0,0 +1,32 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "housing areas"
+ },
+ {
+ "subject": "Dwellings"
+ }
+ ]
+ }
+ },
+ "title": "WPA household census for 210 E VERNON, Los Angeles",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2012,
+ "ext_ids": {
+ "doi": "10.25549/wpacards-m6171"
+ },
+ "publisher": "University of Southern California Digital Library (USC.DL)",
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Unknown",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_11.json b/python/tests/files/datacite/datacite_result_11.json
new file mode 100644
index 00000000..037c5ac2
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_11.json
@@ -0,0 +1,21 @@
+{
+ "extra": {},
+ "title": "N1 bei Safenwil",
+ "release_type": "graphic",
+ "release_stage": "published",
+ "release_year": 1965,
+ "ext_ids": {
+ "doi": "10.3932/ethz-a-000055869"
+ },
+ "publisher": "ETH-Bibliothek Z\u00fcrich, Bildarchiv",
+ "language": "de",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Comet Photo AG (Z\u00fcrich)",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_12.json b/python/tests/files/datacite/datacite_result_12.json
new file mode 100644
index 00000000..6b6cad4a
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_12.json
@@ -0,0 +1,44 @@
+{
+ "extra": {},
+ "title": "Anthropometric and Physiological Profile of Mixed Martial Art Athletes: A Brief Review",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_date": "2019-06-14",
+ "release_year": 2019,
+ "ext_ids": {
+ "doi": "10.5167/uzh-171449"
+ },
+ "publisher": "MDPI Publishing",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Spanias, Charalampos",
+ "given_name": "Charalampos",
+ "surname": "Spanias",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Nikolaidis, Pantelis T",
+ "given_name": "Pantelis T",
+ "surname": "Nikolaidis",
+ "role": "author"
+ },
+ {
+ "index": 2,
+ "raw_name": "Rosemann, Thomas",
+ "given_name": "Thomas",
+ "surname": "Rosemann",
+ "role": "author"
+ },
+ {
+ "index": 3,
+ "raw_name": "Knechtle, Beat",
+ "given_name": "Beat",
+ "surname": "Knechtle",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_13.json b/python/tests/files/datacite/datacite_result_13.json
new file mode 100644
index 00000000..3da3816d
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_13.json
@@ -0,0 +1,28 @@
+{
+ "extra": {},
+ "title": "[M\u00fcssen wir des Gl\u00fccks uns sch\u00e4men?]",
+ "release_type": "article-journal",
+ "release_stage": "published",
+ "release_date": "1940-10-05",
+ "release_year": 1940,
+ "ext_ids": {
+ "doi": "10.5169/seals-314104"
+ },
+ "publisher": "Buchdruckerei B\u00fcchler & Co.",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "O.M.",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Hiltbrunner, Hermann",
+ "given_name": "Hermann",
+ "surname": "Hiltbrunner",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_14.json b/python/tests/files/datacite/datacite_result_14.json
new file mode 100644
index 00000000..94c00472
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_14.json
@@ -0,0 +1,110 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "Crystal Structure"
+ },
+ {
+ "subject": "Experimental 3D Coordinates"
+ },
+ {
+ "subject": "Crystal System"
+ },
+ {
+ "subject": "Space Group"
+ },
+ {
+ "subject": "Cell Parameters"
+ },
+ {
+ "subject": "Crystallography"
+ },
+ {
+ "subject": "bis(mu~2~-5-(3,5-Di-t-butylphenyl)-15-(4-(2-(diphenylphosphino)ethynyl)phenyl)-2,8,12,18-tetrahexyl-3,7,13,17-tetramethylporphyrinato)-(5,15-bis(3,5-di-t-butylphenyl)-2,8,12,18-tetraethyl-3,7,13,17-tetramethylporphyrinato)-di-nickel-ruthenium chloroform solvate"
+ }
+ ],
+ "relations": [
+ {
+ "relationType": "IsSupplementTo",
+ "relatedIdentifier": "10.1021/ic034699w",
+ "relatedIdentifierType": "DOI"
+ }
+ ]
+ }
+ },
+ "title": "CCDC 222635: Experimental Crystal Structure Determination",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2004,
+ "ext_ids": {
+ "doi": "10.5517/cc7gns3"
+ },
+ "publisher": "Cambridge Crystallographic Data Centre",
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Stulz, E.",
+ "given_name": "E.",
+ "surname": "Stulz",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Scott, S.M.",
+ "given_name": "S.M.",
+ "surname": "Scott",
+ "role": "author"
+ },
+ {
+ "index": 2,
+ "raw_name": "Ng, Yiu-Fai",
+ "given_name": "Yiu-Fai",
+ "surname": "Ng",
+ "role": "author"
+ },
+ {
+ "index": 3,
+ "raw_name": "Bond, A.D.",
+ "given_name": "A.D.",
+ "surname": "Bond",
+ "role": "author"
+ },
+ {
+ "index": 4,
+ "raw_name": "Teat, S.J.",
+ "given_name": "S.J.",
+ "surname": "Teat",
+ "role": "author"
+ },
+ {
+ "index": 5,
+ "raw_name": "Darling, S.L.",
+ "given_name": "S.L.",
+ "surname": "Darling",
+ "role": "author"
+ },
+ {
+ "index": 6,
+ "raw_name": "Feeder, N.",
+ "given_name": "N.",
+ "surname": "Feeder",
+ "role": "author"
+ },
+ {
+ "index": 7,
+ "raw_name": "Sanders, J.K.M.",
+ "given_name": "J.K.M.",
+ "surname": "Sanders",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "An entry from the Cambridge Structural Database, the world\u2019s repository for small molecule crystal structures. The entry contains experimental data from a crystal diffraction study. The deposited dataset for this entry is freely available from the CCDC and typically includes 3D coordinates, cell parameters, space group, experimental conditions and quality measures.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_15.json b/python/tests/files/datacite/datacite_result_15.json
new file mode 100644
index 00000000..0614f6ba
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_15.json
@@ -0,0 +1,22 @@
+{
+ "extra": {},
+ "title": "Parramore Island of the Virginia Coast Reserve Permanent Plot Resurvey: Tree data 1997",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28"
+ },
+ "publisher": "Environmental Data Initiative",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Richardson, David",
+ "given_name": "David",
+ "surname": "Richardson",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_16.json b/python/tests/files/datacite/datacite_result_16.json
new file mode 100644
index 00000000..1d861cf6
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_16.json
@@ -0,0 +1,31 @@
+{
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "rights": "CC-BY",
+ "rightsUri": "http://creativecommons.org/licenses/by/3.0/us"
+ }
+ ]
+ }
+ },
+ "title": "Testing the Connectivity of Networks",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2014,
+ "ext_ids": {
+ "doi": "10.6084/m9.figshare.1282478"
+ },
+ "publisher": "Figshare",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Sochi, Taha",
+ "given_name": "Taha",
+ "surname": "Sochi",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_17.json b/python/tests/files/datacite/datacite_result_17.json
new file mode 100644
index 00000000..0852a09e
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_17.json
@@ -0,0 +1,20 @@
+{
+ "extra": {},
+ "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": []
+} \ No newline at end of file
diff --git a/python/tests/files/datacite/datacite_result_18.json b/python/tests/files/datacite/datacite_result_18.json
new file mode 100644
index 00000000..12ab39fe
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_18.json
@@ -0,0 +1,15 @@
+{
+ "extra": {},
+ "title": "Eastern questionnaire, answer sheet for Interviewee 53215, page 064",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-21",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d81z522m"
+ },
+ "publisher": "Columbia University",
+ "contribs": [],
+ "refs": [],
+ "abstracts": []
+}
diff --git a/python/tests/files/datacite/datacite_result_19.json b/python/tests/files/datacite/datacite_result_19.json
new file mode 100644
index 00000000..1505db92
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_19.json
@@ -0,0 +1,15 @@
+{
+ "extra": {},
+ "title": "Eastern questionnaire, answer sheet for Interviewee 55236, page 092",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-24",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d86x0cg1"
+ },
+ "publisher": "Columbia University",
+ "contribs": [],
+ "refs": [],
+ "abstracts": []
+}
diff --git a/python/tests/files/datacite/datacite_result_20.json b/python/tests/files/datacite/datacite_result_20.json
new file mode 100644
index 00000000..1868eede
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_20.json
@@ -0,0 +1,14 @@
+{
+ "extra": {},
+ "title": "<h1>Eastern questionnaire</h1>",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-24",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d86x0cg1"
+ },
+ "contribs": [],
+ "refs": [],
+ "abstracts": []
+}
diff --git a/python/tests/files/datacite/datacite_result_21.json b/python/tests/files/datacite/datacite_result_21.json
new file mode 100644
index 00000000..9214065a
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_21.json
@@ -0,0 +1,15 @@
+{
+ "extra": {},
+ "title": "ABC",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-24",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d86x0cg1"
+ },
+ "contribs": [],
+ "refs": [],
+ "abstracts": [],
+ "language": "de"
+}
diff --git a/python/tests/files/datacite/datacite_result_22.json b/python/tests/files/datacite/datacite_result_22.json
new file mode 100644
index 00000000..e9939e09
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_22.json
@@ -0,0 +1,22 @@
+{
+ "extra": {},
+ "title": "ABC",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-24",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d86x0cg1"
+ },
+ "contribs": [
+ {
+ "raw_affiliation": "Department of pataphysics",
+ "index": 0,
+ "raw_name": "Anton Welch",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [],
+ "language": "de"
+}
diff --git a/python/tests/files/datacite/datacite_result_23.json b/python/tests/files/datacite/datacite_result_23.json
new file mode 100644
index 00000000..2bf66eae
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_23.json
@@ -0,0 +1,22 @@
+{
+ "extra": {},
+ "title": "ABC",
+ "release_type": "article",
+ "release_stage": "published",
+ "release_date": "2017-08-24",
+ "release_year": 2017,
+ "ext_ids": {
+ "doi": "10.7916/d86x0cg1-xxx"
+ },
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Anton Welch",
+ "role": "author",
+ "raw_affiliation": "Department of pataphysics"
+ }
+ ],
+ "refs": [],
+ "abstracts": [],
+ "language": "de"
+}
diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py
index bc47a185..cdc165d7 100644
--- a/python/tests/import_datacite.py
+++ b/python/tests/import_datacite.py
@@ -7,7 +7,8 @@ import datetime
import pytest
import gzip
from fatcat_tools.importers import DataciteImporter, JsonLinePusher
-from fatcat_tools.importers.datacite import find_original_language_title, parse_datacite_titles, parse_datacite_dates
+from fatcat_tools.importers.datacite import find_original_language_title, parse_datacite_titles, parse_datacite_dates, clean_doi
+from fatcat_tools.transforms import entity_to_dict
from fixtures import api
import json
@@ -270,3 +271,26 @@ def test_datacite_dict_parse(datacite_importer):
assert r.contribs[0].given_name == None
assert r.contribs[0].surname == None
assert len(r.refs) == 0
+
+def test_clean_doi():
+ assert clean_doi("10.25513/1812-3996.2017.1.34\u201342") == "10.25513/1812-3996.2017.1.34-42"
+ assert "123" == clean_doi("123")
+
+def test_datacite_conversions(datacite_importer):
+ """
+ Datacite JSON to release entity JSON representation. The count is hardcoded
+ for now.
+ """
+ datacite_importer.debug = True
+ for i in range(24):
+ src = 'tests/files/datacite/datacite_doc_{0:02d}.json'.format(i)
+ dst = 'tests/files/datacite/datacite_result_{0:02d}.json'.format(i)
+ print('testing mapping from {} => {}'.format(src, dst))
+ with open(src, 'r') as f:
+ re = datacite_importer.parse_record(json.load(f))
+ result = entity_to_dict(re)
+ with open(dst, 'r') as f:
+ expected = json.loads(f.read())
+
+ assert result == expected
+