aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/release/7j2dsplr45bhvdtrhqa7hykwka31
-rw-r--r--tests/data/release/pxzy4k45xjhgfgw6znf5xjayfa44
-rw-r--r--tests/data/release/ud3tzdfacncvnkj232lkvvg34q61
-rw-r--r--tests/data/verify.csv9
4 files changed, 142 insertions, 3 deletions
diff --git a/tests/data/release/7j2dsplr45bhvdtrhqa7hykwka b/tests/data/release/7j2dsplr45bhvdtrhqa7hykwka
new file mode 100644
index 0000000..d2422bf
--- /dev/null
+++ b/tests/data/release/7j2dsplr45bhvdtrhqa7hykwka
@@ -0,0 +1,31 @@
+{
+ "abstracts": [],
+ "contribs": [
+ {
+ "given_name": "Yozo Hamano",
+ "index": 0,
+ "raw_name": "Yozo Hamano Arata Yoshihara",
+ "role": "author",
+ "surname": "Arata Yoshihara"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.7288/v4/magic/12052"
+ },
+ "extra": {
+ "datacite": {
+ "metadataVersion": 2,
+ "resourceTypeGeneral": "Other"
+ }
+ },
+ "ident": "7j2dsplr45bhvdtrhqa7hykwka",
+ "publisher": "Magnetics Information Consortium (MagIC)",
+ "refs": [],
+ "release_stage": "published",
+ "release_type": "article",
+ "release_year": 2004,
+ "revision": "0f0cd5dd-918d-42de-a5e7-7ec8d6afbeb0",
+ "state": "active",
+ "title": "Paleomagnetic constraints on the Archean geomagnetic field intensity obtained from komatiites of the Barberton and Belingwe greenstone belts, South Africa and Zimbabwe",
+ "work_id": "at3sjd6qwvathml5mej65pfhaq"
+}
diff --git a/tests/data/release/pxzy4k45xjhgfgw6znf5xjayfa b/tests/data/release/pxzy4k45xjhgfgw6znf5xjayfa
new file mode 100644
index 0000000..21d6959
--- /dev/null
+++ b/tests/data/release/pxzy4k45xjhgfgw6znf5xjayfa
@@ -0,0 +1,44 @@
+{
+ "abstracts": [],
+ "container_id": "zh3l2vm63nc2hf7cfortftja5a",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "Arata Yoshihara",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Yozo Hamano",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1016/j.precamres.2004.01.003"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "S0301926804000257"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "pxzy4k45xjhgfgw6znf5xjayfa",
+ "issue": "1-2",
+ "language": "en",
+ "pages": "111-142",
+ "publisher": "Elsevier BV",
+ "refs": [],
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2004,
+ "revision": "7c7f43bc-fca2-4fb9-b0d6-4368ba18ce57",
+ "state": "active",
+ "title": "Paleomagnetic constraints on the Archean geomagnetic field intensity obtained from komatiites of the Barberton and Belingwe greenstone belts, South Africa and Zimbabwe",
+ "volume": "131",
+ "work_id": "k6zqxcn3lbbbdktalmdb3xsl2i"
+}
diff --git a/tests/data/release/ud3tzdfacncvnkj232lkvvg34q b/tests/data/release/ud3tzdfacncvnkj232lkvvg34q
new file mode 100644
index 0000000..64ee177
--- /dev/null
+++ b/tests/data/release/ud3tzdfacncvnkj232lkvvg34q
@@ -0,0 +1,61 @@
+{
+ "abstracts": [],
+ "contribs": [
+ {
+ "given_name": "Arata",
+ "index": 0,
+ "raw_name": "Arata Yoshihara",
+ "role": "author",
+ "surname": "Yoshihara"
+ },
+ {
+ "index": 1,
+ "raw_name": "Yozo Hamano",
+ "role": "author"
+ },
+ {
+ "extra": {
+ "type": "Distributor"
+ },
+ "raw_name": "Magnetics Information Consortium (MagIC)"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.7288/v4/magic/12052"
+ },
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "rightsUri": "http://creativecommons.org/publicdomain/zero/1.0"
+ }
+ ],
+ "metadataVersion": 3,
+ "resourceTypeGeneral": "Dataset",
+ "subjects": [
+ {
+ "subject": "Intrusive",
+ "subjectScheme": "earthref.magic.geologic_classes"
+ },
+ {
+ "subject": "komatiites",
+ "subjectScheme": "earthref.magic.lithologies"
+ }
+ ]
+ },
+ "release_month": 12
+ },
+ "ident": "ud3tzdfacncvnkj232lkvvg34q",
+ "license_slug": "CC-0",
+ "publisher": "Precambrian Research",
+ "refs": [],
+ "release_date": "2006-12-22",
+ "release_stage": "published",
+ "release_type": "dataset",
+ "release_year": 2006,
+ "revision": "ced0e935-ec8c-457e-bde8-6082bae1c192",
+ "state": "active",
+ "title": "Paleomagnetic constraints on the Archean geomagnetic field intensity obtained from komatiites of the Barberton and Belingwe greenstone belts, South Africa and Zimbabwe (Dataset)",
+ "version": "2",
+ "work_id": "abs6cz427ncnhhbwpxjavdzxlu"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index 12573f4..594e7e4 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -36,7 +36,7 @@ mkqmxbrhozhxphemdgshl57m3u,ahlp3vywzzb5fh5tbjskaym3ri,Status.DIFFERENT,Miss.CONT
2hquztvjlrai3frazkmb6icgzy,ygkmoig5fjhtbg3rcobuy67pnu,Status.AMBIGUOUS,Miss.SHORT_TITLE
uzrpjthgpbb2hhacohndcgj3qm,gxbp2vmubnhgrhfobb7wceujvm,Status.STRONG,OK.ARXIV_VERSION
fmeud4dykjfudb5kjr2fgmaneq,iid2bnrjjbegtpgmpuppjou4k4,Status.DIFFERENT,Miss.SUBTITLE
-zmivcpjvhba25ldkx27d24oefa,mjapiqe2nzcy3fs3hriw253dye,Status.EXACT,OK.TITLE_AUTHOR_MATCH
+zmivcpjvhba25ldkx27d24oefa,mjapiqe2nzcy3fs3hriw253dye,Status.EXACT,OK.FIGSHARE_VERSION
lynlkp7wh5hn3mlpzcfz4faoqi,yrbvjd4xrjaq3jxt7pkheysclm,Status.DIFFERENT,Miss.YEAR
t3vpox5wrvbgtcigp6a6o64oey,q5yaj5zbzjctzapb5bztzctsoe,Status.DIFFERENT,Miss.YEAR
65qtai5dmjb2hmkwa73nwafyhu,p4lk4tbohjat3g5nn5pb3kjdyu,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
@@ -55,7 +55,7 @@ wif435fwunfpfd46vvxo3at5ya,fy3j2l4s55b7ffltpiaic2jj7i,Status.DIFFERENT,Miss.YEAR
huophilkpbh2ddemt7okzzkuyq,crle5axqrfhfdob464wlwhfrf4,Status.AMBIGUOUS,Miss.SHORT_TITLE
dcq2jgd5abbjflzun4n3v6gjh4,ptovjgczrvft5fq2plyldafniq,Status.DIFFERENT,Miss.YEAR
7ah6efvk2ncjzgywch2cmtfumq,nj7v4e3cxbfybozjmdiuwqo4sm,Status.DIFFERENT,Miss.RELEASE_TYPE
-eu4xst6zx5atfj37mvwdm54opq,7b7vnb7bc5g5va4yk72ruajok4,Status.EXACT,OK.TITLE_AUTHOR_MATCH
+eu4xst6zx5atfj37mvwdm54opq,7b7vnb7bc5g5va4yk72ruajok4,Status.EXACT,OK.FIGSHARE_VERSION
6ovhnujfsff2nhnoeimjcckgta,qeujgsfrmvft7k7r474maekvua,Status.DIFFERENT,Miss.DATASET_DOI
muk4xhjhubc3xn6qqddllgfsly,2gywie7yqfflnl6tljfo36keqi,Status.STRONG,OK.ARXIV_VERSION
iywyis7npngxxbco6fgjrclrzy,anhsfjxg3few5nkfsvheehiebq,Status.DIFFERENT,Miss.BOOK_CHAPTER
@@ -63,7 +63,7 @@ rk7mn5uaqjaslgcxc2nl6ijpaq,td3rnxzbxzeslj6ijoce3mtxcq,Status.STRONG,OK.ARXIV_VER
ohkfrjjcxfcavoqoqt52wi6eke,egufgu3yubgthex3y7fdt7uupa,Status.DIFFERENT,Miss.DATASET_DOI
dklwsz4w3rdlfddif4pcxb6ngm,wsbinmv7lragjnaedbgws6bztm,Status.DIFFERENT,OK.DUMMY
jizydliu2vclvpdtcrajlvuq2m,3g6mdd3tvjabdaez6mwcycso3q,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
-fvrscdvsznb4zlhuadd6ar7ot4,57la45yryjd73gav22bnl4lyni,Status.EXACT,OK.TITLE_AUTHOR_MATCH
+fvrscdvsznb4zlhuadd6ar7ot4,57la45yryjd73gav22bnl4lyni,Status.EXACT,OK.FIGSHARE_VERSION
6fedywjyynbxhdqv3etxjuqhba,gls2x7ca4nhzrkf437gdnj6ekq,Status.DIFFERENT,Miss.YEAR
7lepq6lyyfepdjat6ohpeqycdu,cfm6qhhxovferl2fahf6jmcsiu,Status.DIFFERENT,Miss.YEAR
ijbm7t2mpjcrrjazrmeli6b42a,7ijg4ar62rgo3olfbxltltrzc4,Status.EXACT,OK.TITLE_AUTHOR_MATCH
@@ -91,3 +91,6 @@ ocbjm53gxvavrhyupfqlynlq44,twzjy7m5irdu5gjkvrsp65hefa,,
olhia3lm2jfsrg3jkisjjnowsu,twzjy7m5irdu5gjkvrsp65hefa,,
q5qkykfazfbahbson4uiopnq4q,s4rrmyvibvdatgj7hiduekcjhe,,
fuaz2iolhjegfpdmob3i3efvgm,uxzn4nznrfbttivwzdc7noptku,Status.EXACT,OK.TITLE_AUTHOR_MATCH
+7j2dsplr45bhvdtrhqa7hykwka,pxzy4k45xjhgfgw6znf5xjayfa,,
+7j2dsplr45bhvdtrhqa7hykwka,ud3tzdfacncvnkj232lkvvg34q,Status.EXACT,OK.DOI
+pxzy4k45xjhgfgw6znf5xjayfa,ud3tzdfacncvnkj232lkvvg34q,,