diff --git a/thothlibrary/thoth-0_9_0/fixtures/QUERIES b/thothlibrary/thoth-0_9_0/fixtures/QUERIES index 988873e..99bf0b5 100644 --- a/thothlibrary/thoth-0_9_0/fixtures/QUERIES +++ b/thothlibrary/thoth-0_9_0/fixtures/QUERIES @@ -93,6 +93,7 @@ "institutionName", "institutionDoi", "fundings { grantNumber program projectName projectShortname jurisdiction institutionId work { workId fullTitle doi publicationDate place contributions { fullName contributionType mainContribution contributionOrdinal } imprint { publisher { publisherName publisherId } } } }", + "affiliations { affiliationOrdinal position contribution { fullName contributionType mainContribution contributionOrdinal } }", "__typename" ], "parameters": [ diff --git a/thothlibrary/thoth-0_9_0/tests/fixtures/institution.json b/thothlibrary/thoth-0_9_0/tests/fixtures/institution.json index 618c669..2c2981b 100644 --- a/thothlibrary/thoth-0_9_0/tests/fixtures/institution.json +++ b/thothlibrary/thoth-0_9_0/tests/fixtures/institution.json @@ -1 +1 @@ -{"data":{"institution":{"institutionId":"194614ac-d189-4a74-8bf4-74c0c9de4a81","institutionName":"The Danish Independent Research Council","institutionDoi":null,"fundings":[{"grantNumber":"0602-02551B","program":"FSE","projectName":"Marine Renewable Energy as Alien","projectShortname":"Alien Energy","jurisdiction":"DK","institutionId":"194614ac-d189-4a74-8bf4-74c0c9de4a81","work":{"workId":"95e15115-4009-4cb0-8824-011038e3c116","fullTitle":"Energy Worlds: In Experiment","doi":"https://doi.org/10.28938/9781912729098","publicationDate":"2021-05-01","place":"Manchester, UK","contributions":[{"fullName":"Brit Ross Winthereik","contributionType":"AUTHOR","mainContribution":true,"contributionOrdinal":3},{"fullName":"James Maguire","contributionType":"EDITOR","mainContribution":true,"contributionOrdinal":1},{"fullName":"Laura Watts","contributionType":"EDITOR","mainContribution":true,"contributionOrdinal":2}],"imprint":{"publisher":{"publisherName":"Mattering Press","publisherId":"17d701c1-307e-4228-83ca-d8e90d7b87a6"}}}}],"__typename":"Institution"}}} +{"data":{"institution":{"__typename":"Institution","institutionId":"194614ac-d189-4a74-8bf4-74c0c9de4a81","institutionName":"The Danish Independent Research Council","institutionDoi":null,"fundings":[{"grantNumber":"0602-02551B","program":"FSE","projectName":"Marine Renewable Energy as Alien","projectShortname":"Alien Energy","jurisdiction":"DK","institutionId":"194614ac-d189-4a74-8bf4-74c0c9de4a81","work":{"workId":"95e15115-4009-4cb0-8824-011038e3c116","fullTitle":"Energy Worlds: In Experiment","doi":"https://doi.org/10.28938/9781912729098","publicationDate":"2021-05-01","place":"Manchester, UK","contributions":[{"fullName":"Dominic Boyer","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":20},{"fullName":"Mónica Amador-Jiménez","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":13},{"fullName":"Noortje Marres","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":14},{"fullName":"Cymene Howe","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":15},{"fullName":"Jamie Cross","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":18},{"fullName":"Simone Almond Abram","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":19},{"fullName":"Ann-Sofie Kall","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":4},{"fullName":"Rebecca Ford","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":5},{"fullName":"Lea Schick","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":6},{"fullName":"Endre Dányi","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":7},{"fullName":"Michaela Spencer","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":8},{"fullName":"Hannah Knox","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":9},{"fullName":"Andrea Ballestero","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":10},{"fullName":"Stefan Helmreich","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":11},{"fullName":"Damian O’Doherty","contributionType":"AUTHOR","mainContribution":false,"contributionOrdinal":12},{"fullName":"Laura Watts","contributionType":"EDITOR","mainContribution":true,"contributionOrdinal":2},{"fullName":"Brit Ross Winthereik","contributionType":"EDITOR","mainContribution":true,"contributionOrdinal":3},{"fullName":"James Maguire","contributionType":"EDITOR","mainContribution":true,"contributionOrdinal":1},{"fullName":"Neil Ford","contributionType":"ILLUSTRATOR","mainContribution":false,"contributionOrdinal":16},{"fullName":"Rob Jones","contributionType":"CONTRIBUTIONS_BY","mainContribution":false,"contributionOrdinal":17}],"imprint":{"publisher":{"publisherName":"Mattering Press","publisherId":"17d701c1-307e-4228-83ca-d8e90d7b87a6"}}}}],"affiliations":[]}}} diff --git a/thothlibrary/thoth-0_9_0/tests/fixtures/institution.pickle b/thothlibrary/thoth-0_9_0/tests/fixtures/institution.pickle index 6280e1f..353b3e6 100644 --- a/thothlibrary/thoth-0_9_0/tests/fixtures/institution.pickle +++ b/thothlibrary/thoth-0_9_0/tests/fixtures/institution.pickle @@ -1 +1 @@ -{"institutionId": "194614ac-d189-4a74-8bf4-74c0c9de4a81", "institutionName": "The Danish Independent Research Council", "institutionDoi": null, "fundings": [{"grantNumber": "0602-02551B", "program": "FSE", "projectName": "Marine Renewable Energy as Alien", "projectShortname": "Alien Energy", "jurisdiction": "DK", "institutionId": "194614ac-d189-4a74-8bf4-74c0c9de4a81", "work": {"workId": "95e15115-4009-4cb0-8824-011038e3c116", "fullTitle": "Energy Worlds: In Experiment", "doi": "https://doi.org/10.28938/9781912729098", "publicationDate": "2021-05-01", "place": "Manchester, UK", "contributions": [{"fullName": "Brit Ross Winthereik", "contributionType": "AUTHOR", "mainContribution": true, "contributionOrdinal": 3}, {"fullName": "James Maguire", "contributionType": "EDITOR", "mainContribution": true, "contributionOrdinal": 1}, {"fullName": "Laura Watts", "contributionType": "EDITOR", "mainContribution": true, "contributionOrdinal": 2}], "imprint": {"publisher": {"publisherName": "Mattering Press", "publisherId": "17d701c1-307e-4228-83ca-d8e90d7b87a6"}}}}], "__typename": "Institution"} +{"__typename": "Institution", "institutionId": "194614ac-d189-4a74-8bf4-74c0c9de4a81", "institutionName": "The Danish Independent Research Council", "institutionDoi": null, "fundings": [{"grantNumber": "0602-02551B", "program": "FSE", "projectName": "Marine Renewable Energy as Alien", "projectShortname": "Alien Energy", "jurisdiction": "DK", "institutionId": "194614ac-d189-4a74-8bf4-74c0c9de4a81", "work": {"workId": "95e15115-4009-4cb0-8824-011038e3c116", "fullTitle": "Energy Worlds: In Experiment", "doi": "https://doi.org/10.28938/9781912729098", "publicationDate": "2021-05-01", "place": "Manchester, UK", "contributions": [{"fullName": "Dominic Boyer", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 20}, {"fullName": "M\u00f3nica Amador-Jim\u00e9nez", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 13}, {"fullName": "Noortje Marres", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 14}, {"fullName": "Cymene Howe", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 15}, {"fullName": "Jamie Cross", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 18}, {"fullName": "Simone Almond Abram", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 19}, {"fullName": "Ann-Sofie Kall", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 4}, {"fullName": "Rebecca Ford", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 5}, {"fullName": "Lea Schick", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 6}, {"fullName": "Endre D\u00e1nyi", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 7}, {"fullName": "Michaela Spencer", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 8}, {"fullName": "Hannah Knox", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 9}, {"fullName": "Andrea Ballestero", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 10}, {"fullName": "Stefan Helmreich", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 11}, {"fullName": "Damian O\u2019Doherty", "contributionType": "AUTHOR", "mainContribution": false, "contributionOrdinal": 12}, {"fullName": "Laura Watts", "contributionType": "EDITOR", "mainContribution": true, "contributionOrdinal": 2}, {"fullName": "Brit Ross Winthereik", "contributionType": "EDITOR", "mainContribution": true, "contributionOrdinal": 3}, {"fullName": "James Maguire", "contributionType": "EDITOR", "mainContribution": true, "contributionOrdinal": 1}, {"fullName": "Neil Ford", "contributionType": "ILLUSTRATOR", "mainContribution": false, "contributionOrdinal": 16}, {"fullName": "Rob Jones", "contributionType": "CONTRIBUTIONS_BY", "mainContribution": false, "contributionOrdinal": 17}], "imprint": {"publisher": {"publisherName": "Mattering Press", "publisherId": "17d701c1-307e-4228-83ca-d8e90d7b87a6"}}}}], "affiliations": []}