From 4818d61445219db969c8f37322c41842d346b7d1 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 26 Jan 2021 23:58:21 +0100 Subject: add case --- tests/data/release/e5jgy6dncjftlpid6w5vj56t3m | 77 ++++++++++++++++++++++++++ tests/data/release/fqqzuchxtba5fayk6vlnoapz4a | 78 +++++++++++++++++++++++++++ tests/data/verify.csv | 1 + 3 files changed, 156 insertions(+) create mode 100644 tests/data/release/e5jgy6dncjftlpid6w5vj56t3m create mode 100644 tests/data/release/fqqzuchxtba5fayk6vlnoapz4a (limited to 'tests/data') diff --git a/tests/data/release/e5jgy6dncjftlpid6w5vj56t3m b/tests/data/release/e5jgy6dncjftlpid6w5vj56t3m new file mode 100644 index 0000000..e06c632 --- /dev/null +++ b/tests/data/release/e5jgy6dncjftlpid6w5vj56t3m @@ -0,0 +1,77 @@ +{ + "abstracts": [ + { + "content": "(Abstract to follow)", + "lang": "en", + "mimetype": "text/plain", + "sha1": "16611bfed624701c780130b6c5796260bc2b7c8f" + } + ], + "container_id": "h2s7lebe3jabxc26f4xp3wkhwa", + "contribs": [ + { + "given_name": "Georgios", + "index": 0, + "raw_name": "Georgios Diapoulis", + "role": "author", + "surname": "Diapoulis" + }, + { + "given_name": "Ioannis", + "index": 1, + "raw_name": "Ioannis Zannos", + "role": "author", + "surname": "Zannos" + } + ], + "ext_ids": { + "doi": "10.5281/zenodo.850575" + }, + "extra": { + "datacite": { + "license": [ + { + "rights": "Creative Commons Attribution 4.0", + "rightsUri": "https://creativecommons.org/licenses/by/4.0" + }, + { + "rights": "Open Access", + "rightsUri": "info:eu-repo/semantics/openAccess" + } + ], + "metadataVersion": 1, + "relations": [ + { + "relatedIdentifier": "2518-3672", + "relatedIdentifierType": "ISSN", + "relationType": "IsPartOf" + }, + { + "relatedIdentifier": "978-0-9845274-3-4", + "relatedIdentifierType": "ISBN", + "relationType": "IsPartOf" + }, + { + "relatedIdentifier": "10.5281/zenodo.850574", + "relatedIdentifierType": "DOI", + "relationType": "IsVersionOf" + } + ], + "resourceType": "Conference paper", + "resourceTypeGeneral": "Text" + }, + "release_month": 9 + }, + "ident": "e5jgy6dncjftlpid6w5vj56t3m", + "license_slug": "CC-BY", + "publisher": "Zenodo", + "refs": [], + "release_date": "2014-09-14", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2014, + "revision": "77a1ae3f-d91a-489e-8320-05f76bbcecce", + "state": "active", + "title": "Tangibility And Low-Level Live Coding", + "work_id": "lljomcklsrgk5psvc72gvnmatq" +} diff --git a/tests/data/release/fqqzuchxtba5fayk6vlnoapz4a b/tests/data/release/fqqzuchxtba5fayk6vlnoapz4a new file mode 100644 index 0000000..2b2fc92 --- /dev/null +++ b/tests/data/release/fqqzuchxtba5fayk6vlnoapz4a @@ -0,0 +1,78 @@ +{ + "abstracts": [ + { + "content": "(Abstract to follow)", + "lang": "en", + "mimetype": "text/plain", + "sha1": "16611bfed624701c780130b6c5796260bc2b7c8f" + } + ], + "container_id": "h2s7lebe3jabxc26f4xp3wkhwa", + "contribs": [ + { + "given_name": "Georgios", + "index": 0, + "raw_name": "Georgios Diapoulis", + "role": "author", + "surname": "Diapoulis" + }, + { + "given_name": "Ioannis", + "index": 1, + "raw_name": "Ioannis Zannos", + "role": "author", + "surname": "Zannos" + } + ], + "ext_ids": { + "core": "144681520", + "doi": "10.5281/zenodo.850574" + }, + "extra": { + "datacite": { + "license": [ + { + "rights": "Creative Commons Attribution 4.0", + "rightsUri": "https://creativecommons.org/licenses/by/4.0" + }, + { + "rights": "Open Access", + "rightsUri": "info:eu-repo/semantics/openAccess" + } + ], + "metadataVersion": 1, + "relations": [ + { + "relatedIdentifier": "2518-3672", + "relatedIdentifierType": "ISSN", + "relationType": "IsPartOf" + }, + { + "relatedIdentifier": "978-0-9845274-3-4", + "relatedIdentifierType": "ISBN", + "relationType": "IsPartOf" + }, + { + "relatedIdentifier": "10.5281/zenodo.850575", + "relatedIdentifierType": "DOI", + "relationType": "HasVersion" + } + ], + "resourceType": "Conference paper", + "resourceTypeGeneral": "Text" + }, + "release_month": 9 + }, + "ident": "fqqzuchxtba5fayk6vlnoapz4a", + "license_slug": "CC-BY", + "publisher": "Zenodo", + "refs": [], + "release_date": "2014-09-14", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2014, + "revision": "e94b181a-2495-422a-8c48-0c270739dc0e", + "state": "active", + "title": "Tangibility And Low-Level Live Coding", + "work_id": "mcqrf75y4vg4bnd7mefliml2ae" +} diff --git a/tests/data/verify.csv b/tests/data/verify.csv index 09ec285..3526ecd 100644 --- a/tests/data/verify.csv +++ b/tests/data/verify.csv @@ -252,3 +252,4 @@ bhrbuu3sijgtpbu4nsquk3ykba,vfdeyz6khrflxivy5n2byocmjy,, ixktsx5gmnbonl5zxubhxhfgya,q5yheygzs5fxnahqihwejepn6u,Status.STRONG,SLUG_TITLE_AUTHOR_MATCH n3ijnxlzzbf3tgz44ic2llutja,fy4tfzhcjnh7rj2r4v2mnyslne,Status.AMBIGUOUS,UNKNOWN kqxf5nychfcwnpdhi5djyza5ai,wwlxihtcv5a6je6yyfdq4mpk6y,, +e5jgy6dncjftlpid6w5vj56t3m,fqqzuchxtba5fayk6vlnoapz4a,Status.STRONG,DATACITE_RELATED_ID -- cgit v1.2.3