Skip to content
Snippets Groups Projects
Verified Commit d0bb2300 authored by Martin Weise's avatar Martin Weise
Browse files

Removed unused fields

parent d3205a56
No related branches found
No related tags found
2 merge requests!422Fixed a library issue where the value could not be empty,!421Fixed a library issue where the value could not be empty
...@@ -595,13 +595,11 @@ class CreateIdentifierCreator(BaseModel): ...@@ -595,13 +595,11 @@ class CreateIdentifierCreator(BaseModel):
firstname: Optional[str] = None firstname: Optional[str] = None
lastname: Optional[str] = None lastname: Optional[str] = None
affiliation: Optional[str] = None affiliation: Optional[str] = None
name_type: Optional[str] = None name_type: Optional[IdentifierNameType] = None
name_identifier: Optional[str] = None name_identifier: Optional[str] = None
name_identifier_scheme: Optional[str] = None name_identifier_scheme: Optional[str] = None
name_identifier_scheme_uri: Optional[str] = None
affiliation_identifier: Optional[str] = None affiliation_identifier: Optional[str] = None
affiliation_identifier_scheme: Optional[str] = None affiliation_identifier_scheme: Optional[str] = None
affiliation_identifier_scheme_uri: Optional[str] = None
class SaveIdentifierCreator(CreateIdentifierCreator): class SaveIdentifierCreator(CreateIdentifierCreator):
...@@ -993,6 +991,17 @@ class IdentifierStatusType(str, Enum): ...@@ -993,6 +991,17 @@ class IdentifierStatusType(str, Enum):
"""The identifier is a draft and can still be edited.""" """The identifier is a draft and can still be edited."""
class IdentifierNameType(str, Enum):
"""
Enumeration of identifier name types.
"""
PERSONAL = "Personal"
"""The creator identifies a person."""
ORGANIZATIONAL = "Organizational"
"""The creator identifies an organization"""
class Query(BaseModel): class Query(BaseModel):
id: str id: str
owner: UserBrief owner: UserBrief
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment