NekUpload.metadata.identifier module
- class NekUpload.metadata.identifier.Identifier(id: str, id_type: IdentifierType)[source]
Bases:
objectMetadata object describing a persistent identifier associated with a person or organisation
- classmethod from_json(data: dict[str, Any]) Identifier[source]
Deserialise json object to reconstruct object
- Parameters:
cls (Type[Identifier]) – Class
data (dict[str,Any]) – JSON serialised object
- Raises:
ValueError – _description_
- Returns:
Reconstructed object
- Return type:
- get_id_type() IdentifierType[source]
Get the id type
- Returns:
Identifier type
- Return type: