From 128c143394e4e63425e3eec73fd148e85f750d88 Mon Sep 17 00:00:00 2001 From: Miriam Baglioni Date: Wed, 5 Jun 2024 16:17:59 +0200 Subject: [PATCH] {downloadsAndViews] extended test file with measures for downloads and views --- .../dnetlib/dhp/oa/provision/publication.json | 71 +++++++++++++------ 1 file changed, 50 insertions(+), 21 deletions(-) diff --git a/dhp-workflows/dhp-graph-provision/src/test/resources/eu/dnetlib/dhp/oa/provision/publication.json b/dhp-workflows/dhp-graph-provision/src/test/resources/eu/dnetlib/dhp/oa/provision/publication.json index d25c990a1..3d0c2b6ca 100644 --- a/dhp-workflows/dhp-graph-provision/src/test/resources/eu/dnetlib/dhp/oa/provision/publication.json +++ b/dhp-workflows/dhp-graph-provision/src/test/resources/eu/dnetlib/dhp/oa/provision/publication.json @@ -8,6 +8,26 @@ } ], "measures": [ + { + "id": "downloads", + "unit": [ + { + "key": "fakeds", + "value": "10", + "dataInfo": null + } + ] + }, + { + "id": "views", + "unit": [ + { + "key": "fakeds", + "value": "10", + "dataInfo": null + } + ] + }, { "id": "influence", "unit": [ @@ -505,13 +525,13 @@ "extraInfo": [], "format": [], "fulltext": [ - { "value" : "https://osf.io/preprints/socarxiv/7vgtu/download" }, - { "value" : "https://osf.io/preprints/socarxiv/7vgtu/download2" } + {"value": "https://osf.io/preprints/socarxiv/7vgtu/download"}, + {"value": "https://osf.io/preprints/socarxiv/7vgtu/download2"} ], "id": "50|CSC_________::0000ec4dd9df012feaafa77e71a0fb4c", "instance": [ { - "fulltext" : "https://osf.io/preprints/socarxiv/7vgtu/download", + "fulltext": "https://osf.io/preprints/socarxiv/7vgtu/download", "measures": [ { "id": "influence", @@ -539,6 +559,24 @@ "value": "4.62970429725e-08" } ] + }, + { + "id": "downloads", + "unit": [ + { + "key": "fakeds", + "value": "10" + } + ] + }, + { + "id": "views", + "unit": [ + { + "key": "fakeds", + "value": "10" + } + ] } ], "pid": [ @@ -674,9 +712,7 @@ }, "value": "" }, - "url": [ - "http://dx.doi.org/10.1109/TED.2018.2853550" - ] + "url": ["http://dx.doi.org/10.1109/TED.2018.2853550"] }, { "pid": [ @@ -812,9 +848,7 @@ }, "value": "CC-BY" }, - "url": [ - "http://dx.doi.org/10.1109/TED.2018.2853550" - ] + "url": ["http://dx.doi.org/10.1109/TED.2018.2853550"] }, { "pid": [ @@ -950,9 +984,7 @@ }, "value": "" }, - "url": [ - "http://dx.doi.org/10.1109/TED.2018.2853551" - ] + "url": ["http://dx.doi.org/10.1109/TED.2018.2853551"] }, { "pid": [ @@ -1221,8 +1253,7 @@ }, "value": "" }, - "url": [ - ] + "url": [] }, { "pid": [ @@ -1352,9 +1383,7 @@ }, "value": "" }, - "url": [ - "" - ] + "url": [""] }, { "pid": [ @@ -1484,9 +1513,7 @@ }, "value": "" }, - "url": [ - "asdasd://not a URL" - ] + "url": ["asdasd://not a URL"] } ], "journal": { @@ -1580,7 +1607,9 @@ "schemeid": "dnet:result_typologies", "schemename": "dnet:result_typologies" }, - "source": [ { "value" : "Bulletin of the National Technical University \"KhPI\" A series of \"Information and Modeling\"; № 1 (3) (2020):" } ], + "source": [ + {"value": "Bulletin of the National Technical University \"KhPI\" A series of \"Information and Modeling\"; № 1 (3) (2020):"} + ], "subject": [ { "dataInfo": {