You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identifiers are not quite formalized and there is a number of issues that need to be addressed:
Add Identifiers front-end field to deposit page for creators/contributors
this includes figuring out how to pass potential schemes to the front-end (shelved from planning)
Should the {<identifier scheme>: <identifier value>} pattern be used for other data model fields than Creator/Contributor? If so changes are needed but more reuse can then be achieved. See below for more details.
Validate that organization ids are used for organizations and person ids are used for people.
AffiliationSchemaV1 changes to match creator/contributor identifiers
Link to ROR and ORCID
Add to frontend deposit form
people/org identifiers
Included in this work is making our identifier structure work on the frontend too.
Creator/Contributors have their identifiers as:
{
"ORCID": "0000-0002-1825-0097"
}
but other members of the datamodel don't. For example, the AffiliationFieldSchemaV1 is as follows:
classAffiliationSchemaV1(BaseSchema):
"""Affiliation of a creator/contributor."""name=SanitizedUnicode(required=True)
identifier=SanitizedUnicode(required=True)
scheme=SanitizedUnicode(required=True)
i.e.
{
"name": "California Digital Library",
"identifier": "03yrm5c26",
"scheme": "ror"
}
Should the identifier, scheme be combined like it is for Creator for other fields exhibiting this pattern? In this case it can reused as looked at by Pablo
IdentifierScheme could be reused in many other schemas. However, there is no easy and clean way to flatten its attributes. Tested Pluck and Method. The latter worked but it has a more difficult code comprehension, which in my perspective makes is not a good choice.
The text was updated successfully, but these errors were encountered:
From discussions, the Identifiers pattern can be used for Affiliation but we can leave other instances alone for now until we revisit individual fields.
Identifiers are not quite formalized and there is a number of issues that need to be addressed:
this includes figuring out how to pass potential schemes to the front-end(shelved from planning){<identifier scheme>: <identifier value>}
pattern be used for other data model fields than Creator/Contributor? If so changes are needed but more reuse can then be achieved. See below for more details.Included in this work is making our identifier structure work on the frontend too.
Creator/Contributors have their identifiers as:
but other members of the datamodel don't. For example, the AffiliationFieldSchemaV1 is as follows:
i.e.
Should the
identifier
,scheme
be combined like it is for Creator for other fields exhibiting this pattern? In this case it can reused as looked at by PabloThe text was updated successfully, but these errors were encountered: