File "/lib/python3.14/site-packages/pygeometa/schemas/openaire/__init__.py", line 169, in import_
right_ = metadata_.get('bestAccessRight', {}).get('label')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
{"authors": [{"fullName": "Bakema, G.", "name": "G.", "surname": "Bakema", "rank": 1, "pid": null}, {"fullName": "van Balen, D.J.M.", "name": "D. J. M.", "surname": "Balen", "rank": 2, "pid": null}], "openAccessColor": null, "publiclyFunded": null, "type": "other", "language": {"code": "eng", "label": "English"}, "countries": null, "subjects": null, "mainTitle": "Preventie en herstel van bodemverdichting : Aanbevelingen voor ondersteunend beleid", "subTitle": null, "descriptions": null, "publicationDate": null, "publisher": null, "embargoEndDate": null, "sources": ["Wageningen University & Research -"], "formats": null, "contributors": null, "coverages": null, "bestAccessRight": null, "container": null, "documentationUrls": null, "codeRepositoryUrl": null, "programmingLanguage": null, "contactPeople": null, "contactGroups": null, "tools": null, "size": null, "version": null, "geoLocations": null, "id": "sygma_______::d581ade7f24a71ea81bfab424701ab59", "originalIds": ["10.18174/673453", "50|sygma_______::d581ade7f24a71ea81bfab424701ab59"], "pids": null, "dateOfCollection": null, "lastUpdateTimeStamp": null, "indicators": {"citationImpact": {"citationCount": 0.0, "influence": 2.3811355e-09, "popularity": 1.9889004e-10, "impulse": 0.0, "citationClass": "C5", "influenceClass": "C5", "impulseClass": "C5", "popularityClass": "C5"}}, "projects": [{"id": "corda__h2020::f3d09ef95fcf5a35c0e90e6560b6b2e0", "code": "862695", "acronym": "EJP SOIL", "title": "Towards climate-smart sustainable management of agricultural soils", "funder": "European Commission", "pids": [{"scheme": "doi", "value": "10.3030/862695"}]}], "organizations": null, "communities": null, "collectedFrom": [{"key": "openaire____::a8db6f6b2ce4fe72e8b2314a9a93e7d9", "value": "Sygma"}], "instances": [{"alternateIdentifiers": [{"scheme": "doi", "value": "10.18174/673453"}], "type": "Other ORP type", "urls": ["http://dx.doi.org/10.18174/673453"], "refereed": "nonPeerReviewed", "hostedBy": {"key": "openaire____::55045bd2a65019fd8e6741a755395c8c", "value": "Unknown Repository"}, "collectedFrom": {"key": "openaire____::a8db6f6b2ce4fe72e8b2314a9a93e7d9", "value": "Sygma"}}], "isGreen": null, "isInDiamondJournal": null}
this metadata throws:
md
{"authors": [{"fullName": "Bakema, G.", "name": "G.", "surname": "Bakema", "rank": 1, "pid": null}, {"fullName": "van Balen, D.J.M.", "name": "D. J. M.", "surname": "Balen", "rank": 2, "pid": null}], "openAccessColor": null, "publiclyFunded": null, "type": "other", "language": {"code": "eng", "label": "English"}, "countries": null, "subjects": null, "mainTitle": "Preventie en herstel van bodemverdichting : Aanbevelingen voor ondersteunend beleid", "subTitle": null, "descriptions": null, "publicationDate": null, "publisher": null, "embargoEndDate": null, "sources": ["Wageningen University & Research -"], "formats": null, "contributors": null, "coverages": null, "bestAccessRight": null, "container": null, "documentationUrls": null, "codeRepositoryUrl": null, "programmingLanguage": null, "contactPeople": null, "contactGroups": null, "tools": null, "size": null, "version": null, "geoLocations": null, "id": "sygma_______::d581ade7f24a71ea81bfab424701ab59", "originalIds": ["10.18174/673453", "50|sygma_______::d581ade7f24a71ea81bfab424701ab59"], "pids": null, "dateOfCollection": null, "lastUpdateTimeStamp": null, "indicators": {"citationImpact": {"citationCount": 0.0, "influence": 2.3811355e-09, "popularity": 1.9889004e-10, "impulse": 0.0, "citationClass": "C5", "influenceClass": "C5", "impulseClass": "C5", "popularityClass": "C5"}}, "projects": [{"id": "corda__h2020::f3d09ef95fcf5a35c0e90e6560b6b2e0", "code": "862695", "acronym": "EJP SOIL", "title": "Towards climate-smart sustainable management of agricultural soils", "funder": "European Commission", "pids": [{"scheme": "doi", "value": "10.3030/862695"}]}], "organizations": null, "communities": null, "collectedFrom": [{"key": "openaire____::a8db6f6b2ce4fe72e8b2314a9a93e7d9", "value": "Sygma"}], "instances": [{"alternateIdentifiers": [{"scheme": "doi", "value": "10.18174/673453"}], "type": "Other ORP type", "urls": ["http://dx.doi.org/10.18174/673453"], "refereed": "nonPeerReviewed", "hostedBy": {"key": "openaire____::55045bd2a65019fd8e6741a755395c8c", "value": "Unknown Repository"}, "collectedFrom": {"key": "openaire____::a8db6f6b2ce4fe72e8b2314a9a93e7d9", "value": "Sygma"}}], "isGreen": null, "isInDiamondJournal": null}