From fee93b320c6c78e9a066e15196af7dd424a3f822 Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 27 Nov 2024 17:55:44 +0100 Subject: [PATCH] test of SQL export --- InteroperableAssets/schema.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 InteroperableAssets/schema.sql diff --git a/InteroperableAssets/schema.sql b/InteroperableAssets/schema.sql new file mode 100644 index 0000000..1a8af61 --- /dev/null +++ b/InteroperableAssets/schema.sql @@ -0,0 +1,3 @@ +/* (Beta) Export of data model InteroperableAssets of the subject dataModel.DataSpace for a PostgreSQL database. Pending translation of enumerations and multityped attributes */ +CREATE TYPE dataSpaceIdentifier_type AS ENUM ('AD4GD','AgDataValue','AgriDataSpace','AI4EOSC','AI4Europeana','AquaINFRA','B-Cubed','Blue-Cloud2026','CrackSense','CRAFT-OA','DataCellar','DataSpace4.0','DATES','DE-BIAS','deployEMDS','Divine','DS4SSCC','DS4SSCC-DEP','EDDI','EOSC4Cancer','EOSC-ENTRUST','EOSCBeyond','EOSCFocus','EuroScienceGateway','Eureka3D','EVERSE','FAIR-EASE','FAIR-IMPACT','FAIRCORE4EOSC','FAIRiCUBE','GDI','GraspOS','GREAT','IntNET','OMEGA-X','OSCARS','OSTrails','PrepDSpace4Mobility','RAISE','RDATIGER','ScaleAgData','SciLake','Skills4EOSC','SM4RTENANCE','SIESTA','Synergies','TITAN','UNDERPIN','USAGE');CREATE TYPE InteroperableAssets_type AS ENUM ('InteroperableAssets'); +CREATE TABLE InteroperableAssets (address JSON, alternateName TEXT, areaServed TEXT, dataExchangeProtocols JSON, dataModelSources JSON, dataProvider TEXT, dataSpaceIdentifier dataSpaceIdentifier_type, dateCreated TIMESTAMP, dateModified TIMESTAMP, description TEXT, id TEXT PRIMARY KEY, location JSON, name TEXT, owner JSON, seeAlso JSON, source TEXT, type InteroperableAssets_type); \ No newline at end of file