From c09afab989dfaf812b2345274a2c9e0d002a6fd6 Mon Sep 17 00:00:00 2001 From: Sanjay Soundarajan Date: Wed, 14 Feb 2024 13:01:34 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A8=20update=20database=20sch?= =?UTF-8?q?ema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mermaid/mmd/dataset-metadata-er.mmd | 3 ++- mermaid/svg/dataset-metadata-er.svg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mermaid/mmd/dataset-metadata-er.mmd b/mermaid/mmd/dataset-metadata-er.mmd index c29f945..8db1caf 100644 --- a/mermaid/mmd/dataset-metadata-er.mmd +++ b/mermaid/mmd/dataset-metadata-er.mmd @@ -18,7 +18,8 @@ erDiagram DATASET_CONTRIBUTOR { string id PK "UUIDv4" string dataset_id FK "DATASET.id" - string name + string givenName + string familyName string name_type "NULLABLE" string name_identifier string name_identifier_scheme diff --git a/mermaid/svg/dataset-metadata-er.svg b/mermaid/svg/dataset-metadata-er.svg index 27fe14d..4c573c2 100644 --- a/mermaid/svg/dataset-metadata-er.svg +++ b/mermaid/svg/dataset-metadata-er.svg @@ -1 +1 @@ -DATASET_ALTERNATIVE_IDENTIFIERstringidPKUUIDv4stringdataset_idFKDATASET.idstringidentifierstringtypeNULLABLEtimestampcreated_atDATASET_TITLEstringidPKUUIDv4stringdataset_idFKDATASET.idstringtitlestringtypeNULLABLEtimestampcreated_atDATASET_CONTRIBUTORstringidPKUUIDv4stringdataset_idFKDATASET.idstringnamestringname_typeNULLABLEstringname_identifierstringname_identifier_schemestringname_identifier_scheme_uribooleancreatortrue if creator, false if contributorstringcontributor_typeNULLABLE | required if contributorjsonaffiliations[{name: 'x', identifier: 'x', scheme: 'x', scheme_uri: 'x'}, ...}]timestampcreated_atDATASET_DATEstringidPKUUIDv4stringdataset_idFKDATASET.idtimestampdateNULLABLEstringtypeNULLABLEstringinformationtimestampcreated_atDATASET_RECORD_KEYSstringdataset_idPK,FKDATASET.idstringkeys_typeNULLABLEstringkeys_detailsDATASET_DE_IDENT_LEVELstringdataset_idPK,FKDATASET.idstringtypeNULLABLEbooleandirectbooleanhipaabooleandatesbooleannonarrbooleank_anonstringdetailsDATASET_CONSENTstringdataset_idPK,FKDATASET.idstringtypeNULLABLEbooleannoncommercialbooleangeog_restrictbooleanresearch_typebooleangenetic_onlybooleanno_methodsstringdetailsDATASET_DESCRIPTIONstringidPKUUIDv4stringdataset_idFKDATASET.idstringdescriptionstringtypeNULLABLEtimestampcreated_atDATASET_SUBJECTstringidPKUUIDv4stringdataset_idFKDATASET.idstringsubjectstringschemestringscheme_uristringvalue_uristringclassification_codetimestampcreated_atDATASET_ACCESSstringdataset_idPK,FKDATASET.idstringtypeNULLABLEstringdescriptionstringurltimestampurl_last_checkedmilliseconds formatDATASET_RIGHTSstringidPKUUIDv4stringdataset_idFKDATASET.idstringrightsstringuristringidentifierstringidentifier_schemestringlicense_texttimestampcreated_atDATASET_FUNDERstringidPKUUIDv4stringdataset_idFKDATASET.idstringnamestringidentifierstringidentifier_typeNULLABLEstringidentifier_scheme_uristringaward_numberstringaward_uristringaward_titletimestampcreated_atDATASET_OTHERstringdataset_idPK,FKDATASET.idstringresource_typestringlanguageNULLABLEstringmanaging_organization_namestringmanaging_organization_ror_idstringpublisherstringstandards_followedUsed for the README filestringacknowledgementUsed for the README filestring[]sizeDATASET_RELATED_ITEMstringidPKUUIDv4stringdataset_idFKDATASET.idstringtypeNULLABLEstringrelation_typeNULLABLEtimestampcreated_atDATASET_RELATED_ITEM_IDENTIFIERstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringidentifierstringtypeNULLABLEstringmetadata_schemestringscheme_uristringscheme_typetimestampcreated_atDATASET_RELATED_ITEM_CONTRIBUTORstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringnamestringname_typeNULLABLEbooleancreatortrue if creator, false if contributorstringcontributor_typeNULLABLE | required if contributortimestampcreated_atDATASET_RELATED_ITEM_TITLEstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringtitlestringtypeNULLABLEtimestampcreated_atDATASET_RELATED_ITEM_OTHERstringrelated_item_idPK,FKDATASET_RELATED_ITEM.idtimestamppublication_yearNULLABLEstringvolumestringissuestringnumber_valuestringnumber_typeNULLABLEstringfirst_pagestringlast_pagestringpublisherstringeditionDATASETis identified byhas titlehas descriptionhas contributorhas datehas record keyhas deidentification levelhas consenthas subjecthas accesshas rightshas funderhas other detailshas related itemhas identifierhas contributorhas titlehas other details \ No newline at end of file +DATASET_ALTERNATIVE_IDENTIFIERstringidPKUUIDv4stringdataset_idFKDATASET.idstringidentifierstringtypeNULLABLEtimestampcreated_atDATASET_TITLEstringidPKUUIDv4stringdataset_idFKDATASET.idstringtitlestringtypeNULLABLEtimestampcreated_atDATASET_CONTRIBUTORstringidPKUUIDv4stringdataset_idFKDATASET.idstringgivenNamestringfamilyNamestringname_typeNULLABLEstringname_identifierstringname_identifier_schemestringname_identifier_scheme_uribooleancreatortrue if creator, false if contributorstringcontributor_typeNULLABLE | required if contributorjsonaffiliations[{name: 'x', identifier: 'x', scheme: 'x', scheme_uri: 'x'}, ...}]timestampcreated_atDATASET_DATEstringidPKUUIDv4stringdataset_idFKDATASET.idtimestampdateNULLABLEstringtypeNULLABLEstringinformationtimestampcreated_atDATASET_RECORD_KEYSstringdataset_idPK,FKDATASET.idstringkeys_typeNULLABLEstringkeys_detailsDATASET_DE_IDENT_LEVELstringdataset_idPK,FKDATASET.idstringtypeNULLABLEbooleandirectbooleanhipaabooleandatesbooleannonarrbooleank_anonstringdetailsDATASET_CONSENTstringdataset_idPK,FKDATASET.idstringtypeNULLABLEbooleannoncommercialbooleangeog_restrictbooleanresearch_typebooleangenetic_onlybooleanno_methodsstringdetailsDATASET_DESCRIPTIONstringidPKUUIDv4stringdataset_idFKDATASET.idstringdescriptionstringtypeNULLABLEtimestampcreated_atDATASET_SUBJECTstringidPKUUIDv4stringdataset_idFKDATASET.idstringsubjectstringschemestringscheme_uristringvalue_uristringclassification_codetimestampcreated_atDATASET_ACCESSstringdataset_idPK,FKDATASET.idstringtypeNULLABLEstringdescriptionstringurltimestampurl_last_checkedmilliseconds formatDATASET_RIGHTSstringidPKUUIDv4stringdataset_idFKDATASET.idstringrightsstringuristringidentifierstringidentifier_schemestringlicense_texttimestampcreated_atDATASET_FUNDERstringidPKUUIDv4stringdataset_idFKDATASET.idstringnamestringidentifierstringidentifier_typeNULLABLEstringidentifier_scheme_uristringaward_numberstringaward_uristringaward_titletimestampcreated_atDATASET_OTHERstringdataset_idPK,FKDATASET.idstringresource_typestringlanguageNULLABLEstringmanaging_organization_namestringmanaging_organization_ror_idstringpublisherstringstandards_followedUsed for the README filestringacknowledgementUsed for the README filestring[]sizeDATASET_RELATED_ITEMstringidPKUUIDv4stringdataset_idFKDATASET.idstringtypeNULLABLEstringrelation_typeNULLABLEtimestampcreated_atDATASET_RELATED_ITEM_IDENTIFIERstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringidentifierstringtypeNULLABLEstringmetadata_schemestringscheme_uristringscheme_typetimestampcreated_atDATASET_RELATED_ITEM_CONTRIBUTORstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringnamestringname_typeNULLABLEbooleancreatortrue if creator, false if contributorstringcontributor_typeNULLABLE | required if contributortimestampcreated_atDATASET_RELATED_ITEM_TITLEstringidPKUUIDv4stringrelated_item_idFKDATASET_RELATED_ITEM.idstringtitlestringtypeNULLABLEtimestampcreated_atDATASET_RELATED_ITEM_OTHERstringrelated_item_idPK,FKDATASET_RELATED_ITEM.idtimestamppublication_yearNULLABLEstringvolumestringissuestringnumber_valuestringnumber_typeNULLABLEstringfirst_pagestringlast_pagestringpublisherstringeditionDATASETis identified byhas titlehas descriptionhas contributorhas datehas record keyhas deidentification levelhas consenthas subjecthas accesshas rightshas funderhas other detailshas related itemhas identifierhas contributorhas titlehas other details \ No newline at end of file