diff options
author | bnewbold <bnewbold@archive.org> | 2020-04-24 00:07:45 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2020-04-24 00:07:45 +0000 |
commit | 661579dfc7025a9443bc41fd8f344096119cdfd3 (patch) | |
tree | 866ef4e21dc03b524b7db497eae1b31bbd099c42 /python/tests/files | |
parent | 5576efabea5c3e5db1a8b57aef3dc4b4006dd46c (diff) | |
parent | e0baeade7924019c5bbd27d9a7c116a1e26854fc (diff) | |
download | fatcat-661579dfc7025a9443bc41fd8f344096119cdfd3.tar.gz fatcat-661579dfc7025a9443bc41fd8f344096119cdfd3.zip |
Merge branch 'martin-datacite-fix-parse-record-int' into 'master'
datacite: fix type error
See merge request webgroup/fatcat!48
Diffstat (limited to 'python/tests/files')
-rw-r--r-- | python/tests/files/datacite/datacite_doc_32.json | 53 | ||||
-rw-r--r-- | python/tests/files/datacite/datacite_result_32.json | 23 |
2 files changed, 76 insertions, 0 deletions
diff --git a/python/tests/files/datacite/datacite_doc_32.json b/python/tests/files/datacite/datacite_doc_32.json new file mode 100644 index 00000000..7ea7e873 --- /dev/null +++ b/python/tests/files/datacite/datacite_doc_32.json @@ -0,0 +1,53 @@ +{ + "id": "10.17912/micropub.biology.000143", + "type": "dois", + "attributes": { + "doi": "10.17912/micropub.biology.000143", + "identifiers": null, + "creators": [ + { + "raw_name": " ", + "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" + }, + "relationships": { + "client": { + "data": { + "id": "caltech.micropub", + "type": "clients" + } + } + } +} diff --git a/python/tests/files/datacite/datacite_result_32.json b/python/tests/files/datacite/datacite_result_32.json new file mode 100644 index 00000000..1a84a043 --- /dev/null +++ b/python/tests/files/datacite/datacite_result_32.json @@ -0,0 +1,23 @@ +{ + "abstracts": [ + { + "content": "1234567890", + "mimetype": "text/plain" + } + ], + "contribs": [], + "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" +} |