From 96e38edde79735b4080ec08d57e9f54759e97b61 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 2 Jan 2020 17:35:54 +0100 Subject: 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 --- python/tests/files/datacite/datacite_doc_01.json | 81 ++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 python/tests/files/datacite/datacite_doc_01.json (limited to 'python/tests/files/datacite/datacite_doc_01.json') 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" + } + } + } +} -- cgit v1.2.3 From d3deb36c26ae86c1763c33a8c356ecd5491caa40 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 8 Jan 2020 22:41:17 +0100 Subject: datacite: reformat test cases and use jq . --sort-keys --- python/tests/files/datacite/datacite_doc_00.json | 158 ++--- python/tests/files/datacite/datacite_doc_01.json | 96 +-- python/tests/files/datacite/datacite_doc_02.json | 96 +-- python/tests/files/datacite/datacite_doc_03.json | 78 +-- python/tests/files/datacite/datacite_doc_04.json | 94 +-- python/tests/files/datacite/datacite_doc_05.json | 684 ++++++++++----------- python/tests/files/datacite/datacite_doc_06.json | 90 +-- python/tests/files/datacite/datacite_doc_07.json | 120 ++-- python/tests/files/datacite/datacite_doc_08.json | 112 ++-- python/tests/files/datacite/datacite_doc_09.json | 140 ++--- python/tests/files/datacite/datacite_doc_10.json | 90 +-- python/tests/files/datacite/datacite_doc_11.json | 92 +-- python/tests/files/datacite/datacite_doc_12.json | 124 ++-- python/tests/files/datacite/datacite_doc_13.json | 98 +-- python/tests/files/datacite/datacite_doc_14.json | 188 +++--- python/tests/files/datacite/datacite_doc_15.json | 92 +-- python/tests/files/datacite/datacite_doc_16.json | 94 +-- python/tests/files/datacite/datacite_doc_17.json | 84 +-- python/tests/files/datacite/datacite_doc_18.json | 82 +-- python/tests/files/datacite/datacite_doc_19.json | 82 +-- python/tests/files/datacite/datacite_doc_20.json | 24 +- python/tests/files/datacite/datacite_doc_21.json | 32 +- python/tests/files/datacite/datacite_doc_22.json | 32 +- python/tests/files/datacite/datacite_doc_23.json | 32 +- python/tests/files/datacite/datacite_doc_24.json | 40 +- python/tests/files/datacite/datacite_doc_25.json | 40 +- python/tests/files/datacite/datacite_doc_26.json | 58 +- .../tests/files/datacite/datacite_result_00.json | 86 +-- .../tests/files/datacite/datacite_result_01.json | 36 +- .../tests/files/datacite/datacite_result_02.json | 36 +- .../tests/files/datacite/datacite_result_03.json | 26 +- .../tests/files/datacite/datacite_result_04.json | 48 +- .../tests/files/datacite/datacite_result_05.json | 494 +++++++-------- .../tests/files/datacite/datacite_result_06.json | 26 +- .../tests/files/datacite/datacite_result_07.json | 92 +-- .../tests/files/datacite/datacite_result_08.json | 66 +- .../tests/files/datacite/datacite_result_09.json | 64 +- .../tests/files/datacite/datacite_result_10.json | 40 +- .../tests/files/datacite/datacite_result_11.json | 32 +- .../tests/files/datacite/datacite_result_12.json | 56 +- .../tests/files/datacite/datacite_result_13.json | 44 +- .../tests/files/datacite/datacite_result_14.json | 152 ++--- .../tests/files/datacite/datacite_result_15.json | 34 +- .../tests/files/datacite/datacite_result_16.json | 34 +- .../tests/files/datacite/datacite_result_17.json | 30 +- .../tests/files/datacite/datacite_result_18.json | 20 +- .../tests/files/datacite/datacite_result_19.json | 20 +- .../tests/files/datacite/datacite_result_20.json | 18 +- .../tests/files/datacite/datacite_result_21.json | 20 +- .../tests/files/datacite/datacite_result_22.json | 32 +- .../tests/files/datacite/datacite_result_23.json | 32 +- .../tests/files/datacite/datacite_result_24.json | 32 +- .../tests/files/datacite/datacite_result_25.json | 32 +- .../tests/files/datacite/datacite_result_26.json | 46 +- 54 files changed, 2301 insertions(+), 2299 deletions(-) (limited to 'python/tests/files/datacite/datacite_doc_01.json') diff --git a/python/tests/files/datacite/datacite_doc_00.json b/python/tests/files/datacite/datacite_doc_00.json index 248f525f..f60b106f 100644 --- a/python/tests/files/datacite/datacite_doc_00.json +++ b/python/tests/files/datacite/datacite_doc_00.json @@ -1,53 +1,34 @@ { - "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" - } - ], + "container": { + "firstPage": "927", + "identifier": "1074-1542", + "identifierType": "ISSN", + "issue": "12", + "lastPage": "930", + "title": "Journal of Chemical Crystallography", + "type": "Journal", + "volume": "38" + }, + "contentUrl": null, + "contributors": [], + "created": "2019-06-18T14:52:19.000Z", "creators": [ { - "name": "Li, Qian-Jin", - "nameType": "Personal", - "givenName": "Qian-Jin", + "affiliation": [], "familyName": "Li", - "affiliation": [] + "givenName": "Qian-Jin", + "name": "Li, Qian-Jin", + "nameType": "Personal" }, { - "name": "Yang, Chun-Long", - "nameType": "Personal", - "givenName": "Chun-Long", + "affiliation": [], "familyName": "Yang", - "affiliation": [] - } - ], - "titles": [ - { - "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(4-nitrophenyl)thiourea" + "givenName": "Chun-Long", + "name": "Yang, Chun-Long", + "nameType": "Personal" } ], - "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", @@ -58,77 +39,95 @@ "dateType": "Updated" } ], + "descriptions": [], + "doi": "10.1007/s10870-008-9413-z", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.1007/s10870-008-9413-z", + "identifierType": "DOI" + }, + { + "identifier": "s10870-008-9413-z", + "identifierType": "Publisher ID" + } + ], + "isActive": true, "language": null, - "types": { - "ris": "JOUR", - "bibtex": "article", - "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", - "resourceType": "JournalArticle", - "resourceTypeGeneral": "Text" - }, + "metadataVersion": 1, + "publicationYear": 2008, + "published": "2008", + "publisher": "Springer Science and Business Media LLC", + "reason": null, + "registered": null, "relatedIdentifiers": [ { - "relationType": "IsPartOf", "relatedIdentifier": "1074-1542", - "resourceTypeGeneral": "Collection", - "relatedIdentifierType": "ISSN" + "relatedIdentifierType": "ISSN", + "relationType": "IsPartOf", + "resourceTypeGeneral": "Collection" }, { - "relationType": "References", "relatedIdentifier": "10.1016/j.bmcl.2005.09.033", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" }, { - "relationType": "References", "relatedIdentifier": "10.1016/s0022-1139(02)00330-5", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" }, { - "relationType": "References", "relatedIdentifier": "10.1016/s0010-8545(01)00337-x", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" }, { - "relationType": "References", "relatedIdentifier": "10.1016/j.tetlet.2005.06.135", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" }, { - "relationType": "References", "relatedIdentifier": "10.1039/p298700000s1", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" }, { - "relationType": "References", "relatedIdentifier": "10.1002/anie.199515551", - "relatedIdentifierType": "DOI" + "relatedIdentifierType": "DOI", + "relationType": "References" } ], - "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", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(4-nitrophenyl)thiourea" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceType": "JournalArticle", + "resourceTypeGeneral": "Text", + "ris": "JOUR", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-08-03T00:03:40.000Z", + "url": "http://link.springer.com/10.1007/s10870-008-9413-z", + "version": null }, + "id": "10.1007/s10870-008-9413-z", "relationships": { "client": { "data": { @@ -136,5 +135,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_01.json b/python/tests/files/datacite/datacite_doc_01.json index c4ef6e45..16a446b3 100644 --- a/python/tests/files/datacite/datacite_doc_01.json +++ b/python/tests/files/datacite/datacite_doc_01.json @@ -1,75 +1,74 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2016-12-08T07:43:15.000Z", "creators": [ { - "name": "Dargenty, G.", - "nameType": "Personal", - "givenName": "G.", + "affiliation": [], "familyName": "Dargenty", - "affiliation": [] - } - ], - "titles": [ - { - "lang": "de", - "title": "Ferdinand Gaillard, [1]: né à Paris le 16 janvier 1834, mort à Paris le 19 janvier 1887" + "givenName": "G.", + "name": "Dargenty, G.", + "nameType": "Personal" } ], - "publisher": "University Library Heidelberg", - "container": {}, - "publicationYear": 1887, - "subjects": [], - "contributors": [], "dates": [ { "date": "1887", "dateType": "Issued" } ], + "descriptions": [], + "doi": "10.11588/diglit.25558.39", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.11588/diglit.25558.39", + "identifierType": "DOI" + } + ], + "isActive": true, "language": "fre", - "types": { - "ris": "RPRT", - "bibtex": "article", - "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", - "resourceType": "DigitalisatDigital copy", - "resourceTypeGeneral": "Text" - }, + "metadataVersion": 4, + "publicationYear": 1887, + "published": "1887", + "publisher": "University Library Heidelberg", + "reason": null, + "registered": "2016-12-08T07:43:15.000Z", "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", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "lang": "de", + "title": "Ferdinand Gaillard, [1]: né à Paris le 16 janvier 1834, mort à Paris le 19 janvier 1887" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceType": "DigitalisatDigital copy", + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-08-02T14:27:33.000Z", + "url": "http://digi.ub.uni-heidelberg.de/diglit/art1887_1/0172", + "version": null }, + "id": "10.11588/diglit.25558.39", "relationships": { "client": { "data": { @@ -77,5 +76,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_02.json b/python/tests/files/datacite/datacite_doc_02.json index 8b9a594e..139e2cb0 100644 --- a/python/tests/files/datacite/datacite_doc_02.json +++ b/python/tests/files/datacite/datacite_doc_02.json @@ -1,53 +1,44 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2018-11-29T12:04:12.000Z", "creators": [ { - "name": "Weyersberg, Albert", - "nameType": "Personal", - "givenName": "Albert", + "affiliation": [], "familyName": "Weyersberg", - "affiliation": [] - } - ], - "titles": [ - { - "lang": "de", - "title": "Solinger Schwertschmiede-Familien, [4]" + "givenName": "Albert", + "name": "Weyersberg, Albert", + "nameType": "Personal" } ], - "publisher": "University Library Heidelberg", - "container": {}, - "publicationYear": 1897, - "subjects": [], - "contributors": [], "dates": [ { "date": "1897", "dateType": "Issued" } ], + "descriptions": [], + "doi": "10.11588/diglit.37715.57", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.11588/diglit.37715.57", + "identifierType": "DOI" + } + ], + "isActive": true, "language": "ger", - "types": { - "ris": "RPRT", - "bibtex": "article", - "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", - "resourceType": "DigitalisatDigital copy", - "resourceTypeGeneral": "Text" - }, + "metadataVersion": 2, + "publicationYear": 1897, + "published": "1897", + "publisher": "University Library Heidelberg", + "reason": null, + "registered": "2018-11-29T12:04:13.000Z", "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, "rightsList": [ { "lang": "de", @@ -58,22 +49,30 @@ "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", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "lang": "de", + "title": "Solinger Schwertschmiede-Familien, [4]" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceType": "DigitalisatDigital copy", + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-08-02T21:31:04.000Z", + "url": "https://digi.ub.uni-heidelberg.de/diglit/zhwk1897_1899/0131", + "version": null }, + "id": "10.11588/diglit.37715.57", "relationships": { "client": { "data": { @@ -81,5 +80,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_03.json b/python/tests/files/datacite/datacite_doc_03.json index e77a359c..80bacabc 100644 --- a/python/tests/files/datacite/datacite_doc_03.json +++ b/python/tests/files/datacite/datacite_doc_03.json @@ -1,64 +1,63 @@ { - "id": "10.13140/rg.2.2.30434.53446", - "type": "dois", "attributes": { - "doi": "10.13140/rg.2.2.30434.53446", - "identifiers": [ + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2016-11-03T09:07:08.000Z", + "creators": [ { - "identifier": "https://doi.org/10.13140/rg.2.2.30434.53446", - "identifierType": "DOI" + "affiliation": [], + "name": "Mastura Yahya" } ], - "creators": [ + "dates": [ { - "name": "Mastura Yahya", - "affiliation": [] + "date": "2016", + "dateType": "Issued" } ], - "titles": [ + "descriptions": [], + "doi": "10.13140/rg.2.2.30434.53446", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ { - "title": "midterm ah30903" + "identifier": "https://doi.org/10.13140/rg.2.2.30434.53446", + "identifierType": "DOI" } ], - "publisher": "Unpublished", - "container": {}, + "isActive": true, + "language": "ms", + "metadataVersion": 0, "publicationYear": 2016, + "published": "2016", + "publisher": "Unpublished", + "reason": null, + "registered": "2016-11-03T09:07:09.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], + "source": null, + "state": "findable", "subjects": [], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2016", - "dateType": "Issued" + "title": "midterm ah30903" } ], - "language": "ms", "types": { - "ris": "GEN", "bibtex": "misc", "citeproc": "article", + "ris": "GEN", "schemaOrg": "CreativeWork" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-02T12:51:15.000Z", "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" + "version": null }, + "id": "10.13140/rg.2.2.30434.53446", "relationships": { "client": { "data": { @@ -66,5 +65,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_04.json b/python/tests/files/datacite/datacite_doc_04.json index 8655a26a..f7d06a75 100644 --- a/python/tests/files/datacite/datacite_doc_04.json +++ b/python/tests/files/datacite/datacite_doc_04.json @@ -1,74 +1,73 @@ { - "id": "10.14288/1.0080520", - "type": "dois", "attributes": { - "doi": "10.14288/1.0080520", - "identifiers": [ - { - "identifier": "https://doi.org/10.14288/1.0080520", - "identifierType": "DOI" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2015-11-11T11:12:34.000Z", "creators": [ { - "name": "Nicollerat, Marc Andre", - "nameType": "Personal", - "givenName": "Marc Andre", + "affiliation": [], "familyName": "Nicollerat", - "affiliation": [] - } - ], - "titles": [ - { - "title": "On chain maps inducing isomorphisms in homology" + "givenName": "Marc Andre", + "name": "Nicollerat, Marc Andre", + "nameType": "Personal" } ], - "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": [], + "doi": "10.14288/1.0080520", + "formats": [], "fundingReferences": [], - "url": "https://doi.library.ubc.ca/10.14288/1.0080520", - "contentUrl": null, + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.14288/1.0080520", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "en", "metadataVersion": 5, + "publicationYear": 1973, + "published": "1973", + "publisher": "University of British Columbia", + "reason": null, + "registered": "2015-11-11T11:12:35.000Z", + "relatedIdentifiers": [], + "rightsList": [], "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "On chain maps inducing isomorphisms in homology" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceType": "Text", + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-08-02T09:43:14.000Z", + "url": "https://doi.library.ubc.ca/10.14288/1.0080520", + "version": null }, + "id": "10.14288/1.0080520", "relationships": { "client": { "data": { @@ -76,5 +75,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_05.json b/python/tests/files/datacite/datacite_doc_05.json index 75e68e9d..76fb73a8 100644 --- a/python/tests/files/datacite/datacite_doc_05.json +++ b/python/tests/files/datacite/datacite_doc_05.json @@ -1,534 +1,515 @@ { - "id": "10.15156/bio/sh409843.07fu", - "type": "dois", "attributes": { - "doi": "10.15156/bio/sh409843.07fu", - "identifiers": [ + "container": {}, + "contentUrl": null, + "contributors": [ { - "identifier": "https://doi.org/10.15156/bio/sh409843.07fu", - "identifierType": "DOI" + "affiliation": [], + "name": "Kessy Abarenkov" + }, + { + "affiliation": [], + "name": "NHM UT-University Of Tartu; Natural History Museum And Botanic Garden" } ], + "created": "2015-06-05T10:23:18.000Z", "creators": [ { - "name": "Kõljalg, Urmas", - "nameType": "Personal", - "givenName": "Urmas", + "affiliation": [], "familyName": "Kõljalg", - "affiliation": [] + "givenName": "Urmas", + "name": "Kõljalg, Urmas", + "nameType": "Personal" }, { - "name": "Abarenkov, Kessy", - "nameType": "Personal", - "givenName": "Kessy", + "affiliation": [], "familyName": "Abarenkov", - "affiliation": [] + "givenName": "Kessy", + "name": "Abarenkov, Kessy", + "nameType": "Personal" }, { - "name": "Nilsson, R. Henrik", - "nameType": "Personal", - "givenName": "R. Henrik", + "affiliation": [], "familyName": "Nilsson", - "affiliation": [] + "givenName": "R. Henrik", + "name": "Nilsson, R. Henrik", + "nameType": "Personal" }, { - "name": "Larsson, Karl-Henrik", - "nameType": "Personal", - "givenName": "Karl-Henrik", + "affiliation": [], "familyName": "Larsson", - "affiliation": [] + "givenName": "Karl-Henrik", + "name": "Larsson, Karl-Henrik", + "nameType": "Personal" }, { - "name": "Aas, Anders Bjørnsgard", - "nameType": "Personal", - "givenName": "Anders Bjørnsgard", + "affiliation": [], "familyName": "Aas", - "affiliation": [] + "givenName": "Anders Bjørnsgard", + "name": "Aas, Anders Bjørnsgard", + "nameType": "Personal" }, { - "name": "Adams, Rachel", - "nameType": "Personal", - "givenName": "Rachel", + "affiliation": [], "familyName": "Adams", - "affiliation": [] + "givenName": "Rachel", + "name": "Adams, Rachel", + "nameType": "Personal" }, { - "name": "Alves, Artur", - "nameType": "Personal", - "givenName": "Artur", + "affiliation": [], "familyName": "Alves", - "affiliation": [] + "givenName": "Artur", + "name": "Alves, Artur", + "nameType": "Personal" }, { - "name": "Ammirati, Joseph F.", - "nameType": "Personal", - "givenName": "Joseph F.", + "affiliation": [], "familyName": "Ammirati", - "affiliation": [] + "givenName": "Joseph F.", + "name": "Ammirati, Joseph F.", + "nameType": "Personal" }, { - "name": "Arnold, A. Elizabeth", - "nameType": "Personal", - "givenName": "A. Elizabeth", + "affiliation": [], "familyName": "Arnold", - "affiliation": [] + "givenName": "A. Elizabeth", + "name": "Arnold, A. Elizabeth", + "nameType": "Personal" }, { - "name": "Bahram, Mohammad", - "nameType": "Personal", - "givenName": "Mohammad", + "affiliation": [], "familyName": "Bahram", - "affiliation": [] + "givenName": "Mohammad", + "name": "Bahram, Mohammad", + "nameType": "Personal" }, { - "name": "Bengtsson-Palme, Johan", - "nameType": "Personal", - "givenName": "Johan", + "affiliation": [], "familyName": "Bengtsson-Palme", - "affiliation": [] + "givenName": "Johan", + "name": "Bengtsson-Palme, Johan", + "nameType": "Personal" }, { - "name": "Berlin, Anna", - "nameType": "Personal", - "givenName": "Anna", + "affiliation": [], "familyName": "Berlin", - "affiliation": [] + "givenName": "Anna", + "name": "Berlin, Anna", + "nameType": "Personal" }, { - "name": "Botnen, Synnøve", - "nameType": "Personal", - "givenName": "Synnøve", + "affiliation": [], "familyName": "Botnen", - "affiliation": [] + "givenName": "Synnøve", + "name": "Botnen, Synnøve", + "nameType": "Personal" }, { - "name": "Bourlat, Sarah", - "nameType": "Personal", - "givenName": "Sarah", + "affiliation": [], "familyName": "Bourlat", - "affiliation": [] + "givenName": "Sarah", + "name": "Bourlat, Sarah", + "nameType": "Personal" }, { - "name": "Cheeke, Tanya", - "nameType": "Personal", - "givenName": "Tanya", + "affiliation": [], "familyName": "Cheeke", - "affiliation": [] + "givenName": "Tanya", + "name": "Cheeke, Tanya", + "nameType": "Personal" }, { - "name": "Dima, Bálint", - "nameType": "Personal", - "givenName": "Bálint", + "affiliation": [], "familyName": "Dima", - "affiliation": [] + "givenName": "Bálint", + "name": "Dima, Bálint", + "nameType": "Personal" }, { - "name": "Drenkhan, Rein", - "nameType": "Personal", - "givenName": "Rein", + "affiliation": [], "familyName": "Drenkhan", - "affiliation": [] + "givenName": "Rein", + "name": "Drenkhan, Rein", + "nameType": "Personal" }, { - "name": "Duarte, Camila", - "nameType": "Personal", - "givenName": "Camila", + "affiliation": [], "familyName": "Duarte", - "affiliation": [] + "givenName": "Camila", + "name": "Duarte, Camila", + "nameType": "Personal" }, { - "name": "Dueñas, Margarita", - "nameType": "Personal", - "givenName": "Margarita", + "affiliation": [], "familyName": "Dueñas", - "affiliation": [] + "givenName": "Margarita", + "name": "Dueñas, Margarita", + "nameType": "Personal" }, { - "name": "Eberhardt, Ursula", - "nameType": "Personal", - "givenName": "Ursula", + "affiliation": [], "familyName": "Eberhardt", - "affiliation": [] + "givenName": "Ursula", + "name": "Eberhardt, Ursula", + "nameType": "Personal" }, { - "name": "Friberg, Hanna", - "nameType": "Personal", - "givenName": "Hanna", + "affiliation": [], "familyName": "Friberg", - "affiliation": [] + "givenName": "Hanna", + "name": "Friberg, Hanna", + "nameType": "Personal" }, { - "name": "Frøslev, Tobias G.", - "nameType": "Personal", - "givenName": "Tobias G.", + "affiliation": [], "familyName": "Frøslev", - "affiliation": [] + "givenName": "Tobias G.", + "name": "Frøslev, Tobias G.", + "nameType": "Personal" }, { - "name": "Garnica, Sigisfredo", - "nameType": "Personal", - "givenName": "Sigisfredo", + "affiliation": [], "familyName": "Garnica", - "affiliation": [] + "givenName": "Sigisfredo", + "name": "Garnica, Sigisfredo", + "nameType": "Personal" }, { - "name": "Geml, József", - "nameType": "Personal", - "givenName": "József", + "affiliation": [], "familyName": "Geml", - "affiliation": [] + "givenName": "József", + "name": "Geml, József", + "nameType": "Personal" }, { - "name": "Ghobad-Nejhad, Masoomeh", - "nameType": "Personal", - "givenName": "Masoomeh", + "affiliation": [], "familyName": "Ghobad-Nejhad", - "affiliation": [] + "givenName": "Masoomeh", + "name": "Ghobad-Nejhad, Masoomeh", + "nameType": "Personal" }, { - "name": "Grebenc, Tine", - "nameType": "Personal", - "givenName": "Tine", + "affiliation": [], "familyName": "Grebenc", - "affiliation": [] + "givenName": "Tine", + "name": "Grebenc, Tine", + "nameType": "Personal" }, { - "name": "Griffith, Gareth W.", - "nameType": "Personal", - "givenName": "Gareth W.", + "affiliation": [], "familyName": "Griffith", - "affiliation": [] + "givenName": "Gareth W.", + "name": "Griffith, Gareth W.", + "nameType": "Personal" }, { - "name": "Hampe, Felix", - "nameType": "Personal", - "givenName": "Felix", + "affiliation": [], "familyName": "Hampe", - "affiliation": [] + "givenName": "Felix", + "name": "Hampe, Felix", + "nameType": "Personal" }, { - "name": "Kennedy, Peter", - "nameType": "Personal", - "givenName": "Peter", + "affiliation": [], "familyName": "Kennedy", - "affiliation": [] + "givenName": "Peter", + "name": "Kennedy, Peter", + "nameType": "Personal" }, { - "name": "Khomich, Maryia", - "nameType": "Personal", - "givenName": "Maryia", + "affiliation": [], "familyName": "Khomich", - "affiliation": [] + "givenName": "Maryia", + "name": "Khomich, Maryia", + "nameType": "Personal" }, { - "name": "Kohout, Petr", - "nameType": "Personal", - "givenName": "Petr", + "affiliation": [], "familyName": "Kohout", - "affiliation": [] + "givenName": "Petr", + "name": "Kohout, Petr", + "nameType": "Personal" }, { - "name": "Kollom, Anu", - "nameType": "Personal", - "givenName": "Anu", + "affiliation": [], "familyName": "Kollom", - "affiliation": [] + "givenName": "Anu", + "name": "Kollom, Anu", + "nameType": "Personal" }, { - "name": "Larsson, Ellen", - "nameType": "Personal", - "givenName": "Ellen", + "affiliation": [], "familyName": "Larsson", - "affiliation": [] + "givenName": "Ellen", + "name": "Larsson, Ellen", + "nameType": "Personal" }, { - "name": "Laszlo, Irinyi", - "nameType": "Personal", - "givenName": "Irinyi", + "affiliation": [], "familyName": "Laszlo", - "affiliation": [] + "givenName": "Irinyi", + "name": "Laszlo, Irinyi", + "nameType": "Personal" }, { - "name": "Leavitt, Steven", - "nameType": "Personal", - "givenName": "Steven", + "affiliation": [], "familyName": "Leavitt", - "affiliation": [] + "givenName": "Steven", + "name": "Leavitt, Steven", + "nameType": "Personal" }, { - "name": "Liimatainen, Kare", - "nameType": "Personal", - "givenName": "Kare", + "affiliation": [], "familyName": "Liimatainen", - "affiliation": [] + "givenName": "Kare", + "name": "Liimatainen, Kare", + "nameType": "Personal" }, { - "name": "Lindahl, Björn", - "nameType": "Personal", - "givenName": "Björn", + "affiliation": [], "familyName": "Lindahl", - "affiliation": [] + "givenName": "Björn", + "name": "Lindahl, Björn", + "nameType": "Personal" }, { - "name": "Lodge, Deborah J.", - "nameType": "Personal", - "givenName": "Deborah J.", + "affiliation": [], "familyName": "Lodge", - "affiliation": [] + "givenName": "Deborah J.", + "name": "Lodge, Deborah J.", + "nameType": "Personal" }, { - "name": "Lumbsch, Helge Thorsten", - "nameType": "Personal", - "givenName": "Helge Thorsten", + "affiliation": [], "familyName": "Lumbsch", - "affiliation": [] + "givenName": "Helge Thorsten", + "name": "Lumbsch, Helge Thorsten", + "nameType": "Personal" }, { - "name": "Martín Esteban, María Paz", - "nameType": "Personal", - "givenName": "María Paz", + "affiliation": [], "familyName": "Martín Esteban", - "affiliation": [] + "givenName": "María Paz", + "name": "Martín Esteban, María Paz", + "nameType": "Personal" }, { - "name": "Meyer, Wieland", - "nameType": "Personal", - "givenName": "Wieland", + "affiliation": [], "familyName": "Meyer", - "affiliation": [] + "givenName": "Wieland", + "name": "Meyer, Wieland", + "nameType": "Personal" }, { - "name": "Miettinen, Otto", - "nameType": "Personal", - "givenName": "Otto", + "affiliation": [], "familyName": "Miettinen", - "affiliation": [] + "givenName": "Otto", + "name": "Miettinen, Otto", + "nameType": "Personal" }, { - "name": "Nguyen, Nhu", - "nameType": "Personal", - "givenName": "Nhu", + "affiliation": [], "familyName": "Nguyen", - "affiliation": [] + "givenName": "Nhu", + "name": "Nguyen, Nhu", + "nameType": "Personal" }, { - "name": "Niskanen, Tuula", - "nameType": "Personal", - "givenName": "Tuula", + "affiliation": [], "familyName": "Niskanen", - "affiliation": [] + "givenName": "Tuula", + "name": "Niskanen, Tuula", + "nameType": "Personal" }, { - "name": "Oono, Ryoko", - "nameType": "Personal", - "givenName": "Ryoko", + "affiliation": [], "familyName": "Oono", - "affiliation": [] + "givenName": "Ryoko", + "name": "Oono, Ryoko", + "nameType": "Personal" }, { - "name": "Öpik, Maarja", - "nameType": "Personal", - "givenName": "Maarja", + "affiliation": [], "familyName": "Öpik", - "affiliation": [] + "givenName": "Maarja", + "name": "Öpik, Maarja", + "nameType": "Personal" }, { - "name": "Ordynets, Alexander", - "nameType": "Personal", - "givenName": "Alexander", + "affiliation": [], "familyName": "Ordynets", - "affiliation": [] + "givenName": "Alexander", + "name": "Ordynets, Alexander", + "nameType": "Personal" }, { - "name": "Pawłowska, Julia", - "nameType": "Personal", - "givenName": "Julia", + "affiliation": [], "familyName": "Pawłowska", - "affiliation": [] + "givenName": "Julia", + "name": "Pawłowska, Julia", + "nameType": "Personal" }, { - "name": "Peintner, Ursula", - "nameType": "Personal", - "givenName": "Ursula", + "affiliation": [], "familyName": "Peintner", - "affiliation": [] + "givenName": "Ursula", + "name": "Peintner, Ursula", + "nameType": "Personal" }, { - "name": "Pereira, Olinto Liparini", - "nameType": "Personal", - "givenName": "Olinto Liparini", + "affiliation": [], "familyName": "Pereira", - "affiliation": [] + "givenName": "Olinto Liparini", + "name": "Pereira, Olinto Liparini", + "nameType": "Personal" }, { - "name": "Pinho, Danilo Batista", - "nameType": "Personal", - "givenName": "Danilo Batista", + "affiliation": [], "familyName": "Pinho", - "affiliation": [] + "givenName": "Danilo Batista", + "name": "Pinho, Danilo Batista", + "nameType": "Personal" }, { - "name": "Põldmaa, Kadri", - "nameType": "Personal", - "givenName": "Kadri", + "affiliation": [], "familyName": "Põldmaa", - "affiliation": [] + "givenName": "Kadri", + "name": "Põldmaa, Kadri", + "nameType": "Personal" }, { - "name": "Runnel, Kadri", - "nameType": "Personal", - "givenName": "Kadri", + "affiliation": [], "familyName": "Runnel", - "affiliation": [] + "givenName": "Kadri", + "name": "Runnel, Kadri", + "nameType": "Personal" }, { - "name": "Ryberg, Martin", - "nameType": "Personal", - "givenName": "Martin", + "affiliation": [], "familyName": "Ryberg", - "affiliation": [] + "givenName": "Martin", + "name": "Ryberg, Martin", + "nameType": "Personal" }, { - "name": "Saar, Irja", - "nameType": "Personal", - "givenName": "Irja", + "affiliation": [], "familyName": "Saar", - "affiliation": [] + "givenName": "Irja", + "name": "Saar, Irja", + "nameType": "Personal" }, { - "name": "Sanli, Kemal", - "nameType": "Personal", - "givenName": "Kemal", + "affiliation": [], "familyName": "Sanli", - "affiliation": [] + "givenName": "Kemal", + "name": "Sanli, Kemal", + "nameType": "Personal" }, { - "name": "Scott, James", - "nameType": "Personal", - "givenName": "James", + "affiliation": [], "familyName": "Scott", - "affiliation": [] + "givenName": "James", + "name": "Scott, James", + "nameType": "Personal" }, { - "name": "Spirin, Viacheslav", - "nameType": "Personal", - "givenName": "Viacheslav", + "affiliation": [], "familyName": "Spirin", - "affiliation": [] + "givenName": "Viacheslav", + "name": "Spirin, Viacheslav", + "nameType": "Personal" }, { - "name": "Suija, Ave", - "nameType": "Personal", - "givenName": "Ave", + "affiliation": [], "familyName": "Suija", - "affiliation": [] + "givenName": "Ave", + "name": "Suija, Ave", + "nameType": "Personal" }, { - "name": "Svantesson, Sten", - "nameType": "Personal", - "givenName": "Sten", + "affiliation": [], "familyName": "Svantesson", - "affiliation": [] + "givenName": "Sten", + "name": "Svantesson, Sten", + "nameType": "Personal" }, { - "name": "Tadych, Mariusz", - "nameType": "Personal", - "givenName": "Mariusz", + "affiliation": [], "familyName": "Tadych", - "affiliation": [] + "givenName": "Mariusz", + "name": "Tadych, Mariusz", + "nameType": "Personal" }, { - "name": "Takamatsu, Susumu", - "nameType": "Personal", - "givenName": "Susumu", + "affiliation": [], "familyName": "Takamatsu", - "affiliation": [] + "givenName": "Susumu", + "name": "Takamatsu, Susumu", + "nameType": "Personal" }, { - "name": "Tamm, Heidi", - "nameType": "Personal", - "givenName": "Heidi", + "affiliation": [], "familyName": "Tamm", - "affiliation": [] + "givenName": "Heidi", + "name": "Tamm, Heidi", + "nameType": "Personal" }, { - "name": "Taylor, AFS.", - "nameType": "Personal", - "givenName": "AFS.", + "affiliation": [], "familyName": "Taylor", - "affiliation": [] + "givenName": "AFS.", + "name": "Taylor, AFS.", + "nameType": "Personal" }, { - "name": "Tedersoo, Leho", - "nameType": "Personal", - "givenName": "Leho", + "affiliation": [], "familyName": "Tedersoo", - "affiliation": [] + "givenName": "Leho", + "name": "Tedersoo, Leho", + "nameType": "Personal" }, { - "name": "Telleria, M.T.", - "nameType": "Personal", - "givenName": "M.T.", + "affiliation": [], "familyName": "Telleria", - "affiliation": [] + "givenName": "M.T.", + "name": "Telleria, M.T.", + "nameType": "Personal" }, { - "name": "Udayanga, Dhanushka", - "nameType": "Personal", - "givenName": "Dhanushka", + "affiliation": [], "familyName": "Udayanga", - "affiliation": [] + "givenName": "Dhanushka", + "name": "Udayanga, Dhanushka", + "nameType": "Personal" }, { - "name": "Unterseher, Martin", - "nameType": "Personal", - "givenName": "Martin", + "affiliation": [], "familyName": "Unterseher", - "affiliation": [] + "givenName": "Martin", + "name": "Unterseher, Martin", + "nameType": "Personal" }, { - "name": "Volobuev, Sergey", - "nameType": "Personal", - "givenName": "Sergey", + "affiliation": [], "familyName": "Volobuev", - "affiliation": [] + "givenName": "Sergey", + "name": "Volobuev, Sergey", + "nameType": "Personal" }, { - "name": "Weiss, Michael", - "nameType": "Personal", - "givenName": "Michael", + "affiliation": [], "familyName": "Weiss", - "affiliation": [] + "givenName": "Michael", + "name": "Weiss, Michael", + "nameType": "Personal" }, { - "name": "Wurzbacher, Christian", - "nameType": "Personal", - "givenName": "Christian", + "affiliation": [], "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": [] + "givenName": "Christian", + "name": "Wurzbacher, Christian", + "nameType": "Personal" } ], "dates": [ @@ -545,48 +526,66 @@ "dateType": "Issued" } ], - "language": "eng", - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Dataset/UNITE Species Hypothesis", - "resourceTypeGeneral": "Dataset" - }, - "relatedIdentifiers": [], - "sizes": [], + "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 (<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" + } + ], + "doi": "10.15156/bio/sh409843.07fu", "formats": [ "application/json" ], - "version": null, + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.15156/bio/sh409843.07fu", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "eng", + "metadataVersion": 1, + "publicationYear": 2015, + "published": "2015", + "publisher": "UNITE Community", + "reason": null, + "registered": "2015-06-05T10:23:19.000Z", + "relatedIdentifiers": [], "rightsList": [ { "rights": "Attribution-NonCommercial (CC BY-NC)", "rightsUri": "http://creativecommons.org/licenses/by-nc/4.0" } ], - "descriptions": [ + "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], + "source": null, + "state": "findable", + "subjects": [], + "titles": [ { - "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 (<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" + "title": "SH409843.07FU" + }, + { + "title": "Gomphales", + "titleType": "Subtitle" } ], - "geoLocations": [], - "fundingReferences": [], + "types": { + "bibtex": "misc", + "citeproc": "dataset", + "resourceType": "Dataset/UNITE Species Hypothesis", + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "Dataset" + }, + "updated": "2019-08-02T07:45:28.000Z", "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" + "version": null }, + "id": "10.15156/bio/sh409843.07fu", "relationships": { "client": { "data": { @@ -594,5 +593,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_06.json b/python/tests/files/datacite/datacite_doc_06.json index a7f3ee70..01cb2cb3 100644 --- a/python/tests/files/datacite/datacite_doc_06.json +++ b/python/tests/files/datacite/datacite_doc_06.json @@ -1,31 +1,16 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2017-12-13T12:03:09.000Z", "creators": [ { + "affiliation": [], "name": "Crispijn De Passe (Der Ältere) (1564-1637)", - "nameType": "Personal", - "affiliation": [] + "nameType": "Personal" } ], - "titles": [ - { - "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\"" - } - ], - "publisher": "n.a.", - "container": {}, - "publicationYear": 1590, - "subjects": [], - "contributors": [], "dates": [ { "date": "1590", @@ -36,42 +21,56 @@ "dateType": "Issued" } ], - "language": null, - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork", - "resourceTypeGeneral": "InteractiveResource" - }, - "relatedIdentifiers": [], - "sizes": [], + "descriptions": [], + "doi": "10.16903/ethz-grs-d_006220", "formats": [ "Blattgrösse: 21.0 x 14.4 x 0.0 cm (beschnitten)", "Kupferstich" ], - "version": null, + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.16903/ethz-grs-d_006220", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": null, + "metadataVersion": 1, + "publicationYear": 1590, + "published": "1590", + "publisher": "n.a.", + "reason": null, + "registered": "2017-12-13T12:03:09.000Z", + "relatedIdentifiers": [], "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", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\"" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "resourceTypeGeneral": "InteractiveResource", + "ris": "GEN", + "schemaOrg": "CreativeWork" + }, + "updated": "2019-08-02T17:20:02.000Z", + "url": "http://www.e-gs.ethz.ch/eMP/eMuseumPlus?service=ExternalInterface&module=collection&objectId=29469&viewType=detailView", + "version": null }, + "id": "10.16903/ethz-grs-d_006220", "relationships": { "client": { "data": { @@ -79,5 +78,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_07.json b/python/tests/files/datacite/datacite_doc_07.json index c70695b6..8e292fea 100644 --- a/python/tests/files/datacite/datacite_doc_07.json +++ b/python/tests/files/datacite/datacite_doc_07.json @@ -1,49 +1,72 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2016-11-21T13:08:14.000Z", "creators": [ { - "name": "ROTHUIZEN, E.", - "nameType": "Personal", - "givenName": "E.", + "affiliation": [], "familyName": "ROTHUIZEN", - "affiliation": [] + "givenName": "E.", + "name": "ROTHUIZEN, E.", + "nameType": "Personal" }, { - "name": "ELMEGAARD, B.", - "nameType": "Personal", - "givenName": "B.", + "affiliation": [], "familyName": "ELMEGAARD", - "affiliation": [] + "givenName": "B.", + "name": "ELMEGAARD, B.", + "nameType": "Personal" }, { - "name": "MARKUSSEN W., B.", - "nameType": "Personal", - "givenName": "B.", + "affiliation": [], "familyName": "MARKUSSEN W.", - "affiliation": [] + "givenName": "B.", + "name": "MARKUSSEN W., B.", + "nameType": "Personal" }, { - "name": "Et Al.", - "affiliation": [] + "affiliation": [], + "name": "Et Al." } ], - "titles": [ + "dates": [ { - "title": "High efficient heat pump system using storage tanks to increase cop by means of the ISEC concept. 1: model validation." + "date": "2015", + "dateType": "Issued" } ], - "publisher": "International Institute of Refrigeration (IIR)", - "container": {}, + "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" + } + ], + "doi": "10.18462/iir.icr.2015.0926", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.18462/iir.icr.2015.0926", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "eng", + "metadataVersion": 0, "publicationYear": 2015, + "published": "2015", + "publisher": "International Institute of Refrigeration (IIR)", + "reason": null, + "registered": "2016-11-21T13:08:14.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": null, + "sizes": [], + "source": null, + "state": "findable", "subjects": [ { "subject": "HEAT PUMP" @@ -67,48 +90,24 @@ "subject": "MODEL" } ], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2015", - "dateType": "Issued" + "title": "High efficient heat pump system using storage tanks to increase cop by means of the ISEC concept. 1: model validation." } ], - "language": "eng", "types": { - "ris": "DATA", "bibtex": "misc", "citeproc": "dataset", - "schemaOrg": "Dataset", "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset" + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "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": [], + "updated": "2019-08-16T18:00:59.000Z", "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" + "version": null }, + "id": "10.18462/iir.icr.2015.0926", "relationships": { "client": { "data": { @@ -116,5 +115,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_08.json b/python/tests/files/datacite/datacite_doc_08.json index e9170788..84f756e8 100644 --- a/python/tests/files/datacite/datacite_doc_08.json +++ b/python/tests/files/datacite/datacite_doc_08.json @@ -1,40 +1,63 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2019-08-24T07:46:47.000Z", "creators": [ { - "name": "Kajisa, Kei", - "nameType": "Personal", - "givenName": "Kei", - "familyName": "Kajisa", "affiliation": [], - "nameIdentifiers": [] + "familyName": "Kajisa", + "givenName": "Kei", + "name": "Kajisa, Kei", + "nameIdentifiers": [], + "nameType": "Personal" }, { - "name": "Kajisa, Kei", - "nameType": "Personal", - "givenName": "Kei", - "familyName": "Kajisa", "affiliation": [], - "nameIdentifiers": [] + "familyName": "Kajisa", + "givenName": "Kei", + "name": "Kajisa, Kei", + "nameIdentifiers": [], + "nameType": "Personal" } ], - "titles": [ + "dates": [ { - "title": "Irrigation Policies under Rapid Industrialization and Labor Migration: Lessons from Japan, China and India" + "date": "2017", + "dateType": "Issued" } ], - "publisher": "Unknown", - "container": {}, + "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" + } + ], + "doi": "10.22004/ag.econ.284864", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.22004/ag.econ.284864", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "eng", + "metadataVersion": 1, "publicationYear": 2017, + "published": "2017", + "publisher": "Unknown", + "reason": null, + "registered": "2019-08-24T07:46:47.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": null, + "sizes": [], + "source": "mds", + "state": "findable", "subjects": [ { "subject": "Land Economics/Use" @@ -52,48 +75,24 @@ "subjectScheme": "keyword" } ], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2017", - "dateType": "Issued" + "title": "Irrigation Policies under Rapid Industrialization and Labor Migration: Lessons from Japan, China and India" } ], - "language": "eng", "types": { - "ris": "RPRT", "bibtex": "article", "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", "resourceType": "Text", - "resourceTypeGeneral": "Text" + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" }, - "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": [], + "updated": "2019-08-25T09:38:33.000Z", "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" + "version": null }, + "id": "10.22004/ag.econ.284864", "relationships": { "client": { "data": { @@ -101,5 +100,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_09.json b/python/tests/files/datacite/datacite_doc_09.json index d09af545..d6617d0d 100644 --- a/python/tests/files/datacite/datacite_doc_09.json +++ b/python/tests/files/datacite/datacite_doc_09.json @@ -1,8 +1,46 @@ { - "id": "10.2314/gbv:880813733", - "type": "dois", "attributes": { + "container": {}, + "contentUrl": null, + "contributors": [ + { + "affiliation": [], + "contributorType": "HostingInstitution", + "name": "TIB-Technische Informationsbibliothek Universitätsbibliothek Hannover", + "nameIdentifiers": [], + "nameType": "Organizational" + }, + { + "affiliation": [], + "contributorType": "DataManager", + "name": "Technische Informationsbibliothek (TIB)", + "nameIdentifiers": [] + } + ], + "created": "2017-02-25T00:00:18.000Z", + "creators": [ + { + "affiliation": [], + "familyName": "Kirstaedter", + "givenName": "Nils", + "name": "Kirstaedter, Nils", + "nameIdentifiers": [], + "nameType": "Personal" + } + ], + "dates": [ + { + "date": "2016", + "dateType": "Issued" + } + ], + "descriptions": [], "doi": "10.2314/gbv:880813733", + "formats": [ + "application/pdf" + ], + "fundingReferences": [], + "geoLocations": [], "identifiers": [ { "identifier": "https://doi.org/10.2314/gbv:880813733", @@ -29,32 +67,22 @@ "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": {}, + "isActive": true, + "language": "de", + "metadataVersion": 9, "publicationYear": 2016, + "published": "2016", + "publisher": "[Lumics GmbH]", + "reason": null, + "registered": "2017-02-25T00:00:19.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-4", + "sizes": [ + "1 Online-Ressource (10 Seiten, 1,40 MB)" + ], + "source": "mds", + "state": "findable", "subjects": [ { "subject": "Direktdiodenlasersysteme" @@ -64,61 +92,32 @@ "subjectScheme": "linsearch" } ], - "contributors": [ + "titles": [ { - "name": "TIB-Technische Informationsbibliothek Universitätsbibliothek Hannover", - "nameType": "Organizational", - "affiliation": [], - "contributorType": "HostingInstitution", - "nameIdentifiers": [] + "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" }, { - "name": "Technische Informationsbibliothek (TIB)", - "affiliation": [], - "contributorType": "DataManager", - "nameIdentifiers": [] - } - ], - "dates": [ + "title": "Module für Direktdiodenstrahlquellen bis 4kW und Untersuchungen zur Leistungsskalierung (Diodemodul)", + "titleType": "AlternativeTitle" + }, { - "date": "2016", - "dateType": "Issued" + "title": "Direktdiodenlaseranlagen und -systeme (VP3)", + "titleType": "AlternativeTitle" } ], - "language": "de", "types": { - "ris": "RPRT", "bibtex": "article", "citeproc": "report", - "schemaOrg": "ScholarlyArticle", "resourceType": "Report", - "resourceTypeGeneral": "Text" + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" }, - "relatedIdentifiers": [], - "sizes": [ - "1 Online-Ressource (10 Seiten, 1,40 MB)" - ], - "formats": [ - "application/pdf" - ], - "version": "1.0", - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-03T05:53:51.000Z", "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" + "version": "1.0" }, + "id": "10.2314/gbv:880813733", "relationships": { "client": { "data": { @@ -126,5 +125,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_10.json b/python/tests/files/datacite/datacite_doc_10.json index d40fc272..154242cb 100644 --- a/python/tests/files/datacite/datacite_doc_10.json +++ b/python/tests/files/datacite/datacite_doc_10.json @@ -1,28 +1,50 @@ { - "id": "10.25549/wpacards-m6171", - "type": "dois", "attributes": { - "doi": "10.25549/wpacards-m6171", - "identifiers": [ + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2018-09-09T08:32:09.000Z", + "creators": [ { - "identifier": "https://doi.org/10.25549/wpacards-m6171", - "identifierType": "DOI" + "affiliation": [], + "name": "Unknown" } ], - "creators": [ + "dates": [ { - "name": "Unknown", - "affiliation": [] + "date": "2012", + "dateType": "Issued" } ], - "titles": [ + "descriptions": [ { - "title": "WPA household census for 210 E VERNON, Los Angeles" + "descriptionType": "Abstract" } ], - "publisher": "University of Southern California Digital Library (USC.DL)", - "container": {}, + "doi": "10.25549/wpacards-m6171", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.25549/wpacards-m6171", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "eng", + "metadataVersion": 0, "publicationYear": 2012, + "published": "2012", + "publisher": "University of Southern California Digital Library (USC.DL)", + "reason": null, + "registered": "2018-09-09T08:33:10.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-4", + "sizes": [], + "source": "mds", + "state": "findable", "subjects": [ { "subject": "housing areas" @@ -31,47 +53,24 @@ "subject": "Dwellings" } ], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2012", - "dateType": "Issued" + "title": "WPA household census for 210 E VERNON, Los Angeles" } ], - "language": "eng", "types": { - "ris": "DATA", "bibtex": "misc", "citeproc": "dataset", - "schemaOrg": "Dataset", "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset" + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "Dataset" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [ - { - "descriptionType": "Abstract" - } - ], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-02T20:03:32.000Z", "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" + "version": null }, + "id": "10.25549/wpacards-m6171", "relationships": { "client": { "data": { @@ -79,5 +78,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_11.json b/python/tests/files/datacite/datacite_doc_11.json index 50fe8363..80194762 100644 --- a/python/tests/files/datacite/datacite_doc_11.json +++ b/python/tests/files/datacite/datacite_doc_11.json @@ -1,30 +1,15 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2019-03-04T23:56:42.000Z", "creators": [ { - "name": "Comet Photo AG (Zürich)", - "affiliation": [] - } - ], - "titles": [ - { - "title": "N1 bei Safenwil" + "affiliation": [], + "name": "Comet Photo AG (Zürich)" } ], - "publisher": "ETH-Bibliothek Zürich, Bildarchiv", - "container": {}, - "publicationYear": 1965, - "subjects": [], - "contributors": [], "dates": [ { "date": "1965", @@ -35,21 +20,6 @@ "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", @@ -60,21 +30,50 @@ "descriptionType": "Other" } ], - "geoLocations": [], + "doi": "10.3932/ethz-a-000055869", + "formats": [ + "TIFF-Bild" + ], "fundingReferences": [], - "url": "http://ba.e-pics.ethz.ch/link.jsp?id=44861", - "contentUrl": null, + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.3932/ethz-a-000055869", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": "de", "metadataVersion": 6, + "publicationYear": 1965, + "published": "1965", + "publisher": "ETH-Bibliothek Zürich, Bildarchiv", + "reason": null, + "registered": "2019-07-30T13:17:45.000Z", + "relatedIdentifiers": [], + "rightsList": [], "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "N1 bei Safenwil" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "graphic", + "resourceTypeGeneral": "Image", + "ris": "FIGURE", + "schemaOrg": "ImageObject" + }, + "updated": "2019-08-02T22:08:26.000Z", + "url": "http://ba.e-pics.ethz.ch/link.jsp?id=44861", + "version": null }, + "id": "10.3932/ethz-a-000055869", "relationships": { "client": { "data": { @@ -82,5 +81,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_12.json b/python/tests/files/datacite/datacite_doc_12.json index 31c0f0ca..642011d5 100644 --- a/python/tests/files/datacite/datacite_doc_12.json +++ b/python/tests/files/datacite/datacite_doc_12.json @@ -1,58 +1,43 @@ { - "id": "10.5167/uzh-171449", - "type": "dois", "attributes": { - "doi": "10.5167/uzh-171449", - "identifiers": [ - { - "identifier": "https://doi.org/10.5167/uzh-171449", - "identifierType": "DOI" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2019-06-27T01:01:35.000Z", "creators": [ { - "name": "Spanias, Charalampos", - "nameType": "Personal", - "givenName": "Charalampos", - "familyName": "Spanias", "affiliation": [], - "nameIdentifiers": [] + "familyName": "Spanias", + "givenName": "Charalampos", + "name": "Spanias, Charalampos", + "nameIdentifiers": [], + "nameType": "Personal" }, { - "name": "Nikolaidis, Pantelis T", - "nameType": "Personal", - "givenName": "Pantelis T", - "familyName": "Nikolaidis", "affiliation": [], - "nameIdentifiers": [] + "familyName": "Nikolaidis", + "givenName": "Pantelis T", + "name": "Nikolaidis, Pantelis T", + "nameIdentifiers": [], + "nameType": "Personal" }, { - "name": "Rosemann, Thomas", - "nameType": "Personal", - "givenName": "Thomas", - "familyName": "Rosemann", "affiliation": [], - "nameIdentifiers": [] + "familyName": "Rosemann", + "givenName": "Thomas", + "name": "Rosemann, Thomas", + "nameIdentifiers": [], + "nameType": "Personal" }, { - "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" + "familyName": "Knechtle", + "givenName": "Beat", + "name": "Knechtle, Beat", + "nameIdentifiers": [], + "nameType": "Personal" } ], - "publisher": "MDPI Publishing", - "container": {}, - "publicationYear": 2019, - "subjects": [], - "contributors": [], "dates": [ { "date": "2019-06-14", @@ -63,35 +48,49 @@ "dateType": "Issued" } ], - "language": null, - "types": { - "ris": "RPRT", - "bibtex": "article", - "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", - "resourceTypeGeneral": "Text" - }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], "descriptions": [], - "geoLocations": [], + "doi": "10.5167/uzh-171449", + "formats": [], "fundingReferences": [], - "url": "https://www.zora.uzh.ch/id/eprint/171449", - "contentUrl": null, + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.5167/uzh-171449", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": null, "metadataVersion": 0, + "publicationYear": 2019, + "published": "2019", + "publisher": "MDPI Publishing", + "reason": null, + "registered": "2019-06-27T01:01:36.000Z", + "relatedIdentifiers": [], + "rightsList": [], "schemaVersion": null, + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "Anthropometric and Physiological Profile of Mixed Martial Art Athletes: A Brief Review" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceTypeGeneral": "Text", + "ris": "RPRT", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-09-26T16:44:24.000Z", + "url": "https://www.zora.uzh.ch/id/eprint/171449", + "version": null }, + "id": "10.5167/uzh-171449", "relationships": { "client": { "data": { @@ -99,5 +98,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_13.json b/python/tests/files/datacite/datacite_doc_13.json index ff6eb229..0cada273 100644 --- a/python/tests/files/datacite/datacite_doc_13.json +++ b/python/tests/files/datacite/datacite_doc_13.json @@ -1,37 +1,22 @@ { - "id": "10.5169/seals-314104", - "type": "dois", "attributes": { - "doi": "10.5169/seals-314104", - "identifiers": [ - { - "identifier": "https://doi.org/10.5169/seals-314104", - "identifierType": "DOI" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2013-03-22T14:02:08.000Z", "creators": [ { - "name": "O.M.", - "affiliation": [] + "affiliation": [], + "name": "O.M." }, { - "name": "Hiltbrunner, Hermann", - "nameType": "Personal", - "givenName": "Hermann", + "affiliation": [], "familyName": "Hiltbrunner", - "affiliation": [] - } - ], - "titles": [ - { - "title": "[Müssen wir des Glücks uns schämen?]" + "givenName": "Hermann", + "name": "Hiltbrunner, Hermann", + "nameType": "Personal" } ], - "publisher": "Buchdruckerei Büchler & Co.", - "container": {}, - "publicationYear": 1940, - "subjects": [], - "contributors": [], "dates": [ { "date": "1940-10-05", @@ -42,39 +27,53 @@ "dateType": "Issued" } ], - "language": null, - "types": { - "ris": "JOUR", - "bibtex": "article", - "citeproc": "article-journal", - "schemaOrg": "ScholarlyArticle", - "resourceType": "Journal Article", - "resourceTypeGeneral": "Text" - }, - "relatedIdentifiers": [], - "sizes": [], + "descriptions": [], + "doi": "10.5169/seals-314104", "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, + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.5169/seals-314104", + "identifierType": "DOI" + } + ], + "isActive": true, + "language": null, "metadataVersion": 17, + "publicationYear": 1940, + "published": "1940", + "publisher": "Buchdruckerei Büchler & Co.", + "reason": null, + "registered": "2013-03-22T13:58:11.000Z", + "relatedIdentifiers": [], + "rightsList": [], "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "[Müssen wir des Glücks uns schämen?]" + } + ], + "types": { + "bibtex": "article", + "citeproc": "article-journal", + "resourceType": "Journal Article", + "resourceTypeGeneral": "Text", + "ris": "JOUR", + "schemaOrg": "ScholarlyArticle" + }, + "updated": "2019-08-02T02:22:55.000Z", + "url": "https://www.e-periodica.ch/digbib/view?pid=sle-001:1940-1941:45::13", + "version": null }, + "id": "10.5169/seals-314104", "relationships": { "client": { "data": { @@ -82,5 +81,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_14.json b/python/tests/files/datacite/datacite_doc_14.json index b1e1ebf2..c0911819 100644 --- a/python/tests/files/datacite/datacite_doc_14.json +++ b/python/tests/files/datacite/datacite_doc_14.json @@ -1,84 +1,119 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2014-03-18T07:28:28.000Z", "creators": [ { - "name": "Stulz, E.", - "nameType": "Personal", - "givenName": "E.", + "affiliation": [], "familyName": "Stulz", - "affiliation": [] + "givenName": "E.", + "name": "Stulz, E.", + "nameType": "Personal" }, { - "name": "Scott, S.M.", - "nameType": "Personal", - "givenName": "S.M.", + "affiliation": [], "familyName": "Scott", - "affiliation": [] + "givenName": "S.M.", + "name": "Scott, S.M.", + "nameType": "Personal" }, { - "name": "Ng, Yiu-Fai", - "nameType": "Personal", - "givenName": "Yiu-Fai", + "affiliation": [], "familyName": "Ng", - "affiliation": [] + "givenName": "Yiu-Fai", + "name": "Ng, Yiu-Fai", + "nameType": "Personal" }, { - "name": "Bond, A.D.", - "nameType": "Personal", - "givenName": "A.D.", + "affiliation": [], "familyName": "Bond", - "affiliation": [] + "givenName": "A.D.", + "name": "Bond, A.D.", + "nameType": "Personal" }, { - "name": "Teat, S.J.", - "nameType": "Personal", - "givenName": "S.J.", + "affiliation": [], "familyName": "Teat", - "affiliation": [] + "givenName": "S.J.", + "name": "Teat, S.J.", + "nameType": "Personal" }, { - "name": "Darling, S.L.", - "nameType": "Personal", - "givenName": "S.L.", + "affiliation": [], "familyName": "Darling", - "affiliation": [] + "givenName": "S.L.", + "name": "Darling, S.L.", + "nameType": "Personal" }, { - "name": "Feeder, N.", - "nameType": "Personal", - "givenName": "N.", + "affiliation": [], "familyName": "Feeder", - "affiliation": [] + "givenName": "N.", + "name": "Feeder, N.", + "nameType": "Personal" }, { - "name": "Sanders, J.K.M.", - "nameType": "Personal", - "givenName": "J.K.M.", + "affiliation": [], "familyName": "Sanders", - "affiliation": [] + "givenName": "J.K.M.", + "name": "Sanders, J.K.M.", + "nameType": "Personal" } ], - "titles": [ + "dates": [ { - "title": "CCDC 222635: Experimental Crystal Structure Determination" + "date": "2004", + "dateType": "Issued" } ], - "publisher": "Cambridge Crystallographic Data Centre", - "container": {}, + "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" + } + ], + "doi": "10.5517/cc7gns3", + "formats": [ + "CIF" + ], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.5517/cc7gns3", + "identifierType": "DOI" + }, + { + "identifier": "222635", + "identifierType": "CCDC" + } + ], + "isActive": true, + "language": "eng", + "metadataVersion": 2, "publicationYear": 2004, + "published": "2004", + "publisher": "Cambridge Crystallographic Data Centre", + "reason": null, + "registered": "2014-03-18T07:28:29.000Z", + "relatedIdentifiers": [ + { + "relatedIdentifier": "10.1021/ic034699w", + "relatedIdentifierType": "DOI", + "relationType": "IsSupplementTo" + } + ], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], + "source": null, + "state": "findable", "subjects": [ { "subject": "Crystal Structure" @@ -102,59 +137,23 @@ "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": [ + "titles": [ { - "date": "2004", - "dateType": "Issued" + "title": "CCDC 222635: Experimental Crystal Structure Determination" } ], - "language": "eng", "types": { - "ris": "DATA", "bibtex": "misc", "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceTypeGeneral": "Dataset" + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "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": [], + "updated": "2019-08-02T03:38:32.000Z", "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" + "version": null }, + "id": "10.5517/cc7gns3", "relationships": { "client": { "data": { @@ -162,5 +161,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_15.json b/python/tests/files/datacite/datacite_doc_15.json index 5b4ee8ec..8dc67267 100644 --- a/python/tests/files/datacite/datacite_doc_15.json +++ b/python/tests/files/datacite/datacite_doc_15.json @@ -1,8 +1,29 @@ { - "id": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28", - "type": "dois", "attributes": { + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2017-02-01T18:20:04.000Z", + "creators": [ + { + "affiliation": [], + "familyName": "Richardson", + "givenName": "David", + "name": "Richardson, David", + "nameType": "Personal" + } + ], + "dates": [ + { + "date": "2017", + "dateType": "Issued" + } + ], + "descriptions": [], "doi": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28", + "formats": [], + "fundingReferences": [], + "geoLocations": [], "identifiers": [ { "identifier": "https://doi.org/10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28", @@ -13,61 +34,39 @@ "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": {}, + "isActive": true, + "language": null, + "metadataVersion": 1, "publicationYear": 2017, + "published": "2017", + "publisher": "Environmental Data Initiative", + "reason": null, + "registered": "2017-02-01T18:20:05.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-2.2", + "sizes": [], + "source": null, + "state": "findable", "subjects": [], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2017", - "dateType": "Issued" + "title": "Parramore Island of the Virginia Coast Reserve Permanent Plot Resurvey: Tree data 1997" } ], - "language": null, "types": { - "ris": "DATA", "bibtex": "misc", "citeproc": "dataset", - "schemaOrg": "Dataset", "resourceType": "dataPackage", - "resourceTypeGeneral": "Dataset" + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "Dataset" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-02T14:16:49.000Z", "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" + "version": null }, + "id": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28", "relationships": { "client": { "data": { @@ -75,5 +74,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_16.json b/python/tests/files/datacite/datacite_doc_16.json index 5af7fbe1..72ad59ac 100644 --- a/python/tests/files/datacite/datacite_doc_16.json +++ b/python/tests/files/datacite/datacite_doc_16.json @@ -1,74 +1,73 @@ { - "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" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2014-12-31T15:38:16.000Z", "creators": [ { - "name": "Sochi, Taha", - "nameType": "Personal", - "givenName": "Taha", + "affiliation": [], "familyName": "Sochi", - "affiliation": [] - } - ], - "titles": [ - { - "title": "Testing the Connectivity of Networks" + "givenName": "Taha", + "name": "Sochi, Taha", + "nameType": "Personal" } ], - "publisher": "Figshare", - "container": {}, - "publicationYear": 2014, - "subjects": [], - "contributors": [], "dates": [ { "date": "2014", "dateType": "Issued" } ], + "descriptions": [], + "doi": "10.6084/m9.figshare.1282478", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.6084/m9.figshare.1282478", + "identifierType": "DOI" + } + ], + "isActive": true, "language": null, - "types": { - "ris": "DATA", - "bibtex": "misc", - "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceType": "Paper", - "resourceTypeGeneral": "Dataset" - }, + "metadataVersion": 0, + "publicationYear": 2014, + "published": "2014", + "publisher": "Figshare", + "reason": null, + "registered": "2014-12-31T15:38:18.000Z", "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", + "sizes": [], "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" + "subjects": [], + "titles": [ + { + "title": "Testing the Connectivity of Networks" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "dataset", + "resourceType": "Paper", + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "Dataset" + }, + "updated": "2019-08-02T04:52:11.000Z", + "url": "http://figshare.com/articles/Testing_the_Connectivity_of_Networks/1282478", + "version": null }, + "id": "10.6084/m9.figshare.1282478", "relationships": { "client": { "data": { @@ -76,5 +75,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_17.json b/python/tests/files/datacite/datacite_doc_17.json index f1363a61..93ec715e 100644 --- a/python/tests/files/datacite/datacite_doc_17.json +++ b/python/tests/files/datacite/datacite_doc_17.json @@ -1,66 +1,65 @@ { - "id": "10.7910/dvn/tsqfwc/yytj22", - "type": "dois", "attributes": { - "doi": "10.7910/dvn/tsqfwc/yytj22", - "identifiers": [ + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2018-08-22T17:36:10.000Z", + "creators": [ { - "identifier": "https://doi.org/10.7910/dvn/tsqfwc/yytj22", - "identifierType": "DOI" + "affiliation": [], + "name": "Di Giovanna, Antonino Paolo (University Of Florence)", + "nameType": "Personal" } ], - "creators": [ + "dates": [ { - "name": "Di Giovanna, Antonino Paolo (University Of Florence)", - "nameType": "Personal", - "affiliation": [] + "date": "2018", + "dateType": "Issued" } ], - "titles": [ + "descriptions": [], + "doi": "10.7910/dvn/tsqfwc/yytj22", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ { - "title": "gel_BSA-FITC_Markov_segmntation0343.tif" + "identifier": "https://doi.org/10.7910/dvn/tsqfwc/yytj22", + "identifierType": "DOI" } ], - "publisher": "Harvard Dataverse", - "container": {}, + "isActive": true, + "language": null, + "metadataVersion": 0, "publicationYear": 2018, + "published": "2018", + "publisher": "Harvard Dataverse", + "reason": null, + "registered": "2018-08-22T17:37:30.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-4", + "sizes": [], + "source": "mds", + "state": "findable", "subjects": [], - "contributors": [], - "dates": [ + "titles": [ { - "date": "2018", - "dateType": "Issued" + "title": "gel_BSA-FITC_Markov_segmntation0343.tif" } ], - "language": null, "types": { - "ris": "DATA", "bibtex": "misc", "citeproc": "dataset", - "schemaOrg": "Dataset", - "resourceTypeGeneral": "Dataset" + "resourceTypeGeneral": "Dataset", + "ris": "DATA", + "schemaOrg": "Dataset" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-02T19:43:20.000Z", "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" + "version": null }, + "id": "10.7910/dvn/tsqfwc/yytj22", "relationships": { "client": { "data": { @@ -68,5 +67,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_18.json b/python/tests/files/datacite/datacite_doc_18.json index f6bc81a6..b5c41b68 100644 --- a/python/tests/files/datacite/datacite_doc_18.json +++ b/python/tests/files/datacite/datacite_doc_18.json @@ -1,31 +1,16 @@ { - "id": "10.7916/d81z522m", - "type": "dois", "attributes": { - "doi": "10.7916/d81z522m", - "identifiers": [ - { - "identifier": "https://doi.org/10.7916/d81z522m", - "identifierType": "DOI" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2017-11-29T02:15:31.000Z", "creators": [ { - "name": "(:Unav)", "affiliation": [], + "name": "(:Unav)", "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", @@ -40,34 +25,48 @@ "dateType": "Issued" } ], + "descriptions": [], + "doi": "10.7916/d81z522m", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.7916/d81z522m", + "identifierType": "DOI" + } + ], + "isActive": true, "language": null, + "metadataVersion": 2, + "publicationYear": 2017, + "published": "2017", + "publisher": "Columbia University", + "reason": null, + "registered": "2017-11-29T02:15:32.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], + "source": "ez", + "state": "findable", + "subjects": [], + "titles": [ + { + "title": "Eastern questionnaire, answer sheet for Interviewee 53215, page 064" + } + ], "types": { - "ris": "GEN", "bibtex": "misc", "citeproc": "article", + "ris": "GEN", "schemaOrg": "CreativeWork" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-04T13:17:58.000Z", "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" + "version": null }, + "id": "10.7916/d81z522m", "relationships": { "client": { "data": { @@ -75,5 +74,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_19.json b/python/tests/files/datacite/datacite_doc_19.json index c0bc25ba..9fbe7372 100644 --- a/python/tests/files/datacite/datacite_doc_19.json +++ b/python/tests/files/datacite/datacite_doc_19.json @@ -1,31 +1,16 @@ { - "id": "10.7916/d86x0cg1", - "type": "dois", "attributes": { - "doi": "10.7916/d86x0cg1", - "identifiers": [ - { - "identifier": "https://doi.org/10.7916/d86x0cg1", - "identifierType": "DOI" - } - ], + "container": {}, + "contentUrl": null, + "contributors": [], + "created": "2017-11-29T09:29:33.000Z", "creators": [ { - "name": "(:Unav)", "affiliation": [], + "name": "(:Unav)", "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", @@ -40,34 +25,48 @@ "dateType": "Issued" } ], + "descriptions": [], + "doi": "10.7916/d86x0cg1", + "formats": [], + "fundingReferences": [], + "geoLocations": [], + "identifiers": [ + { + "identifier": "https://doi.org/10.7916/d86x0cg1", + "identifierType": "DOI" + } + ], + "isActive": true, "language": null, + "metadataVersion": 3, + "publicationYear": 2017, + "published": "2017", + "publisher": "Columbia University", + "reason": null, + "registered": "2017-11-29T09:29:34.000Z", + "relatedIdentifiers": [], + "rightsList": [], + "schemaVersion": "http://datacite.org/schema/kernel-3", + "sizes": [], + "source": "ez", + "state": "findable", + "subjects": [], + "titles": [ + { + "title": "Eastern questionnaire, answer sheet for Interviewee 55236, page 092" + } + ], "types": { - "ris": "GEN", "bibtex": "misc", "citeproc": "article", + "ris": "GEN", "schemaOrg": "CreativeWork" }, - "relatedIdentifiers": [], - "sizes": [], - "formats": [], - "version": null, - "rightsList": [], - "descriptions": [], - "geoLocations": [], - "fundingReferences": [], + "updated": "2019-08-04T23:43:40.000Z", "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" + "version": null }, + "id": "10.7916/d86x0cg1", "relationships": { "client": { "data": { @@ -75,5 +74,6 @@ "type": "clients" } } - } + }, + "type": "dois" } diff --git a/python/tests/files/datacite/datacite_doc_20.json b/python/tests/files/datacite/datacite_doc_20.json index cc6cc1fb..7126ee37 100644 --- a/python/tests/files/datacite/datacite_doc_20.json +++ b/python/tests/files/datacite/datacite_doc_20.json @@ -1,19 +1,12 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", "creators": [ { - "name": "(:Unav)", "affiliation": [], + "name": "(:Unav)", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "

Eastern questionnaire

" - } - ], - "publicationYear": 2017, "dates": [ { "date": "2017-08-24", @@ -28,14 +21,21 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", + "isActive": true, "language": null, + "publicationYear": 2017, + "state": "findable", + "titles": [ + { + "title": "

Eastern questionnaire

" + } + ], "types": { - "ris": "GEN", "bibtex": "misc", "citeproc": "article", + "ris": "GEN", "schemaOrg": "CreativeWork" - }, - "isActive": true, - "state": "findable" + } } } diff --git a/python/tests/files/datacite/datacite_doc_21.json b/python/tests/files/datacite/datacite_doc_21.json index 04b196a6..248879c2 100644 --- a/python/tests/files/datacite/datacite_doc_21.json +++ b/python/tests/files/datacite/datacite_doc_21.json @@ -1,26 +1,12 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", "creators": [ { - "name": "(:Unav)", "affiliation": [], + "name": "(:Unav)", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "ABC" - } - ], - "publicationYear": 2017, - "language": "GERMAN", - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork" - }, "dates": [ { "date": "2017-08-24", @@ -35,7 +21,21 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", "isActive": true, - "state": "findable" + "language": "GERMAN", + "publicationYear": 2017, + "state": "findable", + "titles": [ + { + "title": "ABC" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "ris": "GEN", + "schemaOrg": "CreativeWork" + } } } diff --git a/python/tests/files/datacite/datacite_doc_22.json b/python/tests/files/datacite/datacite_doc_22.json index 365b1361..0f7c5e57 100644 --- a/python/tests/files/datacite/datacite_doc_22.json +++ b/python/tests/files/datacite/datacite_doc_22.json @@ -1,28 +1,14 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", "creators": [ { - "name": "Anton Welch", "affiliation": [ "Department of pataphysics" ], + "name": "Anton Welch", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "ABC" - } - ], - "publicationYear": 2017, - "language": "GERMAN", - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork" - }, "dates": [ { "date": "2017-08-24", @@ -37,7 +23,21 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", "isActive": true, - "state": "findable" + "language": "GERMAN", + "publicationYear": 2017, + "state": "findable", + "titles": [ + { + "title": "ABC" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "ris": "GEN", + "schemaOrg": "CreativeWork" + } } } diff --git a/python/tests/files/datacite/datacite_doc_23.json b/python/tests/files/datacite/datacite_doc_23.json index 1dcdfc27..b755f1a5 100644 --- a/python/tests/files/datacite/datacite_doc_23.json +++ b/python/tests/files/datacite/datacite_doc_23.json @@ -1,28 +1,14 @@ { "attributes": { - "doi": "10.7916/d86x0cg1–xxx", "creators": [ { - "name": "Anton Welch", "affiliation": [ "Department of pataphysics" ], + "name": "Anton Welch", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "ABC" - } - ], - "publicationYear": 2017, - "language": "GERMAN", - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork" - }, "dates": [ { "date": "2017-08-24", @@ -37,7 +23,21 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1–xxx", "isActive": true, - "state": "findable" + "language": "GERMAN", + "publicationYear": 2017, + "state": "findable", + "titles": [ + { + "title": "ABC" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "ris": "GEN", + "schemaOrg": "CreativeWork" + } } } diff --git a/python/tests/files/datacite/datacite_doc_24.json b/python/tests/files/datacite/datacite_doc_24.json index 4ea6945f..4023055b 100644 --- a/python/tests/files/datacite/datacite_doc_24.json +++ b/python/tests/files/datacite/datacite_doc_24.json @@ -1,32 +1,14 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", "creators": [ { - "name": "Anton Welch", "affiliation": [ "Department of pataphysics" ], + "name": "Anton Welch", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "ABC" - }, - { - "title": "DEF", - "titleType": "Subtitle" - } - ], - "publicationYear": 2016, - "language": "DE-CH", - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork" - }, "dates": [ { "date": "2017-08-24", @@ -41,7 +23,25 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", "isActive": true, - "state": "findable" + "language": "DE-CH", + "publicationYear": 2016, + "state": "findable", + "titles": [ + { + "title": "ABC" + }, + { + "title": "DEF", + "titleType": "Subtitle" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "ris": "GEN", + "schemaOrg": "CreativeWork" + } } } diff --git a/python/tests/files/datacite/datacite_doc_25.json b/python/tests/files/datacite/datacite_doc_25.json index 60cd0ab7..2b219728 100644 --- a/python/tests/files/datacite/datacite_doc_25.json +++ b/python/tests/files/datacite/datacite_doc_25.json @@ -1,32 +1,14 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", "creators": [ { - "name": "Anton Welch", "affiliation": [ "Department of pataphysics" ], + "name": "Anton Welch", "nameIdentifiers": [] } ], - "titles": [ - { - "title": "Additional file 123: ABC" - }, - { - "title": "DEF", - "titleType": "Subtitle" - } - ], - "publicationYear": 2016, - "language": "DE-CH", - "types": { - "ris": "GEN", - "bibtex": "misc", - "citeproc": "article", - "schemaOrg": "CreativeWork" - }, "dates": [ { "date": "2017-08-24", @@ -41,7 +23,25 @@ "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", "isActive": true, - "state": "findable" + "language": "DE-CH", + "publicationYear": 2016, + "state": "findable", + "titles": [ + { + "title": "Additional file 123: ABC" + }, + { + "title": "DEF", + "titleType": "Subtitle" + } + ], + "types": { + "bibtex": "misc", + "citeproc": "article", + "ris": "GEN", + "schemaOrg": "CreativeWork" + } } } diff --git a/python/tests/files/datacite/datacite_doc_26.json b/python/tests/files/datacite/datacite_doc_26.json index c2abb1b2..36fa565d 100644 --- a/python/tests/files/datacite/datacite_doc_26.json +++ b/python/tests/files/datacite/datacite_doc_26.json @@ -1,25 +1,43 @@ { "attributes": { - "doi": "10.7916/d86x0cg1", + "contributors": [ + { + "affiliation": [], + "contributorType": "Editor", + "familyName": "Wemmer", + "givenName": "David", + "name": "Wemmer, David", + "nameType": "Personal" + } + ], "creators": [ { - "name": "Anton Welch", "affiliation": [ "Department of pataphysics" ], + "name": "Anton Welch", "nameIdentifiers": [] } ], - "contributors": [ + "dates": [ { - "name": "Wemmer, David", - "nameType": "Personal", - "givenName": "David", - "familyName": "Wemmer", - "affiliation": [], - "contributorType": "Editor" + "date": "2017-08-24", + "dateType": "Created" + }, + { + "date": "2019-08-04", + "dateType": "Updated" + }, + { + "date": "2017", + "dateType": "Issued" } ], + "doi": "10.7916/d86x0cg1", + "isActive": true, + "language": "DE-CH", + "publicationYear": 2016, + "state": "findable", "titles": [ { "title": "Additional file 123: ABC" @@ -29,29 +47,11 @@ "titleType": "Subtitle" } ], - "publicationYear": 2016, - "language": "DE-CH", "types": { - "ris": "GEN", "bibtex": "misc", "citeproc": "article", + "ris": "GEN", "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 index 0a84e7bd..89450f9d 100644 --- a/python/tests/files/datacite/datacite_result_00.json +++ b/python/tests/files/datacite/datacite_result_00.json @@ -1,4 +1,24 @@ { + "abstracts": [], + "contribs": [ + { + "given_name": "Qian-Jin", + "index": 0, + "raw_name": "Qian-Jin Li", + "role": "author", + "surname": "Li" + }, + { + "given_name": "Chun-Long", + "index": 1, + "raw_name": "Chun-Long Yang", + "role": "author", + "surname": "Yang" + } + ], + "ext_ids": { + "doi": "10.1007/s10870-008-9413-z" + }, "extra": { "container_name": "Journal of Chemical Crystallography", "datacite": { @@ -7,86 +27,66 @@ "rightsUri": "http://www.springer.com/tdm" } ], + "metadataVersion": 1, "relations": [ { - "relationType": "IsPartOf", "relatedIdentifier": "1074-1542", - "resourceTypeGeneral": "Collection", - "relatedIdentifierType": "ISSN" + "relatedIdentifierType": "ISSN", + "relationType": "IsPartOf", + "resourceTypeGeneral": "Collection" } ], "resourceType": "JournalArticle", "resourceTypeGeneral": "Text", - "schemaVersion": "http://datacite.org/schema/kernel-4", - "metadataVersion": 1 + "schemaVersion": "http://datacite.org/schema/kernel-4" }, "release_month": 5 }, - "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(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": "Qian-Jin Li", - "given_name": "Qian-Jin", - "surname": "Li", - "role": "author" - }, - { - "index": 1, - "raw_name": "Chun-Long Yang", - "given_name": "Chun-Long", - "surname": "Yang", - "role": "author" - } - ], "refs": [ { - "index": 0, "extra": { "doi": "10.1016/j.bmcl.2005.09.033" - } + }, + "index": 0 }, { - "index": 1, "extra": { "doi": "10.1016/s0022-1139(02)00330-5" - } + }, + "index": 1 }, { - "index": 2, "extra": { "doi": "10.1016/s0010-8545(01)00337-x" - } + }, + "index": 2 }, { - "index": 3, "extra": { "doi": "10.1016/j.tetlet.2005.06.135" - } + }, + "index": 3 }, { - "index": 4, "extra": { "doi": "10.1039/p298700000s1" - } + }, + "index": 4 }, { - "index": 5, "extra": { "doi": "10.1002/anie.199515551" - } + }, + "index": 5 } ], - "abstracts": [] + "release_date": "2019-05-31", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2019, + "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(4-nitrophenyl)thiourea", + "volume": "38" } diff --git a/python/tests/files/datacite/datacite_result_01.json b/python/tests/files/datacite/datacite_result_01.json index 956357b8..9fc62db4 100644 --- a/python/tests/files/datacite/datacite_result_01.json +++ b/python/tests/files/datacite/datacite_result_01.json @@ -1,4 +1,17 @@ { + "abstracts": [], + "contribs": [ + { + "given_name": "G.", + "index": 0, + "raw_name": "G. Dargenty", + "role": "author", + "surname": "Dargenty" + } + ], + "ext_ids": { + "doi": "10.11588/diglit.25558.39" + }, "extra": { "datacite": { "license": [ @@ -13,24 +26,11 @@ "schemaVersion": "http://datacite.org/schema/kernel-4" } }, - "title": "Ferdinand Gaillard, [1]: né à Paris le 16 janvier 1834, mort à 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": "G. Dargenty", - "given_name": "G.", - "surname": "Dargenty", - "role": "author" - } - ], + "publisher": "University Library Heidelberg", "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "article-journal", + "release_year": 1887, + "title": "Ferdinand Gaillard, [1]: né à Paris le 16 janvier 1834, mort à Paris le 19 janvier 1887" } diff --git a/python/tests/files/datacite/datacite_result_02.json b/python/tests/files/datacite/datacite_result_02.json index 322baf59..d6b9556f 100644 --- a/python/tests/files/datacite/datacite_result_02.json +++ b/python/tests/files/datacite/datacite_result_02.json @@ -1,4 +1,17 @@ { + "abstracts": [], + "contribs": [ + { + "given_name": "Albert", + "index": 0, + "raw_name": "Albert Weyersberg", + "role": "author", + "surname": "Weyersberg" + } + ], + "ext_ids": { + "doi": "10.11588/diglit.37715.57" + }, "extra": { "datacite": { "license": [ @@ -17,24 +30,11 @@ "schemaVersion": "http://datacite.org/schema/kernel-4" } }, - "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": "Albert Weyersberg", - "given_name": "Albert", - "surname": "Weyersberg", - "role": "author" - } - ], + "publisher": "University Library Heidelberg", "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "article-journal", + "release_year": 1897, + "title": "Solinger Schwertschmiede-Familien, [4]" } diff --git a/python/tests/files/datacite/datacite_result_03.json b/python/tests/files/datacite/datacite_result_03.json index 41d8d4cd..6aa65aee 100644 --- a/python/tests/files/datacite/datacite_result_03.json +++ b/python/tests/files/datacite/datacite_result_03.json @@ -1,16 +1,5 @@ { - "extra": { - "datacite": { - "schemaVersion": "http://datacite.org/schema/kernel-3" - } - }, - "title": "midterm ah30903", - "release_type": "article", - "release_year": 2016, - "ext_ids": { - "doi": "10.13140/rg.2.2.30434.53446" - }, - "language": "ms", + "abstracts": [], "contribs": [ { "index": 0, @@ -18,6 +7,17 @@ "role": "author" } ], + "ext_ids": { + "doi": "10.13140/rg.2.2.30434.53446" + }, + "extra": { + "datacite": { + "schemaVersion": "http://datacite.org/schema/kernel-3" + } + }, + "language": "ms", "refs": [], - "abstracts": [] + "release_type": "article", + "release_year": 2016, + "title": "midterm ah30903" } diff --git a/python/tests/files/datacite/datacite_result_04.json b/python/tests/files/datacite/datacite_result_04.json index 0976e40e..571c3f64 100644 --- a/python/tests/files/datacite/datacite_result_04.json +++ b/python/tests/files/datacite/datacite_result_04.json @@ -1,4 +1,23 @@ { + "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˙ ε. |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.", + "lang": "en", + "mimetype": "text/plain" + } + ], + "contribs": [ + { + "given_name": "Marc Andre", + "index": 0, + "raw_name": "Marc Andre Nicollerat", + "role": "author", + "surname": "Nicollerat" + } + ], + "ext_ids": { + "doi": "10.14288/1.0080520" + }, "extra": { "datacite": { "metadataVersion": 5, @@ -7,30 +26,11 @@ "schemaVersion": "http://datacite.org/schema/kernel-3" } }, - "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": "Marc Andre Nicollerat", - "given_name": "Marc Andre", - "surname": "Nicollerat", - "role": "author" - } - ], + "publisher": "University of British Columbia", "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˙ ε. |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.", - "mimetype": "text/plain", - "lang": "en" - } - ] + "release_stage": "published", + "release_type": "article-journal", + "release_year": 1973, + "title": "On chain maps inducing isomorphisms in homology" } diff --git a/python/tests/files/datacite/datacite_result_05.json b/python/tests/files/datacite/datacite_result_05.json index c4e5418d..5b7b4ed2 100644 --- a/python/tests/files/datacite/datacite_result_05.json +++ b/python/tests/files/datacite/datacite_result_05.json @@ -1,528 +1,508 @@ { - "extra": { - "datacite": { - "license": [ - { - "rights": "Attribution-NonCommercial (CC BY-NC)", - "rightsUri": "http://creativecommons.org/licenses/by-nc/4.0" - } - ], - "metadataVersion": 1, - "resourceType": "Dataset/UNITE Species Hypothesis", - "resourceTypeGeneral": "Dataset", - "schemaVersion": "http://datacite.org/schema/kernel-3" - }, - "release_month": 10 - }, - "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", + "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 (<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.", + "lang": "en", + "mimetype": "text/plain" + } + ], "contribs": [ { + "given_name": "Urmas", "index": 0, "raw_name": "Urmas Kõljalg", - "given_name": "Urmas", - "surname": "Kõljalg", - "role": "author" + "role": "author", + "surname": "Kõljalg" }, { + "given_name": "Kessy", "index": 1, "raw_name": "Kessy Abarenkov", - "given_name": "Kessy", - "surname": "Abarenkov", - "role": "author" + "role": "author", + "surname": "Abarenkov" }, { + "given_name": "R. Henrik", "index": 2, "raw_name": "R. Henrik Nilsson", - "given_name": "R. Henrik", - "surname": "Nilsson", - "role": "author" + "role": "author", + "surname": "Nilsson" }, { + "given_name": "Karl-Henrik", "index": 3, "raw_name": "Karl-Henrik Larsson", - "given_name": "Karl-Henrik", - "surname": "Larsson", - "role": "author" + "role": "author", + "surname": "Larsson" }, { + "given_name": "Anders Bjørnsgard", "index": 4, "raw_name": "Anders Bjørnsgard Aas", - "given_name": "Anders Bjørnsgard", - "surname": "Aas", - "role": "author" + "role": "author", + "surname": "Aas" }, { + "given_name": "Rachel", "index": 5, "raw_name": "Rachel Adams", - "given_name": "Rachel", - "surname": "Adams", - "role": "author" + "role": "author", + "surname": "Adams" }, { + "given_name": "Artur", "index": 6, "raw_name": "Artur Alves", - "given_name": "Artur", - "surname": "Alves", - "role": "author" + "role": "author", + "surname": "Alves" }, { + "given_name": "Joseph F.", "index": 7, "raw_name": "Joseph F. Ammirati", - "given_name": "Joseph F.", - "surname": "Ammirati", - "role": "author" + "role": "author", + "surname": "Ammirati" }, { + "given_name": "A. Elizabeth", "index": 8, "raw_name": "A. Elizabeth Arnold", - "given_name": "A. Elizabeth", - "surname": "Arnold", - "role": "author" + "role": "author", + "surname": "Arnold" }, { + "given_name": "Mohammad", "index": 9, "raw_name": "Mohammad Bahram", - "given_name": "Mohammad", - "surname": "Bahram", - "role": "author" + "role": "author", + "surname": "Bahram" }, { + "given_name": "Johan", "index": 10, "raw_name": "Johan Bengtsson-Palme", - "given_name": "Johan", - "surname": "Bengtsson-Palme", - "role": "author" + "role": "author", + "surname": "Bengtsson-Palme" }, { + "given_name": "Anna", "index": 11, "raw_name": "Anna Berlin", - "given_name": "Anna", - "surname": "Berlin", - "role": "author" + "role": "author", + "surname": "Berlin" }, { + "given_name": "Synnøve", "index": 12, "raw_name": "Synnøve Botnen", - "given_name": "Synnøve", - "surname": "Botnen", - "role": "author" + "role": "author", + "surname": "Botnen" }, { + "given_name": "Sarah", "index": 13, "raw_name": "Sarah Bourlat", - "given_name": "Sarah", - "surname": "Bourlat", - "role": "author" + "role": "author", + "surname": "Bourlat" }, { + "given_name": "Tanya", "index": 14, "raw_name": "Tanya Cheeke", - "given_name": "Tanya", - "surname": "Cheeke", - "role": "author" + "role": "author", + "surname": "Cheeke" }, { + "given_name": "Bálint", "index": 15, "raw_name": "Bálint Dima", - "given_name": "Bálint", - "surname": "Dima", - "role": "author" + "role": "author", + "surname": "Dima" }, { + "given_name": "Rein", "index": 16, "raw_name": "Rein Drenkhan", - "given_name": "Rein", - "surname": "Drenkhan", - "role": "author" + "role": "author", + "surname": "Drenkhan" }, { + "given_name": "Camila", "index": 17, "raw_name": "Camila Duarte", - "given_name": "Camila", - "surname": "Duarte", - "role": "author" + "role": "author", + "surname": "Duarte" }, { + "given_name": "Margarita", "index": 18, "raw_name": "Margarita Dueñas", - "given_name": "Margarita", - "surname": "Dueñas", - "role": "author" + "role": "author", + "surname": "Dueñas" }, { + "given_name": "Ursula", "index": 19, "raw_name": "Ursula Eberhardt", - "given_name": "Ursula", - "surname": "Eberhardt", - "role": "author" + "role": "author", + "surname": "Eberhardt" }, { + "given_name": "Hanna", "index": 20, "raw_name": "Hanna Friberg", - "given_name": "Hanna", - "surname": "Friberg", - "role": "author" + "role": "author", + "surname": "Friberg" }, { + "given_name": "Tobias G.", "index": 21, "raw_name": "Tobias G. Frøslev", - "given_name": "Tobias G.", - "surname": "Frøslev", - "role": "author" + "role": "author", + "surname": "Frøslev" }, { + "given_name": "Sigisfredo", "index": 22, "raw_name": "Sigisfredo Garnica", - "given_name": "Sigisfredo", - "surname": "Garnica", - "role": "author" + "role": "author", + "surname": "Garnica" }, { + "given_name": "József", "index": 23, "raw_name": "József Geml", - "given_name": "József", - "surname": "Geml", - "role": "author" + "role": "author", + "surname": "Geml" }, { + "given_name": "Masoomeh", "index": 24, "raw_name": "Masoomeh Ghobad-Nejhad", - "given_name": "Masoomeh", - "surname": "Ghobad-Nejhad", - "role": "author" + "role": "author", + "surname": "Ghobad-Nejhad" }, { + "given_name": "Tine", "index": 25, "raw_name": "Tine Grebenc", - "given_name": "Tine", - "surname": "Grebenc", - "role": "author" + "role": "author", + "surname": "Grebenc" }, { + "given_name": "Gareth W.", "index": 26, "raw_name": "Gareth W. Griffith", - "given_name": "Gareth W.", - "surname": "Griffith", - "role": "author" + "role": "author", + "surname": "Griffith" }, { + "given_name": "Felix", "index": 27, "raw_name": "Felix Hampe", - "given_name": "Felix", - "surname": "Hampe", - "role": "author" + "role": "author", + "surname": "Hampe" }, { + "given_name": "Peter", "index": 28, "raw_name": "Peter Kennedy", - "given_name": "Peter", - "surname": "Kennedy", - "role": "author" + "role": "author", + "surname": "Kennedy" }, { + "given_name": "Maryia", "index": 29, "raw_name": "Maryia Khomich", - "given_name": "Maryia", - "surname": "Khomich", - "role": "author" + "role": "author", + "surname": "Khomich" }, { + "given_name": "Petr", "index": 30, "raw_name": "Petr Kohout", - "given_name": "Petr", - "surname": "Kohout", - "role": "author" + "role": "author", + "surname": "Kohout" }, { + "given_name": "Anu", "index": 31, "raw_name": "Anu Kollom", - "given_name": "Anu", - "surname": "Kollom", - "role": "author" + "role": "author", + "surname": "Kollom" }, { + "given_name": "Ellen", "index": 32, "raw_name": "Ellen Larsson", - "given_name": "Ellen", - "surname": "Larsson", - "role": "author" + "role": "author", + "surname": "Larsson" }, { + "given_name": "Irinyi", "index": 33, "raw_name": "Irinyi Laszlo", - "given_name": "Irinyi", - "surname": "Laszlo", - "role": "author" + "role": "author", + "surname": "Laszlo" }, { + "given_name": "Steven", "index": 34, "raw_name": "Steven Leavitt", - "given_name": "Steven", - "surname": "Leavitt", - "role": "author" + "role": "author", + "surname": "Leavitt" }, { + "given_name": "Kare", "index": 35, "raw_name": "Kare Liimatainen", - "given_name": "Kare", - "surname": "Liimatainen", - "role": "author" + "role": "author", + "surname": "Liimatainen" }, { + "given_name": "Björn", "index": 36, "raw_name": "Björn Lindahl", - "given_name": "Björn", - "surname": "Lindahl", - "role": "author" + "role": "author", + "surname": "Lindahl" }, { + "given_name": "Deborah J.", "index": 37, "raw_name": "Deborah J. Lodge", - "given_name": "Deborah J.", - "surname": "Lodge", - "role": "author" + "role": "author", + "surname": "Lodge" }, { + "given_name": "Helge Thorsten", "index": 38, "raw_name": "Helge Thorsten Lumbsch", - "given_name": "Helge Thorsten", - "surname": "Lumbsch", - "role": "author" + "role": "author", + "surname": "Lumbsch" }, { + "given_name": "María Paz", "index": 39, "raw_name": "María Paz Martín Esteban", - "given_name": "María Paz", - "surname": "Martín Esteban", - "role": "author" + "role": "author", + "surname": "Martín Esteban" }, { + "given_name": "Wieland", "index": 40, "raw_name": "Wieland Meyer", - "given_name": "Wieland", - "surname": "Meyer", - "role": "author" + "role": "author", + "surname": "Meyer" }, { + "given_name": "Otto", "index": 41, "raw_name": "Otto Miettinen", - "given_name": "Otto", - "surname": "Miettinen", - "role": "author" + "role": "author", + "surname": "Miettinen" }, { + "given_name": "Nhu", "index": 42, "raw_name": "Nhu Nguyen", - "given_name": "Nhu", - "surname": "Nguyen", - "role": "author" + "role": "author", + "surname": "Nguyen" }, { + "given_name": "Tuula", "index": 43, "raw_name": "Tuula Niskanen", - "given_name": "Tuula", - "surname": "Niskanen", - "role": "author" + "role": "author", + "surname": "Niskanen" }, { + "given_name": "Ryoko", "index": 44, "raw_name": "Ryoko Oono", - "given_name": "Ryoko", - "surname": "Oono", - "role": "author" + "role": "author", + "surname": "Oono" }, { + "given_name": "Maarja", "index": 45, "raw_name": "Maarja Öpik", - "given_name": "Maarja", - "surname": "Öpik", - "role": "author" + "role": "author", + "surname": "Öpik" }, { + "given_name": "Alexander", "index": 46, "raw_name": "Alexander Ordynets", - "given_name": "Alexander", - "surname": "Ordynets", - "role": "author" + "role": "author", + "surname": "Ordynets" }, { + "given_name": "Julia", "index": 47, "raw_name": "Julia Pawłowska", - "given_name": "Julia", - "surname": "Pawłowska", - "role": "author" + "role": "author", + "surname": "Pawłowska" }, { + "given_name": "Ursula", "index": 48, "raw_name": "Ursula Peintner", - "given_name": "Ursula", - "surname": "Peintner", - "role": "author" + "role": "author", + "surname": "Peintner" }, { + "given_name": "Olinto Liparini", "index": 49, "raw_name": "Olinto Liparini Pereira", - "given_name": "Olinto Liparini", - "surname": "Pereira", - "role": "author" + "role": "author", + "surname": "Pereira" }, { + "given_name": "Danilo Batista", "index": 50, "raw_name": "Danilo Batista Pinho", - "given_name": "Danilo Batista", - "surname": "Pinho", - "role": "author" + "role": "author", + "surname": "Pinho" }, { + "given_name": "Kadri", "index": 51, "raw_name": "Kadri Põldmaa", - "given_name": "Kadri", - "surname": "Põldmaa", - "role": "author" + "role": "author", + "surname": "Põldmaa" }, { + "given_name": "Kadri", "index": 52, "raw_name": "Kadri Runnel", - "given_name": "Kadri", - "surname": "Runnel", - "role": "author" + "role": "author", + "surname": "Runnel" }, { + "given_name": "Martin", "index": 53, "raw_name": "Martin Ryberg", - "given_name": "Martin", - "surname": "Ryberg", - "role": "author" + "role": "author", + "surname": "Ryberg" }, { + "given_name": "Irja", "index": 54, "raw_name": "Irja Saar", - "given_name": "Irja", - "surname": "Saar", - "role": "author" + "role": "author", + "surname": "Saar" }, { + "given_name": "Kemal", "index": 55, "raw_name": "Kemal Sanli", - "given_name": "Kemal", - "surname": "Sanli", - "role": "author" + "role": "author", + "surname": "Sanli" }, { + "given_name": "James", "index": 56, "raw_name": "James Scott", - "given_name": "James", - "surname": "Scott", - "role": "author" + "role": "author", + "surname": "Scott" }, { + "given_name": "Viacheslav", "index": 57, "raw_name": "Viacheslav Spirin", - "given_name": "Viacheslav", - "surname": "Spirin", - "role": "author" + "role": "author", + "surname": "Spirin" }, { + "given_name": "Ave", "index": 58, "raw_name": "Ave Suija", - "given_name": "Ave", - "surname": "Suija", - "role": "author" + "role": "author", + "surname": "Suija" }, { + "given_name": "Sten", "index": 59, "raw_name": "Sten Svantesson", - "given_name": "Sten", - "surname": "Svantesson", - "role": "author" + "role": "author", + "surname": "Svantesson" }, { + "given_name": "Mariusz", "index": 60, "raw_name": "Mariusz Tadych", - "given_name": "Mariusz", - "surname": "Tadych", - "role": "author" + "role": "author", + "surname": "Tadych" }, { + "given_name": "Susumu", "index": 61, "raw_name": "Susumu Takamatsu", - "given_name": "Susumu", - "surname": "Takamatsu", - "role": "author" + "role": "author", + "surname": "Takamatsu" }, { + "given_name": "Heidi", "index": 62, "raw_name": "Heidi Tamm", - "given_name": "Heidi", - "surname": "Tamm", - "role": "author" + "role": "author", + "surname": "Tamm" }, { + "given_name": "AFS.", "index": 63, "raw_name": "AFS. Taylor", - "given_name": "AFS.", - "surname": "Taylor", - "role": "author" + "role": "author", + "surname": "Taylor" }, { + "given_name": "Leho", "index": 64, "raw_name": "Leho Tedersoo", - "given_name": "Leho", - "surname": "Tedersoo", - "role": "author" + "role": "author", + "surname": "Tedersoo" }, { + "given_name": "M.T.", "index": 65, "raw_name": "M.T. Telleria", - "given_name": "M.T.", - "surname": "Telleria", - "role": "author" + "role": "author", + "surname": "Telleria" }, { + "given_name": "Dhanushka", "index": 66, "raw_name": "Dhanushka Udayanga", - "given_name": "Dhanushka", - "surname": "Udayanga", - "role": "author" + "role": "author", + "surname": "Udayanga" }, { + "given_name": "Martin", "index": 67, "raw_name": "Martin Unterseher", - "given_name": "Martin", - "surname": "Unterseher", - "role": "author" + "role": "author", + "surname": "Unterseher" }, { + "given_name": "Sergey", "index": 68, "raw_name": "Sergey Volobuev", - "given_name": "Sergey", - "surname": "Volobuev", - "role": "author" + "role": "author", + "surname": "Volobuev" }, { + "given_name": "Michael", "index": 69, "raw_name": "Michael Weiss", - "given_name": "Michael", - "surname": "Weiss", - "role": "author" + "role": "author", + "surname": "Weiss" }, { + "given_name": "Christian", "index": 70, "raw_name": "Christian Wurzbacher", - "given_name": "Christian", - "surname": "Wurzbacher", - "role": "author" + "role": "author", + "surname": "Wurzbacher" }, { "raw_name": "Kessy Abarenkov" @@ -531,12 +511,32 @@ "raw_name": "NHM UT-University Of Tartu; Natural History Museum And Botanic Garden" } ], + "ext_ids": { + "doi": "10.15156/bio/sh409843.07fu" + }, + "extra": { + "datacite": { + "license": [ + { + "rights": "Attribution-NonCommercial (CC BY-NC)", + "rightsUri": "http://creativecommons.org/licenses/by-nc/4.0" + } + ], + "metadataVersion": 1, + "resourceType": "Dataset/UNITE Species Hypothesis", + "resourceTypeGeneral": "Dataset", + "schemaVersion": "http://datacite.org/schema/kernel-3" + }, + "release_month": 10 + }, + "language": "en", + "license_slug": "CC-BY-NC", + "publisher": "UNITE Community", "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 (<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", - "lang": "en" - } - ] + "release_date": "2014-10-05", + "release_stage": "published", + "release_type": "dataset", + "release_year": 2014, + "subtitle": "Gomphales", + "title": "SH409843.07FU" } diff --git a/python/tests/files/datacite/datacite_result_06.json b/python/tests/files/datacite/datacite_result_06.json index 18880100..4f6cae94 100644 --- a/python/tests/files/datacite/datacite_result_06.json +++ b/python/tests/files/datacite/datacite_result_06.json @@ -1,4 +1,15 @@ { + "abstracts": [], + "contribs": [ + { + "index": 0, + "raw_name": "Crispijn De Passe (Der Ältere) (1564-1637)", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.16903/ethz-grs-d_006220" + }, "extra": { "datacite": { "license": [ @@ -11,19 +22,8 @@ "schemaVersion": "http://datacite.org/schema/kernel-3" } }, - "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\"", + "refs": [], "release_type": "article", "release_year": 1590, - "ext_ids": { - "doi": "10.16903/ethz-grs-d_006220" - }, - "contribs": [ - { - "index": 0, - "raw_name": "Crispijn De Passe (Der Ältere) (1564-1637)", - "role": "author" - } - ], - "refs": [], - "abstracts": [] + "title": "Der Eifer (Sedulitas), Blatt 7 der Folge \"Die Tugenden\"" } diff --git a/python/tests/files/datacite/datacite_result_07.json b/python/tests/files/datacite/datacite_result_07.json index 23b63d50..2f500925 100644 --- a/python/tests/files/datacite/datacite_result_07.json +++ b/python/tests/files/datacite/datacite_result_07.json @@ -1,6 +1,46 @@ { + "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.", + "lang": "en", + "mimetype": "text/plain" + } + ], + "contribs": [ + { + "given_name": "E.", + "index": 0, + "raw_name": "E. ROTHUIZEN", + "role": "author", + "surname": "ROTHUIZEN" + }, + { + "given_name": "B.", + "index": 1, + "raw_name": "B. ELMEGAARD", + "role": "author", + "surname": "ELMEGAARD" + }, + { + "given_name": "B.", + "index": 2, + "raw_name": "B. MARKUSSEN W.", + "role": "author", + "surname": "MARKUSSEN W." + }, + { + "index": 3, + "raw_name": "Et Al.", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.18462/iir.icr.2015.0926" + }, "extra": { "datacite": { + "resourceType": "Dataset", + "resourceTypeGeneral": "Dataset", "subjects": [ { "subject": "HEAT PUMP" @@ -23,54 +63,14 @@ { "subject": "MODEL" } - ], - "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset" + ] } }, - "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": "E. ROTHUIZEN", - "given_name": "E.", - "surname": "ROTHUIZEN", - "role": "author" - }, - { - "index": 1, - "raw_name": "B. ELMEGAARD", - "given_name": "B.", - "surname": "ELMEGAARD", - "role": "author" - }, - { - "index": 2, - "raw_name": "B. MARKUSSEN W.", - "given_name": "B.", - "surname": "MARKUSSEN W.", - "role": "author" - }, - { - "index": 3, - "raw_name": "Et Al.", - "role": "author" - } - ], + "publisher": "International Institute of Refrigeration (IIR)", "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", - "lang": "en" - } - ] + "release_stage": "published", + "release_type": "dataset", + "release_year": 2015, + "title": "High efficient heat pump system using storage tanks to increase cop by means of the ISEC concept. 1: model validation." } diff --git a/python/tests/files/datacite/datacite_result_08.json b/python/tests/files/datacite/datacite_result_08.json index ff942d0a..70237280 100644 --- a/python/tests/files/datacite/datacite_result_08.json +++ b/python/tests/files/datacite/datacite_result_08.json @@ -1,6 +1,35 @@ { + "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'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.", + "lang": "en", + "mimetype": "text/plain" + } + ], + "contribs": [ + { + "given_name": "Kei", + "index": 0, + "raw_name": "Kei Kajisa", + "role": "author", + "surname": "Kajisa" + }, + { + "given_name": "Kei", + "index": 1, + "raw_name": "Kei Kajisa", + "role": "author", + "surname": "Kajisa" + } + ], + "ext_ids": { + "doi": "10.22004/ag.econ.284864" + }, "extra": { "datacite": { + "metadataVersion": 1, + "resourceType": "Text", + "resourceTypeGeneral": "Text", "subjects": [ { "subject": "Land Economics/Use" @@ -17,41 +46,12 @@ "subject": "collective action", "subjectScheme": "keyword" } - ], - "metadataVersion": 1, - "resourceType": "Text", - "resourceTypeGeneral": "Text" + ] } }, - "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": "Kei Kajisa", - "given_name": "Kei", - "surname": "Kajisa", - "role": "author" - }, - { - "index": 1, - "raw_name": "Kei Kajisa", - "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'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.", - "mimetype": "text/plain", - "lang": "en" - } - ] + "release_type": "article-journal", + "release_year": 2017, + "title": "Irrigation Policies under Rapid Industrialization and Labor Migration: Lessons from Japan, China and India" } diff --git a/python/tests/files/datacite/datacite_result_09.json b/python/tests/files/datacite/datacite_result_09.json index c93dc769..79571360 100644 --- a/python/tests/files/datacite/datacite_result_09.json +++ b/python/tests/files/datacite/datacite_result_09.json @@ -1,37 +1,12 @@ { - "extra": { - "datacite": { - "subjects": [ - { - "subject": "Direktdiodenlasersysteme" - }, - { - "subject": "Physics", - "subjectScheme": "linsearch" - } - ], - "metadataVersion": 9, - "resourceType": "Report", - "resourceTypeGeneral": "Text", - "schemaVersion": "http://datacite.org/schema/kernel-4" - } - }, - "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", - "release_type": "report", - "release_stage": "published", - "release_year": 2016, - "ext_ids": { - "doi": "10.2314/gbv:880813733" - }, - "publisher": "[Lumics GmbH]", - "language": "de", + "abstracts": [], "contribs": [ { + "given_name": "Nils", "index": 0, "raw_name": "Nils Kirstaedter", - "given_name": "Nils", - "surname": "Kirstaedter", - "role": "author" + "role": "author", + "surname": "Kirstaedter" }, { "extra": { @@ -39,13 +14,38 @@ } }, { - "raw_name": "Technische Informationsbibliothek (TIB)", "extra": { "type": "DataManager" - } + }, + "raw_name": "Technische Informationsbibliothek (TIB)" } ], + "ext_ids": { + "doi": "10.2314/gbv:880813733" + }, + "extra": { + "datacite": { + "metadataVersion": 9, + "resourceType": "Report", + "resourceTypeGeneral": "Text", + "schemaVersion": "http://datacite.org/schema/kernel-4", + "subjects": [ + { + "subject": "Direktdiodenlasersysteme" + }, + { + "subject": "Physics", + "subjectScheme": "linsearch" + } + ] + } + }, + "language": "de", + "publisher": "[Lumics GmbH]", "refs": [], - "abstracts": [], + "release_stage": "published", + "release_type": "report", + "release_year": 2016, + "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", "version": "1.0" } diff --git a/python/tests/files/datacite/datacite_result_10.json b/python/tests/files/datacite/datacite_result_10.json index 8dea8957..1d39feb0 100644 --- a/python/tests/files/datacite/datacite_result_10.json +++ b/python/tests/files/datacite/datacite_result_10.json @@ -1,6 +1,20 @@ { + "abstracts": [], + "contribs": [ + { + "index": 0, + "raw_name": "Unknown", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.25549/wpacards-m6171" + }, "extra": { "datacite": { + "resourceType": "Dataset", + "resourceTypeGeneral": "Dataset", + "schemaVersion": "http://datacite.org/schema/kernel-4", "subjects": [ { "subject": "housing areas" @@ -8,28 +22,14 @@ { "subject": "Dwellings" } - ], - "resourceType": "Dataset", - "resourceTypeGeneral": "Dataset", - "schemaVersion": "http://datacite.org/schema/kernel-4" + ] } }, - "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" - } - ], + "publisher": "University of Southern California Digital Library (USC.DL)", "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "dataset", + "release_year": 2012, + "title": "WPA household census for 210 E VERNON, Los Angeles" } diff --git a/python/tests/files/datacite/datacite_result_11.json b/python/tests/files/datacite/datacite_result_11.json index 944ca718..761a99c9 100644 --- a/python/tests/files/datacite/datacite_result_11.json +++ b/python/tests/files/datacite/datacite_result_11.json @@ -1,4 +1,15 @@ { + "abstracts": [], + "contribs": [ + { + "index": 0, + "raw_name": "Comet Photo AG (Zürich)", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.3932/ethz-a-000055869" + }, "extra": { "datacite": { "metadataVersion": 6, @@ -6,22 +17,11 @@ "schemaVersion": "http://datacite.org/schema/kernel-3" } }, - "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ürich, Bildarchiv", "language": "de", - "contribs": [ - { - "index": 0, - "raw_name": "Comet Photo AG (Zürich)", - "role": "author" - } - ], + "publisher": "ETH-Bibliothek Zürich, Bildarchiv", "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "graphic", + "release_year": 1965, + "title": "N1 bei Safenwil" } diff --git a/python/tests/files/datacite/datacite_result_12.json b/python/tests/files/datacite/datacite_result_12.json index 6977ecea..4e966d6c 100644 --- a/python/tests/files/datacite/datacite_result_12.json +++ b/python/tests/files/datacite/datacite_result_12.json @@ -1,49 +1,49 @@ { - "extra": { - "datacite": { - "resourceTypeGeneral": "Text" - }, - "release_month": 6 - }, - "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", + "abstracts": [], "contribs": [ { + "given_name": "Charalampos", "index": 0, "raw_name": "Charalampos Spanias", - "given_name": "Charalampos", - "surname": "Spanias", - "role": "author" + "role": "author", + "surname": "Spanias" }, { + "given_name": "Pantelis T", "index": 1, "raw_name": "Pantelis T Nikolaidis", - "given_name": "Pantelis T", - "surname": "Nikolaidis", - "role": "author" + "role": "author", + "surname": "Nikolaidis" }, { + "given_name": "Thomas", "index": 2, "raw_name": "Thomas Rosemann", - "given_name": "Thomas", - "surname": "Rosemann", - "role": "author" + "role": "author", + "surname": "Rosemann" }, { + "given_name": "Beat", "index": 3, "raw_name": "Beat Knechtle", - "given_name": "Beat", - "surname": "Knechtle", - "role": "author" + "role": "author", + "surname": "Knechtle" } ], + "ext_ids": { + "doi": "10.5167/uzh-171449" + }, + "extra": { + "datacite": { + "resourceTypeGeneral": "Text" + }, + "release_month": 6 + }, + "publisher": "MDPI Publishing", "refs": [], - "abstracts": [] + "release_date": "2019-06-14", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2019, + "title": "Anthropometric and Physiological Profile of Mixed Martial Art Athletes: A Brief Review" } diff --git a/python/tests/files/datacite/datacite_result_13.json b/python/tests/files/datacite/datacite_result_13.json index 91126c5a..923f2ea8 100644 --- a/python/tests/files/datacite/datacite_result_13.json +++ b/python/tests/files/datacite/datacite_result_13.json @@ -1,22 +1,5 @@ { - "extra": { - "datacite": { - "metadataVersion": 17, - "resourceType": "Journal Article", - "resourceTypeGeneral": "Text", - "schemaVersion": "http://datacite.org/schema/kernel-3" - }, - "release_month": 10 - }, - "title": "[Müssen wir des Glücks uns schämen?]", - "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üchler & Co.", + "abstracts": [], "contribs": [ { "index": 0, @@ -24,13 +7,30 @@ "role": "author" }, { + "given_name": "Hermann", "index": 1, "raw_name": "Hermann Hiltbrunner", - "given_name": "Hermann", - "surname": "Hiltbrunner", - "role": "author" + "role": "author", + "surname": "Hiltbrunner" } ], + "ext_ids": { + "doi": "10.5169/seals-314104" + }, + "extra": { + "datacite": { + "metadataVersion": 17, + "resourceType": "Journal Article", + "resourceTypeGeneral": "Text", + "schemaVersion": "http://datacite.org/schema/kernel-3" + }, + "release_month": 10 + }, + "publisher": "Buchdruckerei Büchler & Co.", "refs": [], - "abstracts": [] + "release_date": "1940-10-05", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 1940, + "title": "[Müssen wir des Glücks uns schämen?]" } diff --git a/python/tests/files/datacite/datacite_result_14.json b/python/tests/files/datacite/datacite_result_14.json index 20f6bfd4..2ce68d29 100644 --- a/python/tests/files/datacite/datacite_result_14.json +++ b/python/tests/files/datacite/datacite_result_14.json @@ -1,114 +1,114 @@ { - "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" - } - ], - "metadataVersion": 2, - "resourceTypeGeneral": "Dataset", - "schemaVersion": "http://datacite.org/schema/kernel-3" + "abstracts": [ + { + "content": "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.", + "lang": "en", + "mimetype": "text/plain" } - }, - "title": "CCDC 222635: Experimental Crystal Structure Determination", - "release_type": "entry", - "release_stage": "published", - "release_year": 2004, - "ext_ids": { - "doi": "10.5517/cc7gns3" - }, - "publisher": "Cambridge Crystallographic Data Centre", - "language": "en", + ], "contribs": [ { + "given_name": "E.", "index": 0, "raw_name": "E. Stulz", - "given_name": "E.", - "surname": "Stulz", - "role": "author" + "role": "author", + "surname": "Stulz" }, { + "given_name": "S.M.", "index": 1, "raw_name": "S.M. Scott", - "given_name": "S.M.", - "surname": "Scott", - "role": "author" + "role": "author", + "surname": "Scott" }, { + "given_name": "Yiu-Fai", "index": 2, "raw_name": "Yiu-Fai Ng", - "given_name": "Yiu-Fai", - "surname": "Ng", - "role": "author" + "role": "author", + "surname": "Ng" }, { + "given_name": "A.D.", "index": 3, "raw_name": "A.D. Bond", - "given_name": "A.D.", - "surname": "Bond", - "role": "author" + "role": "author", + "surname": "Bond" }, { + "given_name": "S.J.", "index": 4, "raw_name": "S.J. Teat", - "given_name": "S.J.", - "surname": "Teat", - "role": "author" + "role": "author", + "surname": "Teat" }, { + "given_name": "S.L.", "index": 5, "raw_name": "S.L. Darling", - "given_name": "S.L.", - "surname": "Darling", - "role": "author" + "role": "author", + "surname": "Darling" }, { + "given_name": "N.", "index": 6, "raw_name": "N. Feeder", - "given_name": "N.", - "surname": "Feeder", - "role": "author" + "role": "author", + "surname": "Feeder" }, { + "given_name": "J.K.M.", "index": 7, "raw_name": "J.K.M. Sanders", - "given_name": "J.K.M.", - "surname": "Sanders", - "role": "author" + "role": "author", + "surname": "Sanders" } ], - "refs": [], - "abstracts": [ - { - "content": "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.", - "mimetype": "text/plain", - "lang": "en" + "ext_ids": { + "doi": "10.5517/cc7gns3" + }, + "extra": { + "datacite": { + "metadataVersion": 2, + "relations": [ + { + "relatedIdentifier": "10.1021/ic034699w", + "relatedIdentifierType": "DOI", + "relationType": "IsSupplementTo" + } + ], + "resourceTypeGeneral": "Dataset", + "schemaVersion": "http://datacite.org/schema/kernel-3", + "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" + } + ] } - ] + }, + "language": "en", + "publisher": "Cambridge Crystallographic Data Centre", + "refs": [], + "release_stage": "published", + "release_type": "entry", + "release_year": 2004, + "title": "CCDC 222635: Experimental Crystal Structure Determination" } diff --git a/python/tests/files/datacite/datacite_result_15.json b/python/tests/files/datacite/datacite_result_15.json index 3a03dfb6..5e7180c4 100644 --- a/python/tests/files/datacite/datacite_result_15.json +++ b/python/tests/files/datacite/datacite_result_15.json @@ -1,4 +1,17 @@ { + "abstracts": [], + "contribs": [ + { + "given_name": "David", + "index": 0, + "raw_name": "David Richardson", + "role": "author", + "surname": "Richardson" + } + ], + "ext_ids": { + "doi": "10.6073/pasta/95296d8416aae24f3d39b4ecb27f0b28" + }, "extra": { "datacite": { "metadataVersion": 1, @@ -7,23 +20,10 @@ "schemaVersion": "http://datacite.org/schema/kernel-2.2" } }, - "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": "David Richardson", - "given_name": "David", - "surname": "Richardson", - "role": "author" - } - ], "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "dataset", + "release_year": 2017, + "title": "Parramore Island of the Virginia Coast Reserve Permanent Plot Resurvey: Tree data 1997" } diff --git a/python/tests/files/datacite/datacite_result_16.json b/python/tests/files/datacite/datacite_result_16.json index 8cf762b6..dc9d18af 100644 --- a/python/tests/files/datacite/datacite_result_16.json +++ b/python/tests/files/datacite/datacite_result_16.json @@ -1,4 +1,17 @@ { + "abstracts": [], + "contribs": [ + { + "given_name": "Taha", + "index": 0, + "raw_name": "Taha Sochi", + "role": "author", + "surname": "Sochi" + } + ], + "ext_ids": { + "doi": "10.6084/m9.figshare.1282478" + }, "extra": { "datacite": { "license": [ @@ -12,23 +25,10 @@ "schemaVersion": "http://datacite.org/schema/kernel-3" } }, - "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": "Taha Sochi", - "given_name": "Taha", - "surname": "Sochi", - "role": "author" - } - ], "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "dataset", + "release_year": 2014, + "title": "Testing the Connectivity of Networks" } diff --git a/python/tests/files/datacite/datacite_result_17.json b/python/tests/files/datacite/datacite_result_17.json index 6e8c4e34..0f768179 100644 --- a/python/tests/files/datacite/datacite_result_17.json +++ b/python/tests/files/datacite/datacite_result_17.json @@ -1,18 +1,5 @@ { - "extra": { - "datacite": { - "resourceTypeGeneral": "Dataset", - "schemaVersion": "http://datacite.org/schema/kernel-4" - } - }, - "title": "gel_BSA-FITC_Markov_segmntation0343.tif", - "release_type": "dataset", - "release_stage": "published", - "release_year": 2018, - "ext_ids": { - "doi": "10.7910/dvn/tsqfwc/yytj22" - }, - "publisher": "Harvard Dataverse", + "abstracts": [], "contribs": [ { "index": 0, @@ -20,6 +7,19 @@ "role": "author" } ], + "ext_ids": { + "doi": "10.7910/dvn/tsqfwc/yytj22" + }, + "extra": { + "datacite": { + "resourceTypeGeneral": "Dataset", + "schemaVersion": "http://datacite.org/schema/kernel-4" + } + }, + "publisher": "Harvard Dataverse", "refs": [], - "abstracts": [] + "release_stage": "published", + "release_type": "dataset", + "release_year": 2018, + "title": "gel_BSA-FITC_Markov_segmntation0343.tif" } diff --git a/python/tests/files/datacite/datacite_result_18.json b/python/tests/files/datacite/datacite_result_18.json index 6e69bad2..7f2d2792 100644 --- a/python/tests/files/datacite/datacite_result_18.json +++ b/python/tests/files/datacite/datacite_result_18.json @@ -1,4 +1,9 @@ { + "abstracts": [], + "contribs": [], + "ext_ids": { + "doi": "10.7916/d81z522m" + }, "extra": { "datacite": { "metadataVersion": 2, @@ -6,16 +11,11 @@ }, "release_month": 8 }, - "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": [] + "release_date": "2017-08-21", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "title": "Eastern questionnaire, answer sheet for Interviewee 53215, page 064" } diff --git a/python/tests/files/datacite/datacite_result_19.json b/python/tests/files/datacite/datacite_result_19.json index 2f2f217e..4ff00a56 100644 --- a/python/tests/files/datacite/datacite_result_19.json +++ b/python/tests/files/datacite/datacite_result_19.json @@ -1,4 +1,9 @@ { + "abstracts": [], + "contribs": [], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, "extra": { "datacite": { "metadataVersion": 3, @@ -6,16 +11,11 @@ }, "release_month": 8 }, - "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": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "title": "Eastern questionnaire, answer sheet for Interviewee 55236, page 092" } diff --git a/python/tests/files/datacite/datacite_result_20.json b/python/tests/files/datacite/datacite_result_20.json index 0f99e2a2..5a6d3473 100644 --- a/python/tests/files/datacite/datacite_result_20.json +++ b/python/tests/files/datacite/datacite_result_20.json @@ -1,17 +1,17 @@ { + "abstracts": [], + "contribs": [], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, "extra": { "datacite": {}, "release_month": 8 }, - "title": "

Eastern questionnaire

", - "release_type": "article", - "release_stage": "published", + "refs": [], "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, - "contribs": [], - "refs": [], - "abstracts": [] + "title": "

Eastern questionnaire

" } diff --git a/python/tests/files/datacite/datacite_result_21.json b/python/tests/files/datacite/datacite_result_21.json index 3dfcf1bf..54c22538 100644 --- a/python/tests/files/datacite/datacite_result_21.json +++ b/python/tests/files/datacite/datacite_result_21.json @@ -1,18 +1,18 @@ { + "abstracts": [], + "contribs": [], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, "extra": { "datacite": {}, "release_month": 8 }, - "title": "ABC", - "release_type": "article", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, "language": "de", - "contribs": [], "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "title": "ABC" } diff --git a/python/tests/files/datacite/datacite_result_22.json b/python/tests/files/datacite/datacite_result_22.json index bd88c358..913fbbb6 100644 --- a/python/tests/files/datacite/datacite_result_22.json +++ b/python/tests/files/datacite/datacite_result_22.json @@ -1,25 +1,25 @@ { - "extra": { - "datacite": {}, - "release_month": 8 - }, - "title": "ABC", - "release_type": "article", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, - "language": "de", + "abstracts": [], "contribs": [ { "index": 0, + "raw_affiliation": "Department of pataphysics", "raw_name": "Anton Welch", - "role": "author", - "raw_affiliation": "Department of pataphysics" + "role": "author" } ], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, + "extra": { + "datacite": {}, + "release_month": 8 + }, + "language": "de", "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "title": "ABC" } diff --git a/python/tests/files/datacite/datacite_result_23.json b/python/tests/files/datacite/datacite_result_23.json index e82925af..0ac6a06d 100644 --- a/python/tests/files/datacite/datacite_result_23.json +++ b/python/tests/files/datacite/datacite_result_23.json @@ -1,25 +1,25 @@ { - "extra": { - "datacite": {}, - "release_month": 8 - }, - "title": "ABC", - "release_type": "article", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1-xxx" - }, - "language": "de", + "abstracts": [], "contribs": [ { "index": 0, + "raw_affiliation": "Department of pataphysics", "raw_name": "Anton Welch", - "role": "author", - "raw_affiliation": "Department of pataphysics" + "role": "author" } ], + "ext_ids": { + "doi": "10.7916/d86x0cg1-xxx" + }, + "extra": { + "datacite": {}, + "release_month": 8 + }, + "language": "de", "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "title": "ABC" } diff --git a/python/tests/files/datacite/datacite_result_24.json b/python/tests/files/datacite/datacite_result_24.json index 2d95d300..cd9898f9 100644 --- a/python/tests/files/datacite/datacite_result_24.json +++ b/python/tests/files/datacite/datacite_result_24.json @@ -1,25 +1,25 @@ { - "extra": { - "datacite": {}, - "release_month": 8 - }, - "title": "ABC", - "subtitle": "DEF", - "release_type": "article", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, + "abstracts": [], "contribs": [ { "index": 0, + "raw_affiliation": "Department of pataphysics", "raw_name": "Anton Welch", - "role": "author", - "raw_affiliation": "Department of pataphysics" + "role": "author" } ], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, + "extra": { + "datacite": {}, + "release_month": 8 + }, "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "article", + "release_year": 2017, + "subtitle": "DEF", + "title": "ABC" } diff --git a/python/tests/files/datacite/datacite_result_25.json b/python/tests/files/datacite/datacite_result_25.json index aad6d17e..6a29e8de 100644 --- a/python/tests/files/datacite/datacite_result_25.json +++ b/python/tests/files/datacite/datacite_result_25.json @@ -1,25 +1,25 @@ { - "extra": { - "datacite": {}, - "release_month": 8 - }, - "title": "Additional file 123: ABC", - "subtitle": "DEF", - "release_type": "stub", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, + "abstracts": [], "contribs": [ { "index": 0, + "raw_affiliation": "Department of pataphysics", "raw_name": "Anton Welch", - "role": "author", - "raw_affiliation": "Department of pataphysics" + "role": "author" } ], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, + "extra": { + "datacite": {}, + "release_month": 8 + }, "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "stub", + "release_year": 2017, + "subtitle": "DEF", + "title": "Additional file 123: ABC" } diff --git a/python/tests/files/datacite/datacite_result_26.json b/python/tests/files/datacite/datacite_result_26.json index 8d26197c..267eb9c2 100644 --- a/python/tests/files/datacite/datacite_result_26.json +++ b/python/tests/files/datacite/datacite_result_26.json @@ -1,31 +1,33 @@ { - "extra": { - "datacite": {}, - "release_month": 8 - }, - "title": "Additional file 123: ABC", - "subtitle": "DEF", - "release_type": "stub", - "release_stage": "published", - "release_date": "2017-08-24", - "release_year": 2017, - "ext_ids": { - "doi": "10.7916/d86x0cg1" - }, + "abstracts": [], "contribs": [ { "index": 0, + "raw_affiliation": "Department of pataphysics", "raw_name": "Anton Welch", - "role": "author", - "raw_affiliation": "Department of pataphysics" + "role": "author" }, - { - "extra": {"type": "Editor"}, - "raw_name": "David Wemmer", - "given_name": "David", - "surname": "Wemmer" - } + { + "extra": { + "type": "Editor" + }, + "given_name": "David", + "raw_name": "David Wemmer", + "surname": "Wemmer" + } ], + "ext_ids": { + "doi": "10.7916/d86x0cg1" + }, + "extra": { + "datacite": {}, + "release_month": 8 + }, "refs": [], - "abstracts": [] + "release_date": "2017-08-24", + "release_stage": "published", + "release_type": "stub", + "release_year": 2017, + "subtitle": "DEF", + "title": "Additional file 123: ABC" } -- cgit v1.2.3