diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-07-10 00:50:34 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-07-10 00:50:34 +0200 |
commit | 40f77b78aa331ca67b510dfece77e6a6000f8c2f (patch) | |
tree | 46d7211b541d4615434fcfb1a1d30f273e6e59f0 /python/tests/files | |
parent | fcc6f24a95a7b77bda4ec813daecc2b737a82412 (diff) | |
download | fatcat-40f77b78aa331ca67b510dfece77e6a6000f8c2f.tar.gz fatcat-40f77b78aa331ca67b510dfece77e6a6000f8c2f.zip |
wip: contrib, GH59
Diffstat (limited to 'python/tests/files')
5 files changed, 105 insertions, 3 deletions
diff --git a/python/tests/files/datacite/datacite_doc_34.json b/python/tests/files/datacite/datacite_doc_34.json new file mode 100644 index 00000000..5dcf65f4 --- /dev/null +++ b/python/tests/files/datacite/datacite_doc_34.json @@ -0,0 +1,61 @@ +{ + "id": "10.17912/micropub.biology.000143", + "type": "dois", + "attributes": { + "doi": "10.17912/micropub.biology.000143", + "identifiers": null, + "creators": [ + { + "name": "Paul Katz", + "givenName": "", + "familyName": "", + "affiliation": [], + "role": "author" + } + ], + "titles": [ + { + "title": "Sample" + } + ], + "publisher": "microPublication Biology", + "publicationYear": 2019, + "types": { + "resourceTypeGeneral": "DataPaper" + }, + "relatedIdentifiers": [], + "sizes": [], + "formats": [], + "version": null, + "rightsList": [], + "descriptions": [ + { + "description": 1234567890, + "descriptionType": "Abstract" + } + ], + "geoLocations": [], + "fundingReferences": [], + "url": "https://www.micropublication.org/journals/biology/micropub.biology.000143", + "created": "2019-08-19T14:43:08.000Z", + "registered": "2019-08-19T14:43:09.000Z", + "published": "2019", + "updated": "2019-11-09T12:32:02.000Z", + "contributors": [ + { + "name": "Paul Katz", + "givenName": "", + "familyName": "", + "affiliation": [], + "role": "illustrator" + } ] + }, + "relationships": { + "client": { + "data": { + "id": "caltech.micropub", + "type": "clients" + } + } + } +} diff --git a/python/tests/files/datacite/datacite_result_05.json b/python/tests/files/datacite/datacite_result_05.json index d634490d..c91f3a7f 100644 --- a/python/tests/files/datacite/datacite_result_05.json +++ b/python/tests/files/datacite/datacite_result_05.json @@ -505,7 +505,8 @@ "surname": "Wurzbacher" }, { - "raw_name": "NHM UT-University Of Tartu; Natural History Museum And Botanic Garden" + "raw_name": "NHM UT-University Of Tartu; Natural History Museum And Botanic Garden", + "role": "author" } ], "ext_ids": { diff --git a/python/tests/files/datacite/datacite_result_09.json b/python/tests/files/datacite/datacite_result_09.json index 09e02fc7..f6ec524a 100644 --- a/python/tests/files/datacite/datacite_result_09.json +++ b/python/tests/files/datacite/datacite_result_09.json @@ -17,7 +17,8 @@ "extra": { "type": "DataManager" }, - "raw_name": "Technische Informationsbibliothek (TIB)" + "raw_name": "Technische Informationsbibliothek (TIB)", + "role": "author" } ], "ext_ids": { diff --git a/python/tests/files/datacite/datacite_result_26.json b/python/tests/files/datacite/datacite_result_26.json index 267eb9c2..f6e589ef 100644 --- a/python/tests/files/datacite/datacite_result_26.json +++ b/python/tests/files/datacite/datacite_result_26.json @@ -13,7 +13,8 @@ }, "given_name": "David", "raw_name": "David Wemmer", - "surname": "Wemmer" + "surname": "Wemmer", + "role": "author" } ], "ext_ids": { diff --git a/python/tests/files/datacite/datacite_result_34.json b/python/tests/files/datacite/datacite_result_34.json new file mode 100644 index 00000000..8e087ab5 --- /dev/null +++ b/python/tests/files/datacite/datacite_result_34.json @@ -0,0 +1,38 @@ +{ + "abstracts": [ + { + "content": "1234567890", + "mimetype": "text/plain" + } + ], + "contribs": [ + { + "given_name": "", + "surname": "", + "index": 0, + "raw_name": "Paul Katz", + "role": "author" + }, + { + "given_name": "", + "surname": "", + "index": 0, + "raw_name": "Paul Katz", + "role": "illustrator" + } + ], + "ext_ids": { + "doi": "10.17912/micropub.biology.000143" + }, + "extra": { + "datacite": { + "resourceTypeGeneral": "DataPaper" + }, + "container_name": "microPublication Biology" + }, + "refs": [], + "release_stage": "published", + "release_year": 2019, + "publisher": "microPublication Biology", + "title": "Sample" +} |