Closed yarikoptic closed 1 year ago
I'm not completely sure right now, but I believe I was using this document (or similar) when working on it, and there is no Funder
in contributorType
(see p.20)
i think we should use dcite:Funder/Sponsor
both for it. the delineation is fuzzy in my mind, and i think it's fuzzy in people's mind too given the breakdown.
we should also check the dandi-archive web script to see what components make it to the funding section.
ok, I can change it.
Just want to point, that datacite
has also FundingReference
, see p.32
FundingReference
is the object we are creating in the to_datacite
function, no?
yes you're right, we building this from dcite:Sponsor
contributors here
could you remind me how this list was created?
Can we actually use dcite:Funder
(and many others) if they are not on the official datacite list?
anything that starts with dcite:
exists in datacite. the remaining roles are from credit
, but should be irrelevant to datacite metadata.
but I don't see them in their document.. at least in v4.4...
they deprecated contributor type funder in version 3.x because they added funding reference explicitly. i think this tells us that we should be paying closer attention to their schema.
https://schema.datacite.org/meta/kernel-4.4/doc/DataCite-MetadataKernel_v4.4.pdf#page=40 (around here, search for deprecation)
i think it still makes sense to use our role based model for funding.
@satra - it is actually not only about Funder
, there are more items that are present in the model in the RoleType
that are not in DataCite anymore, so they are also not in the DATACITE_CONTRTYPE
list that I created based on it and that is used in datacite
.
Should I completely changed DATACITE_CONTRTYPE
to match the list from the model?
sorry, i just checked the context file, dcite is a dandi specific iri prefix. it merged datacite and credit roles. so your types are based on datacite in that file, while dandi's is broader. i think that is ok.
oh, ok, I thought that it's DataCite
...
but I'm still not completely convinced that this is ok, that I'm ignoring roles that are not from DataCite
for contributors
if they exist in the model.
Coming back to the example with Funder
, I could add it to fundingReferences
, i.e. here, but later it will not be added to contributorType
(while Sponsor
will be)
but later it will not be added to contributorType (while Sponsor will be)
i think that's ok since Funder is not a contributorType role in datacite.
I was actually wrong I think we decided that once the Sponsor
is added to the fundingReferences
it is removed from the roles
Similarly as it's done for Author
FWIW here is the code which presumably controls the logic for "If funderIdentifier is used, funderIdentifierType is mandatory" described in docs (as fixed recently in docs https://github.com/datacite/schema-docs/commit/fbe12e97e4a6eb267cb6e27b49fc694b79088013#diff-2aeda6925c9fa93b827818f675b0736cc94ae31bd230c860f9e498c7db5c0821R49: https://github.com/datacite/schema/blob/HEAD/spec/kernel-4.4/funding_reference_spec.rb#L68
While digging around #166 I saw that we do "treat"
Sponsor
as information about funding, and actually entirely omitFunder
s https://github.com/dandi/dandi-schema/blob/master/dandischema/datacite.py#L113 although we have more of thoseand which might explain (partially) why we have not encountered #166 before.
@satra @djarecka ideas?