-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Currently, authors are represented in the Dataset model as a author_names field:
author_names: list[str] | None = Field(
None,
description="List of author or contributor names.",
)We may need to create a dedicated Authors model with the following fields:
class Author(BaseModel):
"""Author of dataset or publication."""
first_name: str | None = Field(None, description="Author first name.")
last_name: str | None = Field(None, description="Author last name.")
full_name: str | None = Field(None, description="Author full name.")
orcid: str | None = Field(None, description="ORCID.")The full_name field could be computed from first_name and last_name if is not defined.
Review of current APIs:
- The Zenodo API provides full name and orcid (when possible).
- The Figshare API provides full name, first name, last name and orcid (when possible).
- The NOAMD API provides full name and an identifier that lead to first name, last name and affiliation through the
/users/{user_id}end point.
Reactions are currently unavailable