@pytest.fixture
def dataset_with_project_json(dataset_a_json, entity_json):
dataset_a_json["projects"] = [
{
"id": "ac661477-8ff2-45a5-8e65-57578f20201e",
"title": {"en": "project", "fi": "projekti"},
"project_identifier": "project_identifier",
"participating_organizations": [
{
"url": "http://uri.suomi.fi/codelist/fairdata/organization/code/10076",
}
],
"funding": [
{
"funder": {
"funder_type": {
"url": "http://uri.suomi.fi/codelist/fairdata/funder_type/code/other-public",
},
"organization": {
"url": "http://uri.suomi.fi/codelist/fairdata/organization/code/10076"
},
},
"funding_identifier": "funding identifier",
}
],
}
]
return dataset_a_json