From 095326d2f3643577066aff603d84378c469dfa03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Mon, 11 Sep 2023 14:14:07 +0200 Subject: [PATCH 01/27] Update DCAT-AP:Dataset for the FAIR principles and MELODA5 dimensions (WATERVERSE) --- .gitignore | 2 + Dataset/notes.yaml | 1 + Dataset/schema.json | 652 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 653 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb4b68f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# IDE +.idea diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index 031db09..191fe61 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -1,5 +1,6 @@ notesHeader: Adapted from [DCAT-AP version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). + Adding of the FAIR principles and MELODA5 dimensions properties. notesMiddle: diff --git a/Dataset/schema.json b/Dataset/schema.json index 75adce5..35a2aea 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "2.0.1", - "modelTags": "INTERSTAT", + "$schemaVersion": "2.1.0", + "modelTags": "INTERSTAT, WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", "title": "Dataset DCAT-AP 2.1.1 schema", "description": "Dataset Schema meeting DCAT-AP 2.1.1 specification", @@ -310,6 +310,654 @@ "type": "string", "description": "Property. Every activity included" } + }, + "geolocation": { + "type": "string", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", + "enum": [ + "True", + "False" + ] + }, + "addressesAvailable": { + "type": "string", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", + "enum": [ + "True", + "False" + ] + }, + "standardization": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. The type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: * Level1Standardization: data model standardized by the publisher without releasing the documentation. * Level2Standardization: data model standardized by the published releasing the documentation. * Level3Standardization: data model using a local standard (national or smaller regional scope). * Level4Standardization: data model using an international standard", + "enum": [ + "Level1Standardization", + "Level2Standardization", + "Level3Standardization", + "Level4Standardization" + ] + }, + "standardizationSource": { + "type": "string", + "description": "Property, Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." + }, + "validationSchema": { + "type": "string", + "description": "Property, Model:'https://schema.org/url'. URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program." + }, + "accessMechanism": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Access level according to the 3 levels of MELODA5 metric. The expected values are: * Level1AccessMechanism: Web access or unique URL parameters to dataset. * Level2AccessMechanism: Web Access unique with parameters to single data. * Level3AccessMechanism: API or query language.", + "enum": [ + "Level1AccessMechanism", + "Level2AccessMechanism", + "Level3AccessMechanism" + ] + }, + "dissemination": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Dissemination level according to MELODA5 communication dimension: * Level1Dissemination: communication/dissemination not systematic. * Level2Dissemination: available resources on updates (i.e., RSS feed). * Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely).", + "enum": [ + "Level1Dissemination", + "Level2Dissemination", + "Level3Dissemination" + ] + }, + "disseminationOrganization": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of MELODA5." + }, + "reputation": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", + "enum": [ + "Level1Reputation", + "Level2Reputation", + "Level3Reputation" + ] + }, + "reputationOrganization": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." + }, + "license": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses).", + "enum": [ + "0BSD", + "AAL", + "Abstyles", + "AdaCore-doc", + "Adobe-2006", + "Adobe-Glyph", + "ADSL", + "AFL-1.1", + "AFL-1.2", + "AFL-2.0", + "AFL-2.1", + "AFL-3.0", + "Afmparse", + "AGPL-1.0", + "AGPL-1.0-only", + "AGPL-1.0-or-later", + "AGPL-3.0", + "AGPL-3.0-only", + "AGPL-3.0-or-later", + "Aladdin", + "AMDPLPA", + "AML", + "AMPAS", + "ANTLR-PD", + "ANTLR-PD-fallback", + "Apache-1.0", + "Apache-1.1", + "Apache-2.0", + "APAFML", + "APL-1.0", + "App-s2p", + "APSL-1.0", + "APSL-1.1", + "APSL-1.2", + "APSL-2.0", + "Arphic-1999", + "Artistic-1.0", + "Artistic-1.0-cl8", + "Artistic-1.0-Perl", + "Artistic-2.0", + "ASWF-Digital-Assets-1.0", + "ASWF-Digital-Assets-1.1", + "Baekmuk", + "Bahyph", + "Barr", + "Beerware", + "Bitstream-Charter", + "Bitstream-Vera", + "BitTorrent-1.0", + "BitTorrent-1.1", + "blessing", + "BlueOak-1.0.0", + "Boehm-GC", + "Borceux", + "Brian-Gladman-3-Clause", + "BSD-1-Clause", + "BSD-2-Clause", + "BSD-2-Clause-FreeBSD", + "BSD-2-Clause-NetBSD", + "BSD-2-Clause-Patent", + "BSD-2-Clause-Views", + "BSD-3-Clause", + "BSD-3-Clause-Attribution", + "BSD-3-Clause-Clear", + "BSD-3-Clause-LBNL", + "BSD-3-Clause-Modification", + "BSD-3-Clause-No-Military-License", + "BSD-3-Clause-No-Nuclear-License", + "BSD-3-Clause-No-Nuclear-License-2014", + "BSD-3-Clause-No-Nuclear-Warranty", + "BSD-3-Clause-Open-MPI", + "BSD-4-Clause", + "BSD-4-Clause-Shortened", + "BSD-4-Clause-UC", + "BSD-4.3RENO", + "BSD-4.3TAHOE", + "BSD-Advertising-Acknowledgement", + "BSD-Attribution-HPND-disclaimer", + "BSD-Protection", + "BSD-Source-Code", + "BSL-1.0", + "BUSL-1.1", + "bzip2-1.0.5", + "bzip2-1.0.6", + "C-UDA-1.0", + "CAL-1.0", + "CAL-1.0-Combined-Work-Exception", + "Caldera", + "CATOSL-1.1", + "CC-BY-1.0", + "CC-BY-2.0", + "CC-BY-2.5", + "CC-BY-2.5-AU", + "CC-BY-3.0", + "CC-BY-3.0-AT", + "CC-BY-3.0-DE", + "CC-BY-3.0-IGO", + "CC-BY-3.0-NL", + "CC-BY-3.0-US", + "CC-BY-4.0", + "CC-BY-NC-1.0", + "CC-BY-NC-2.0", + "CC-BY-NC-2.5", + "CC-BY-NC-3.0", + "CC-BY-NC-3.0-DE", + "CC-BY-NC-4.0", + "CC-BY-NC-ND-1.0", + "CC-BY-NC-ND-2.0", + "CC-BY-NC-ND-2.5", + "CC-BY-NC-ND-3.0", + "CC-BY-NC-ND-3.0-DE", + "CC-BY-NC-ND-3.0-IGO", + "CC-BY-NC-ND-4.0", + "CC-BY-NC-SA-1.0", + "CC-BY-NC-SA-2.0", + "CC-BY-NC-SA-2.0-DE", + "CC-BY-NC-SA-2.0-FR", + "CC-BY-NC-SA-2.0-UK", + "CC-BY-NC-SA-2.5", + "CC-BY-NC-SA-3.0", + "CC-BY-NC-SA-3.0-DE", + "CC-BY-NC-SA-3.0-IGO", + "CC-BY-NC-SA-4.0", + "CC-BY-ND-1.0", + "CC-BY-ND-2.0", + "CC-BY-ND-2.5", + "CC-BY-ND-3.0", + "CC-BY-ND-3.0-DE", + "CC-BY-ND-4.0", + "CC-BY-SA-1.0", + "CC-BY-SA-2.0", + "CC-BY-SA-2.0-UK", + "CC-BY-SA-2.1-JP", + "CC-BY-SA-2.5", + "CC-BY-SA-3.0", + "CC-BY-SA-3.0-AT", + "CC-BY-SA-3.0-DE", + "CC-BY-SA-3.0-IGO", + "CC-BY-SA-4.0", + "CC-PDDC", + "CC0-1.0", + "CDDL-1.0", + "CDDL-1.1", + "CDL-1.0", + "CDLA-Permissive-1.0", + "CDLA-Permissive-2.0", + "CDLA-Sharing-1.0", + "CECILL-1.0", + "CECILL-1.1", + "CECILL-2.0", + "CECILL-2.1", + "CECILL-B", + "CECILL-C", + "CERN-OHL-1.1", + "CERN-OHL-1.2", + "CERN-OHL-P-2.0", + "CERN-OHL-S-2.0", + "CERN-OHL-W-2.0", + "CFITSIO", + "check-cvs", + "checkmk", + "ClArtistic", + "Clips", + "CMU-Mach", + "CNRI-Jython", + "CNRI-Python", + "CNRI-Python-GPL-Compatible", + "COIL-1.0", + "Community-Spec-1.0", + "Condor-1.1", + "copyleft-next-0.3.0", + "copyleft-next-0.3.1", + "Cornell-Lossless-JPEG", + "CPAL-1.0", + "CPL-1.0", + "CPOL-1.02", + "Crossword", + "CrystalStacker", + "CUA-OPL-1.0", + "Cube", + "curl", + "D-FSL-1.0", + "diffmark", + "DL-DE-BY-2.0", + "DL-DE-ZERO-2.0", + "DOC", + "Dotseqn", + "DRL-1.0", + "DSDP", + "dtoa", + "dvipdfm", + "ECL-1.0", + "ECL-2.0", + "eCos-2.0", + "EFL-1.0", + "EFL-2.0", + "eGenix", + "Elastic-2.0", + "Entessa", + "EPICS", + "EPL-1.0", + "EPL-2.0", + "ErlPL-1.1", + "etalab-2.0", + "EUDatagrid", + "EUPL-1.0", + "EUPL-1.1", + "EUPL-1.2", + "Eurosym", + "Fair", + "FDK-AAC", + "Frameworx-1.0", + "FreeBSD-DOC", + "FreeImage", + "FSFAP", + "FSFUL", + "FSFULLR", + "FSFULLRWD", + "FTL", + "GD", + "GFDL-1.1", + "GFDL-1.1-invariants-only", + "GFDL-1.1-invariants-or-later", + "GFDL-1.1-no-invariants-only", + "GFDL-1.1-no-invariants-or-later", + "GFDL-1.1-only", + "GFDL-1.1-or-later", + "GFDL-1.2", + "GFDL-1.2-invariants-only", + "GFDL-1.2-invariants-or-later", + "GFDL-1.2-no-invariants-only", + "GFDL-1.2-no-invariants-or-later", + "GFDL-1.2-only", + "GFDL-1.2-or-later", + "GFDL-1.3", + "GFDL-1.3-invariants-only", + "GFDL-1.3-invariants-or-later", + "GFDL-1.3-no-invariants-only", + "GFDL-1.3-no-invariants-or-later", + "GFDL-1.3-only", + "GFDL-1.3-or-later", + "Giftware", + "GL2PS", + "Glide", + "Glulxe", + "GLWTPL", + "GNU-compiler-exception", + "gnuplot", + "GPL-1.0", + "GPL-1.0+", + "GPL-1.0-only", + "GPL-1.0-or-later", + "GPL-2.0", + "GPL-2.0+", + "GPL-2.0-only", + "GPL-2.0-or-later", + "GPL-2.0-with-autoconf-exception", + "GPL-2.0-with-bison-exception", + "GPL-2.0-with-classpath-exception", + "GPL-2.0-with-font-exception", + "GPL-2.0-with-GCC-exception", + "GPL-3.0", + "GPL-3.0+", + "GPL-3.0-only", + "GPL-3.0-or-later", + "GPL-3.0-with-autoconf-exception", + "GPL-3.0-with-GCC-exception", + "Graphics-Gems", + "gSOAP-1.3b", + "HaskellReport", + "Hippocratic-2.1", + "HP-1986", + "HP-1989", + "HPND", + "HPND-export-US", + "HPND-Markus-Kuhn", + "HPND-sell-variant", + "HPND-sell-variant-MIT-disclaimer", + "HTMLTIDY", + "IBM-pibs", + "ICU", + "IEC-Code-Components-EULA", + "IJG", + "IJG-short", + "ImageMagick", + "iMatix", + "Imlib2", + "Info-ZIP", + "Inner-Net-2.0", + "Intel", + "Intel-ACPI", + "Interbase-1.0", + "IPA", + "IPL-1.0", + "ISC", + "Jam", + "JasPer-2.0", + "JPL-image", + "JPNIC", + "JSON", + "Kazlib", + "Knuth-CTAN", + "LAL-1.2", + "LAL-1.3", + "Latex2e", + "Latex2e-translated-notice", + "Leptonica", + "LGPL-2.0", + "LGPL-2.0+", + "LGPL-2.0-only", + "LGPL-2.0-or-later", + "LGPL-2.1", + "LGPL-2.1+", + "LGPL-2.1-only", + "LGPL-2.1-or-later", + "LGPL-3.0", + "LGPL-3.0+", + "LGPL-3.0-only", + "LGPL-3.0-or-later", + "LGPLLR", + "Libpng", + "libpng-2.0", + "libselinux-1.0", + "libtiff", + "libutil-David-Nugent", + "LiLiQ-P-1.1", + "LiLiQ-R-1.1", + "LiLiQ-Rplus-1.1", + "Linux-man-pages-1-para", + "Linux-man-pages-copyleft", + "Linux-man-pages-copyleft-2-para", + "Linux-man-pages-copyleft-var", + "Linux-OpenIB", + "LOOP", + "LPL-1.0", + "LPL-1.02", + "LPPL-1.0", + "LPPL-1.1", + "LPPL-1.2", + "LPPL-1.3a", + "LPPL-1.3c", + "LZMA-SDK-9.11-to-9.20", + "LZMA-SDK-9.22", + "MakeIndex", + "Martin-Birgmeier", + "metamail", + "Minpack", + "MirOS", + "MIT", + "MIT-0", + "MIT-advertising", + "MIT-CMU", + "MIT-enna", + "MIT-feh", + "MIT-Festival", + "MIT-Modern-Variant", + "MIT-open-group", + "MIT-testregex", + "MIT-Wu", + "MITNFA", + "MMIXware", + "Motosoto", + "MPEG-Software-Simulation", + "mpi-permissive", + "mpich2", + "MPL-1.0", + "MPL-1.1", + "MPL-2.0", + "MPL-2.0-no-copyleft-exception", + "mplus", + "MS-LPL", + "MS-PL", + "MS-RL", + "MTLL", + "MulanPSL-1.0", + "MulanPSL-2.0", + "Multics", + "Mup", + "NAIST-2003", + "NASA-1.3", + "Naumen", + "NBPL-1.0", + "NCGL-UK-2.0", + "NCSA", + "Net-SNMP", + "NetCDF", + "Newsletr", + "NGPL", + "NICTA-1.0", + "NIST-PD", + "NIST-PD-fallback", + "NIST-Software", + "NLOD-1.0", + "NLOD-2.0", + "NLPL", + "Nokia", + "NOSL", + "Noweb", + "NPL-1.0", + "NPL-1.1", + "NPOSL-3.0", + "NRL", + "NTP", + "NTP-0", + "Nunit", + "O-UDA-1.0", + "OCCT-PL", + "OCLC-2.0", + "ODbL-1.0", + "ODC-By-1.0", + "OFFIS", + "OFL-1.0", + "OFL-1.0-no-RFN", + "OFL-1.0-RFN", + "OFL-1.1", + "OFL-1.1-no-RFN", + "OFL-1.1-RFN", + "OGC-1.0", + "OGDL-Taiwan-1.0", + "OGL-Canada-2.0", + "OGL-UK-1.0", + "OGL-UK-2.0", + "OGL-UK-3.0", + "OGTSL", + "OLDAP-1.1", + "OLDAP-1.2", + "OLDAP-1.3", + "OLDAP-1.4", + "OLDAP-2.0", + "OLDAP-2.0.1", + "OLDAP-2.1", + "OLDAP-2.2", + "OLDAP-2.2.1", + "OLDAP-2.2.2", + "OLDAP-2.3", + "OLDAP-2.4", + "OLDAP-2.5", + "OLDAP-2.6", + "OLDAP-2.7", + "OLDAP-2.8", + "OLFL-1.3", + "OML", + "OpenPBS-2.3", + "OpenSSL", + "OPL-1.0", + "OPL-UK-3.0", + "OPUBL-1.0", + "OSET-PL-2.1", + "OSL-1.0", + "OSL-1.1", + "OSL-2.0", + "OSL-2.1", + "OSL-3.0", + "Parity-6.0.0", + "Parity-7.0.0", + "PDDL-1.0", + "PHP-3.0", + "PHP-3.01", + "Plexus", + "pnmstitch", + "PolyForm-Noncommercial-1.0.0", + "PolyForm-Small-Business-1.0.0", + "PostgreSQL", + "PSF-2.0", + "psfrag", + "psutils", + "Python-2.0", + "Python-2.0.1", + "Qhull", + "QPL-1.0", + "QPL-1.0-INRIA-2004", + "Rdisc", + "RHeCos-1.1", + "RPL-1.1", + "RPL-1.5", + "RPSL-1.0", + "RSA-MD", + "RSCPL", + "Ruby", + "SANE-exception", + "SAX-PD", + "Saxpath", + "SCEA", + "SchemeReport", + "Sendmail", + "Sendmail-8.23", + "SGI-B-1.0", + "SGI-B-1.1", + "SGI-B-2.0", + "SGP4", + "SHL-0.5", + "SHL-0.51", + "SimPL-2.0", + "SISSL", + "SISSL-1.2", + "SL", + "Sleepycat", + "SMLNJ", + "SMPPL", + "SNIA", + "snprintf", + "Soundex", + "Spencer-86", + "Spencer-94", + "Spencer-99", + "SPL-1.0", + "SSH-OpenSSH", + "SSH-short", + "SSPL-1.0", + "StandardML-NJ", + "stunnel-exception", + "SugarCRM-1.1.3", + "SunPro", + "SWL", + "Symlinks", + "TAPR-OHL-1.0", + "TCL", + "TCP-wrappers", + "TermReadKey", + "Texinfo-exception", + "TMate", + "TORQUE-1.1", + "TOSL", + "TPDL", + "TPL-1.0", + "TTWL", + "TTYP0", + "TU-Berlin-1.0", + "TU-Berlin-2.0", + "UCAR", + "UCL-1.0", + "Unicode-DFS-2015", + "Unicode-DFS-2016", + "Unicode-TOU", + "UnixCrypt", + "Unlicense", + "UPL-1.0", + "URT-RLE", + "Vim", + "VOSTROM", + "VSL-1.0", + "W3C", + "W3C-19980720", + "W3C-20150513", + "w3m", + "Watcom-1.0", + "Widget-Workshop", + "Wsuipa", + "WTFPL", + "wxWindows", + "X11", + "X11-distribute-modifications-variant", + "Xdebug-1.03", + "Xerox", + "Xfig", + "XFree86-1.1", + "xinetd", + "xlock", + "Xnet", + "xpp", + "XSkat", + "YPL-1.0", + "YPL-1.1", + "Zed", + "Zeeff", + "Zend-2.0", + "Zimbra-1.3", + "Zimbra-1.4", + "Zlib", + "zlib-acknowledgement", + "ZPL-1.1", + "ZPL-2.0", + "ZPL-2.1" + ] } } } From 9ab77d37515092ebc59c32e266f78eeebce2bcba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Mon, 11 Sep 2023 14:55:01 +0200 Subject: [PATCH 02/27] Update DCAT-AP:DataService for the FAIR principles and MELODA5 dimensions (WATERVERSE) --- DataService/notes.yaml | 1 + DataService/schema.json | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/DataService/notes.yaml b/DataService/notes.yaml index ca3a7fa..174f6cd 100644 --- a/DataService/notes.yaml +++ b/DataService/notes.yaml @@ -1,5 +1,6 @@ notesHeader: Adapted from [DCAT-AP version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to mantain compatibility with NGSI standard and other data models. + Adding of the FAIR principles and MELODA5 dimensions properties. notesMiddle: Some properties have been added to allow for more a wider range of usage. Namely contactPoint, assetProvider and configuration. diff --git a/DataService/schema.json b/DataService/schema.json index 7927fa4..cc78cf8 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "0.0.2", - "modelTags": "", + "$schemaVersion": "0.1.0", + "modelTags": "WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", "title": "Data Service DCAT-AP 2.1.1 schema - extended", "description": "Data Service adapted from DCAT-AP 2.1.1 specification, but extended with additional properties and compatible with NGSI standard", @@ -71,6 +71,22 @@ "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the licence under which the Data service is made available" + }, + "provenance": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", + "items": { + "type": "string" + } + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behaviour." + }, + "validationSchema": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the DataService (JSON Schema) in the Smart Data Models program." } } } From 626680f55c58a77e9923e15e4c8f4eb1b3b95c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Mon, 14 Oct 2024 19:08:54 +0200 Subject: [PATCH 03/27] Update to v3.0.0 and correction some issues from Waterverse --- DataService/ADOPTERS.yaml | 8 + DataService/README.md | 7 +- .../examples/example-normalized.jsonld | 8 +- DataService/notes.yaml | 2 +- DataService/schema.json | 286 ++++++++++++++++-- Dataset/ADOPTERS.yaml | 14 +- Dataset/README.md | 7 +- Dataset/examples/example-normalized.jsonld | 16 +- Dataset/notes.yaml | 2 +- Dataset/schema.json | 38 ++- README.md | 4 +- notes.yaml | 2 +- 12 files changed, 339 insertions(+), 55 deletions(-) diff --git a/DataService/ADOPTERS.yaml b/DataService/ADOPTERS.yaml index 36123c9..d12c3e4 100644 --- a/DataService/ADOPTERS.yaml +++ b/DataService/ADOPTERS.yaml @@ -16,3 +16,11 @@ currentAdopters: project: https://salted-project.eu/ comments: startDate: +- + adopter: Waterverse Project + description: + mail: + organization: + project: https://waterverse.eu/ + comments: Adoption of DCAT-AP to define metadata information of Datasets including FAIR and Meloda5 principles + startDate: 2022-10-01 \ No newline at end of file diff --git a/DataService/README.md b/DataService/README.md index 787dc7c..808b921 100644 --- a/DataService/README.md +++ b/DataService/README.md @@ -1,10 +1,11 @@ [![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - # DataService -Version: 0.0.2 + +# DataService +Version: 0.2.0 ## Description -Data Service adapted from DCAT-AP 2.1.1 specification, but extended with additional properties and compatible with NGSI standard +Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard ### Specification Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/swagger.yaml) diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 35a0899..4f7445e 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -20,7 +20,7 @@ "type": "Property", "value": "European union and beyond" }, - "modified": { + "modifiedAt": { "type": "Property", "value": { "@type": "DateTime", @@ -31,14 +31,14 @@ "type": "Property", "value": "Data service for the solar system open data portal." }, - "endPointDescription": { + "endpointDescription": { "type": "Property", "value": [ "SPARQL end point without authentication", "API compliant with CKAN specification" ] }, - "endPointURL": { + "endpointURL": { "type": "Property", "value": [ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", @@ -49,7 +49,7 @@ "type": "Property", "value": "EUPL." }, - "location": { + "operationSpace": { "type": "GeoProperty", "value": { "type": "Point", diff --git a/DataService/notes.yaml b/DataService/notes.yaml index 174f6cd..6d051bc 100644 --- a/DataService/notes.yaml +++ b/DataService/notes.yaml @@ -1,5 +1,5 @@ notesHeader: - Adapted from [DCAT-AP version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to mantain compatibility with NGSI standard and other data models. + Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to mantain compatibility with NGSI standard and other data models. Adding of the FAIR principles and MELODA5 dimensions properties. notesMiddle: diff --git a/DataService/schema.json b/DataService/schema.json index cc78cf8..d1c7a14 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -1,10 +1,10 @@ { - "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "0.1.0", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "1.0.0", "modelTags": "WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", - "title": "Data Service DCAT-AP 2.1.1 schema - extended", - "description": "Data Service adapted from DCAT-AP 2.1.1 specification, but extended with additional properties and compatible with NGSI standard", + "title": "Data Service DCAT-AP 3.0.0 schema - extended", + "description": "Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard", "type": "object", "allOf": [ { @@ -22,7 +22,7 @@ "id": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" }, - "endPointURL": { + "endpointURL": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. The root location or primary endpoint of the service (an IRI)", "items": { @@ -33,14 +33,39 @@ } }, "title": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", - "items": { - "type": "string", - "description": "Property. The title in one language" - } + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": {"type": "string"}, + "de": {"type": "string"}, + "es": {"type": "string"}, + "fr": {"type": "string"}, + "it": {"type": "string"}, + "ja": {"type": "string"}, + "ko": {"type": "string"}, + "zh": {"type": "string"}, + "el": {"type": "string"}, + "nl": {"type": "string"}, + "fi": {"type": "string"} + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] }, - "endPointDescription": { + "endpointDescription": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement", "items": { @@ -50,7 +75,7 @@ }, "servesDataset": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", "items": { "type": "string", "description": "Property. Every dataset distributed" @@ -61,12 +86,37 @@ "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies" }, "description": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Data Service. This property can be repeated for parallel language versions of the description", - "items": { - "type": "string", - "description": "Property. Every description in a language" - } + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. A free-text account of the Data Service.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": {"type": "string"}, + "de": {"type": "string"}, + "es": {"type": "string"}, + "fr": {"type": "string"}, + "it": {"type": "string"}, + "ja": {"type": "string"}, + "ko": {"type": "string"}, + "zh": {"type": "string"}, + "el": {"type": "string"}, + "nl": {"type": "string"}, + "fi": {"type": "string"} + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] }, "license": { "type": "string", @@ -87,7 +137,203 @@ "validationSchema": { "type": "string", "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the DataService (JSON Schema) in the Smart Data Models program." - } + }, + "operationSpace": { + "oneOf": [ + { + "title": "GeoJSON Point", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. Point", + "properties": { + "type": { + "type": "string", + "enum": [ + "Point" + ] + }, + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON LineString", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. LineString", + "properties": { + "type": { + "type": "string", + "enum": [ + "LineString" + ] + }, + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON Polygon", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. Polygon", + "properties": { + "type": { + "type": "string", + "enum": [ "Polygon" ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. MultiPoint", + "properties": { + "type": { + "type": "string", + "enum": [ "MultiPoint" ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "properties": { + "type": { + "type": "string", + "enum": [ "MultiLineString" ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON MultiPolygon", + "type": "object", + "required": [ "type", "coordinates" ], + "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "properties": { + "type": { + "type": "string", + "enum": [ "MultiPolygon" ] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + } + ], + "description": "GeoProperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon" + } } } ], diff --git a/Dataset/ADOPTERS.yaml b/Dataset/ADOPTERS.yaml index 49e817b..f5daf7c 100644 --- a/Dataset/ADOPTERS.yaml +++ b/Dataset/ADOPTERS.yaml @@ -1,10 +1,10 @@ description: This is a compilation list of the current adopters of the data model Dataset of the Subject dataModel.DCAT-AP. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml currentAdopters: - - adopter: - description: - mail: - organization: - project: - comments: - startDate: + adopter: Waterverse Project + description: + mail: + organization: + project: https://waterverse.eu/ + comments: Adoption of DCAT-AP to define metadata information of Datasets including FAIR and Meloda5 principles + startDate: 2022-10-01 \ No newline at end of file diff --git a/Dataset/README.md b/Dataset/README.md index f25c149..f23420a 100644 --- a/Dataset/README.md +++ b/Dataset/README.md @@ -1,10 +1,11 @@ [![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - # Dataset -Version: 2.0.1 + +# Dataset +Version: 3.0.0 ## Description -Dataset Schema meeting DCAT-AP 2.1.1 specification +Dataset Schema meeting DCAT-AP 3.0.0 specification ### Specification Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/swagger.yaml) diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index ce3205c..f1711ac 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -13,8 +13,20 @@ "value":"urn:ngsi-ld:Dataset:items:YSWN:41266715" }, "description": { - "type": "Property", - "value": ["Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid."] + "type": "LanguageProperty", + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } }, "title": { "type": "Property", diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index 191fe61..d56703d 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -1,5 +1,5 @@ notesHeader: - Adapted from [DCAT-AP version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). + Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Adding of the FAIR principles and MELODA5 dimensions properties. notesMiddle: diff --git a/Dataset/schema.json b/Dataset/schema.json index 35a2aea..7af3549 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -1,10 +1,10 @@ { "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "2.1.0", + "$schemaVersion": "3.0.0", "modelTags": "INTERSTAT, WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", - "title": "Dataset DCAT-AP 2.1.1 schema", - "description": "Dataset Schema meeting DCAT-AP 2.1.1 specification", + "title": "Dataset DCAT-AP 3.0.0 schema", + "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification", "type": "object", "allOf": [ { @@ -21,7 +21,7 @@ }, "description": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description", + "description": "LanguageProperty. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description", "items": { "type": "string", "description": "Property. Every description in a language" @@ -32,7 +32,7 @@ "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name", "items": { "type": "string", - "description": "Property. Every title in a language" + "description": "LanguageProperty. Every title in a language" } }, "contactPoint": { @@ -131,7 +131,7 @@ }, "conformsTo": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/Standard'. This property refers to an implementing rule or other specification. ", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. This property refers to an implementing rule or other specification. ", "items": { "type": "string", "description": "Property. Every rule or specification applicable" @@ -152,7 +152,7 @@ }, "hasVersion": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset", "items": { "type": "string", "format": "uri", @@ -197,7 +197,7 @@ }, "language": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset", + "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. Improve the description of the property to provide\nonly the values defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", "items": { "type": "string", "description": "Property. Every language included" @@ -262,7 +262,7 @@ }, "source": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived", "items": { "type": "string", "format": "uri", @@ -286,12 +286,12 @@ "type": "string", "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen" }, - "modified": { + "modifiedAt": { "type": "string", "format": "date-time", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the most recent date on which the Dataset was changed or modified" }, - "versionInfo": { + "version": { "type": "string", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a version number or other version designation of the Dataset" }, @@ -380,6 +380,22 @@ "type": "string", "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." }, + "applicableLegislation": { + "type": "array", + "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation,policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, + "inSeries": { + "type": "array", + "description": "Relationship. This property links the Dataset to an available Distribution. Model:'http://www.w3.org/ns/dcat#Distribution'. A dataset series of which the dataset is part. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation,policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses).", diff --git a/README.md b/README.md index f66680e..c472a00 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ The following entity types are available: - [CatalogueRecord](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/CatalogueRecord/README.md). This is a Catalogue Record belonging to a dataset according to the DCAT-AP standard 2.1.1 -- [DataService](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/README.md). Data Service adapted from DCAT-AP 2.1.1 specification, but extended with additional properties and compatible with NGSI standard +- [DataService](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/README.md). Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard - [DataServiceRun](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataServiceRun/README.md). A representation of one specific run of a data service (e.g. DataServiceDCAT-AP). -- [Dataset](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/README.md). Dataset Schema meeting DCAT-AP 2.1.1 specification +- [Dataset](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/README.md). Dataset Schema meeting DCAT-AP 3.0.0 specification - [Distribution](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Distribution/README.md). This is a distribution belonging ot a dataset according to the DCAT-AP standard 2.1.1 diff --git a/notes.yaml b/notes.yaml index e47aa30..da16eca 100644 --- a/notes.yaml +++ b/notes.yaml @@ -1,5 +1,5 @@ notesPrevious: - These data models are mapped from version 2.1.1 of the DCAT-AP standard. [Link](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). They have been extended with the data model dataServiceRun data model and additional attributes + These data models are mapped from version 2.1.1 and 3.0.0 of the DCAT-AP standard. [Link](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). They have been extended with the data model dataServiceRun data model and additional attributes notesEnd: "" \ No newline at end of file From 8c67a2b7eb3e6f31f6755927c4b80ca4b5108a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Tue, 15 Oct 2024 10:00:01 +0200 Subject: [PATCH 04/27] Update Dataset and DataService classes --- DataService/README.md | 2 +- .../examples/example-normalized.jsonld | 45 +- DataService/notes.yaml | 2 +- DataService/schema.json | 602 +++++++++++++++++- Dataset/examples/example-normalized.jsonld | 6 + Dataset/schema.json | 139 +++- 6 files changed, 749 insertions(+), 47 deletions(-) diff --git a/DataService/README.md b/DataService/README.md index 808b921..b862dc6 100644 --- a/DataService/README.md +++ b/DataService/README.md @@ -1,7 +1,7 @@ [![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) # DataService -Version: 0.2.0 +Version: 1.0.0 ## Description diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 4f7445e..506e8ef 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -28,8 +28,20 @@ } }, "description": { - "type": "Property", - "value": "Data service for the solar system open data portal." + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } }, "endpointDescription": { "type": "Property", @@ -47,7 +59,7 @@ }, "license": { "type": "Property", - "value": "EUPL." + "value": "EUPL-1.2" }, "operationSpace": { "type": "GeoProperty", @@ -60,18 +72,27 @@ } }, "servesDataset": { - "type": "Property", - "value": [ - "EU geographic map", - "EU physical map" + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Dataset:id:HUZY:41266715", + "urn:ngsi-ld:Dataset:id:HUZY:41266716" ] }, "title": { - "type": "Property", - "value": [ - "Data service of the european open data portal", - "Data service del portal europeo de datos abiertos" - ] + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } }, "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" diff --git a/DataService/notes.yaml b/DataService/notes.yaml index 6d051bc..455c234 100644 --- a/DataService/notes.yaml +++ b/DataService/notes.yaml @@ -1,5 +1,5 @@ notesHeader: - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to mantain compatibility with NGSI standard and other data models. + Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to maintain compatibility with NGSI standard and other data models. Adding of the FAIR principles and MELODA5 dimensions properties. notesMiddle: diff --git a/DataService/schema.json b/DataService/schema.json index d1c7a14..286ed5f 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -74,12 +74,25 @@ } }, "servesDataset": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", - "items": { + "type": "array", + "description": "Relationship. Model:'https://www.w3.org/ns/dcat#servesDataset'. This property refers to a collection of data that this data service can distribute", + "items": { + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", + "anyOf": [ + { "type": "string", - "description": "Property. Every dataset distributed" - } + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ] + } }, "accessRights": { "type": "string", @@ -120,7 +133,582 @@ }, "license": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the licence under which the Data service is made available" + "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the licence under which the Data service is made available", + "enum": [ + "0BSD", + "AAL", + "Abstyles", + "AdaCore-doc", + "Adobe-2006", + "Adobe-Glyph", + "ADSL", + "AFL-1.1", + "AFL-1.2", + "AFL-2.0", + "AFL-2.1", + "AFL-3.0", + "Afmparse", + "AGPL-1.0", + "AGPL-1.0-only", + "AGPL-1.0-or-later", + "AGPL-3.0", + "AGPL-3.0-only", + "AGPL-3.0-or-later", + "Aladdin", + "AMDPLPA", + "AML", + "AMPAS", + "ANTLR-PD", + "ANTLR-PD-fallback", + "Apache-1.0", + "Apache-1.1", + "Apache-2.0", + "APAFML", + "APL-1.0", + "App-s2p", + "APSL-1.0", + "APSL-1.1", + "APSL-1.2", + "APSL-2.0", + "Arphic-1999", + "Artistic-1.0", + "Artistic-1.0-cl8", + "Artistic-1.0-Perl", + "Artistic-2.0", + "ASWF-Digital-Assets-1.0", + "ASWF-Digital-Assets-1.1", + "Baekmuk", + "Bahyph", + "Barr", + "Beerware", + "Bitstream-Charter", + "Bitstream-Vera", + "BitTorrent-1.0", + "BitTorrent-1.1", + "blessing", + "BlueOak-1.0.0", + "Boehm-GC", + "Borceux", + "Brian-Gladman-3-Clause", + "BSD-1-Clause", + "BSD-2-Clause", + "BSD-2-Clause-FreeBSD", + "BSD-2-Clause-NetBSD", + "BSD-2-Clause-Patent", + "BSD-2-Clause-Views", + "BSD-3-Clause", + "BSD-3-Clause-Attribution", + "BSD-3-Clause-Clear", + "BSD-3-Clause-LBNL", + "BSD-3-Clause-Modification", + "BSD-3-Clause-No-Military-License", + "BSD-3-Clause-No-Nuclear-License", + "BSD-3-Clause-No-Nuclear-License-2014", + "BSD-3-Clause-No-Nuclear-Warranty", + "BSD-3-Clause-Open-MPI", + "BSD-4-Clause", + "BSD-4-Clause-Shortened", + "BSD-4-Clause-UC", + "BSD-4.3RENO", + "BSD-4.3TAHOE", + "BSD-Advertising-Acknowledgement", + "BSD-Attribution-HPND-disclaimer", + "BSD-Protection", + "BSD-Source-Code", + "BSL-1.0", + "BUSL-1.1", + "bzip2-1.0.5", + "bzip2-1.0.6", + "C-UDA-1.0", + "CAL-1.0", + "CAL-1.0-Combined-Work-Exception", + "Caldera", + "CATOSL-1.1", + "CC-BY-1.0", + "CC-BY-2.0", + "CC-BY-2.5", + "CC-BY-2.5-AU", + "CC-BY-3.0", + "CC-BY-3.0-AT", + "CC-BY-3.0-DE", + "CC-BY-3.0-IGO", + "CC-BY-3.0-NL", + "CC-BY-3.0-US", + "CC-BY-4.0", + "CC-BY-NC-1.0", + "CC-BY-NC-2.0", + "CC-BY-NC-2.5", + "CC-BY-NC-3.0", + "CC-BY-NC-3.0-DE", + "CC-BY-NC-4.0", + "CC-BY-NC-ND-1.0", + "CC-BY-NC-ND-2.0", + "CC-BY-NC-ND-2.5", + "CC-BY-NC-ND-3.0", + "CC-BY-NC-ND-3.0-DE", + "CC-BY-NC-ND-3.0-IGO", + "CC-BY-NC-ND-4.0", + "CC-BY-NC-SA-1.0", + "CC-BY-NC-SA-2.0", + "CC-BY-NC-SA-2.0-DE", + "CC-BY-NC-SA-2.0-FR", + "CC-BY-NC-SA-2.0-UK", + "CC-BY-NC-SA-2.5", + "CC-BY-NC-SA-3.0", + "CC-BY-NC-SA-3.0-DE", + "CC-BY-NC-SA-3.0-IGO", + "CC-BY-NC-SA-4.0", + "CC-BY-ND-1.0", + "CC-BY-ND-2.0", + "CC-BY-ND-2.5", + "CC-BY-ND-3.0", + "CC-BY-ND-3.0-DE", + "CC-BY-ND-4.0", + "CC-BY-SA-1.0", + "CC-BY-SA-2.0", + "CC-BY-SA-2.0-UK", + "CC-BY-SA-2.1-JP", + "CC-BY-SA-2.5", + "CC-BY-SA-3.0", + "CC-BY-SA-3.0-AT", + "CC-BY-SA-3.0-DE", + "CC-BY-SA-3.0-IGO", + "CC-BY-SA-4.0", + "CC-PDDC", + "CC0-1.0", + "CDDL-1.0", + "CDDL-1.1", + "CDL-1.0", + "CDLA-Permissive-1.0", + "CDLA-Permissive-2.0", + "CDLA-Sharing-1.0", + "CECILL-1.0", + "CECILL-1.1", + "CECILL-2.0", + "CECILL-2.1", + "CECILL-B", + "CECILL-C", + "CERN-OHL-1.1", + "CERN-OHL-1.2", + "CERN-OHL-P-2.0", + "CERN-OHL-S-2.0", + "CERN-OHL-W-2.0", + "CFITSIO", + "check-cvs", + "checkmk", + "ClArtistic", + "Clips", + "CMU-Mach", + "CNRI-Jython", + "CNRI-Python", + "CNRI-Python-GPL-Compatible", + "COIL-1.0", + "Community-Spec-1.0", + "Condor-1.1", + "copyleft-next-0.3.0", + "copyleft-next-0.3.1", + "Cornell-Lossless-JPEG", + "CPAL-1.0", + "CPL-1.0", + "CPOL-1.02", + "Crossword", + "CrystalStacker", + "CUA-OPL-1.0", + "Cube", + "curl", + "D-FSL-1.0", + "diffmark", + "DL-DE-BY-2.0", + "DL-DE-ZERO-2.0", + "DOC", + "Dotseqn", + "DRL-1.0", + "DSDP", + "dtoa", + "dvipdfm", + "ECL-1.0", + "ECL-2.0", + "eCos-2.0", + "EFL-1.0", + "EFL-2.0", + "eGenix", + "Elastic-2.0", + "Entessa", + "EPICS", + "EPL-1.0", + "EPL-2.0", + "ErlPL-1.1", + "etalab-2.0", + "EUDatagrid", + "EUPL-1.0", + "EUPL-1.1", + "EUPL-1.2", + "Eurosym", + "Fair", + "FDK-AAC", + "Frameworx-1.0", + "FreeBSD-DOC", + "FreeImage", + "FSFAP", + "FSFUL", + "FSFULLR", + "FSFULLRWD", + "FTL", + "GD", + "GFDL-1.1", + "GFDL-1.1-invariants-only", + "GFDL-1.1-invariants-or-later", + "GFDL-1.1-no-invariants-only", + "GFDL-1.1-no-invariants-or-later", + "GFDL-1.1-only", + "GFDL-1.1-or-later", + "GFDL-1.2", + "GFDL-1.2-invariants-only", + "GFDL-1.2-invariants-or-later", + "GFDL-1.2-no-invariants-only", + "GFDL-1.2-no-invariants-or-later", + "GFDL-1.2-only", + "GFDL-1.2-or-later", + "GFDL-1.3", + "GFDL-1.3-invariants-only", + "GFDL-1.3-invariants-or-later", + "GFDL-1.3-no-invariants-only", + "GFDL-1.3-no-invariants-or-later", + "GFDL-1.3-only", + "GFDL-1.3-or-later", + "Giftware", + "GL2PS", + "Glide", + "Glulxe", + "GLWTPL", + "GNU-compiler-exception", + "gnuplot", + "GPL-1.0", + "GPL-1.0+", + "GPL-1.0-only", + "GPL-1.0-or-later", + "GPL-2.0", + "GPL-2.0+", + "GPL-2.0-only", + "GPL-2.0-or-later", + "GPL-2.0-with-autoconf-exception", + "GPL-2.0-with-bison-exception", + "GPL-2.0-with-classpath-exception", + "GPL-2.0-with-font-exception", + "GPL-2.0-with-GCC-exception", + "GPL-3.0", + "GPL-3.0+", + "GPL-3.0-only", + "GPL-3.0-or-later", + "GPL-3.0-with-autoconf-exception", + "GPL-3.0-with-GCC-exception", + "Graphics-Gems", + "gSOAP-1.3b", + "HaskellReport", + "Hippocratic-2.1", + "HP-1986", + "HP-1989", + "HPND", + "HPND-export-US", + "HPND-Markus-Kuhn", + "HPND-sell-variant", + "HPND-sell-variant-MIT-disclaimer", + "HTMLTIDY", + "IBM-pibs", + "ICU", + "IEC-Code-Components-EULA", + "IJG", + "IJG-short", + "ImageMagick", + "iMatix", + "Imlib2", + "Info-ZIP", + "Inner-Net-2.0", + "Intel", + "Intel-ACPI", + "Interbase-1.0", + "IPA", + "IPL-1.0", + "ISC", + "Jam", + "JasPer-2.0", + "JPL-image", + "JPNIC", + "JSON", + "Kazlib", + "Knuth-CTAN", + "LAL-1.2", + "LAL-1.3", + "Latex2e", + "Latex2e-translated-notice", + "Leptonica", + "LGPL-2.0", + "LGPL-2.0+", + "LGPL-2.0-only", + "LGPL-2.0-or-later", + "LGPL-2.1", + "LGPL-2.1+", + "LGPL-2.1-only", + "LGPL-2.1-or-later", + "LGPL-3.0", + "LGPL-3.0+", + "LGPL-3.0-only", + "LGPL-3.0-or-later", + "LGPLLR", + "Libpng", + "libpng-2.0", + "libselinux-1.0", + "libtiff", + "libutil-David-Nugent", + "LiLiQ-P-1.1", + "LiLiQ-R-1.1", + "LiLiQ-Rplus-1.1", + "Linux-man-pages-1-para", + "Linux-man-pages-copyleft", + "Linux-man-pages-copyleft-2-para", + "Linux-man-pages-copyleft-var", + "Linux-OpenIB", + "LOOP", + "LPL-1.0", + "LPL-1.02", + "LPPL-1.0", + "LPPL-1.1", + "LPPL-1.2", + "LPPL-1.3a", + "LPPL-1.3c", + "LZMA-SDK-9.11-to-9.20", + "LZMA-SDK-9.22", + "MakeIndex", + "Martin-Birgmeier", + "metamail", + "Minpack", + "MirOS", + "MIT", + "MIT-0", + "MIT-advertising", + "MIT-CMU", + "MIT-enna", + "MIT-feh", + "MIT-Festival", + "MIT-Modern-Variant", + "MIT-open-group", + "MIT-testregex", + "MIT-Wu", + "MITNFA", + "MMIXware", + "Motosoto", + "MPEG-Software-Simulation", + "mpi-permissive", + "mpich2", + "MPL-1.0", + "MPL-1.1", + "MPL-2.0", + "MPL-2.0-no-copyleft-exception", + "mplus", + "MS-LPL", + "MS-PL", + "MS-RL", + "MTLL", + "MulanPSL-1.0", + "MulanPSL-2.0", + "Multics", + "Mup", + "NAIST-2003", + "NASA-1.3", + "Naumen", + "NBPL-1.0", + "NCGL-UK-2.0", + "NCSA", + "Net-SNMP", + "NetCDF", + "Newsletr", + "NGPL", + "NICTA-1.0", + "NIST-PD", + "NIST-PD-fallback", + "NIST-Software", + "NLOD-1.0", + "NLOD-2.0", + "NLPL", + "Nokia", + "NOSL", + "Noweb", + "NPL-1.0", + "NPL-1.1", + "NPOSL-3.0", + "NRL", + "NTP", + "NTP-0", + "Nunit", + "O-UDA-1.0", + "OCCT-PL", + "OCLC-2.0", + "ODbL-1.0", + "ODC-By-1.0", + "OFFIS", + "OFL-1.0", + "OFL-1.0-no-RFN", + "OFL-1.0-RFN", + "OFL-1.1", + "OFL-1.1-no-RFN", + "OFL-1.1-RFN", + "OGC-1.0", + "OGDL-Taiwan-1.0", + "OGL-Canada-2.0", + "OGL-UK-1.0", + "OGL-UK-2.0", + "OGL-UK-3.0", + "OGTSL", + "OLDAP-1.1", + "OLDAP-1.2", + "OLDAP-1.3", + "OLDAP-1.4", + "OLDAP-2.0", + "OLDAP-2.0.1", + "OLDAP-2.1", + "OLDAP-2.2", + "OLDAP-2.2.1", + "OLDAP-2.2.2", + "OLDAP-2.3", + "OLDAP-2.4", + "OLDAP-2.5", + "OLDAP-2.6", + "OLDAP-2.7", + "OLDAP-2.8", + "OLFL-1.3", + "OML", + "OpenPBS-2.3", + "OpenSSL", + "OPL-1.0", + "OPL-UK-3.0", + "OPUBL-1.0", + "OSET-PL-2.1", + "OSL-1.0", + "OSL-1.1", + "OSL-2.0", + "OSL-2.1", + "OSL-3.0", + "Parity-6.0.0", + "Parity-7.0.0", + "PDDL-1.0", + "PHP-3.0", + "PHP-3.01", + "Plexus", + "pnmstitch", + "PolyForm-Noncommercial-1.0.0", + "PolyForm-Small-Business-1.0.0", + "PostgreSQL", + "PSF-2.0", + "psfrag", + "psutils", + "Python-2.0", + "Python-2.0.1", + "Qhull", + "QPL-1.0", + "QPL-1.0-INRIA-2004", + "Rdisc", + "RHeCos-1.1", + "RPL-1.1", + "RPL-1.5", + "RPSL-1.0", + "RSA-MD", + "RSCPL", + "Ruby", + "SANE-exception", + "SAX-PD", + "Saxpath", + "SCEA", + "SchemeReport", + "Sendmail", + "Sendmail-8.23", + "SGI-B-1.0", + "SGI-B-1.1", + "SGI-B-2.0", + "SGP4", + "SHL-0.5", + "SHL-0.51", + "SimPL-2.0", + "SISSL", + "SISSL-1.2", + "SL", + "Sleepycat", + "SMLNJ", + "SMPPL", + "SNIA", + "snprintf", + "Soundex", + "Spencer-86", + "Spencer-94", + "Spencer-99", + "SPL-1.0", + "SSH-OpenSSH", + "SSH-short", + "SSPL-1.0", + "StandardML-NJ", + "stunnel-exception", + "SugarCRM-1.1.3", + "SunPro", + "SWL", + "Symlinks", + "TAPR-OHL-1.0", + "TCL", + "TCP-wrappers", + "TermReadKey", + "Texinfo-exception", + "TMate", + "TORQUE-1.1", + "TOSL", + "TPDL", + "TPL-1.0", + "TTWL", + "TTYP0", + "TU-Berlin-1.0", + "TU-Berlin-2.0", + "UCAR", + "UCL-1.0", + "Unicode-DFS-2015", + "Unicode-DFS-2016", + "Unicode-TOU", + "UnixCrypt", + "Unlicense", + "UPL-1.0", + "URT-RLE", + "Vim", + "VOSTROM", + "VSL-1.0", + "W3C", + "W3C-19980720", + "W3C-20150513", + "w3m", + "Watcom-1.0", + "Widget-Workshop", + "Wsuipa", + "WTFPL", + "wxWindows", + "X11", + "X11-distribute-modifications-variant", + "Xdebug-1.03", + "Xerox", + "Xfig", + "XFree86-1.1", + "xinetd", + "xlock", + "Xnet", + "xpp", + "XSkat", + "YPL-1.0", + "YPL-1.1", + "Zed", + "Zeeff", + "Zend-2.0", + "Zimbra-1.3", + "Zimbra-1.4", + "Zlib", + "zlib-acknowledgement", + "ZPL-1.1", + "ZPL-2.0", + "ZPL-2.1" + ] }, "provenance": { "type": "array", @@ -338,7 +926,7 @@ } ], "required": [ - "endPointURL", + "endpointURL", "id", "title", "type" diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index f1711ac..9f1fe37 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -237,6 +237,12 @@ "meloda Team" ] }, + "applicableLegislation": { + "type": "Property", + "value": [ + "meloda Team" + ] + }, "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] diff --git a/Dataset/schema.json b/Dataset/schema.json index 7af3549..520c19e 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/schema#", + "$schema": "https://json-schema.org/draft/2020-12/schema", "$schemaVersion": "3.0.0", "modelTags": "INTERSTAT, WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", @@ -20,20 +20,70 @@ "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" }, "description": { - "type": "array", - "description": "LanguageProperty. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description", - "items": { - "type": "string", - "description": "Property. Every description in a language" - } + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": {"type": "string"}, + "de": {"type": "string"}, + "es": {"type": "string"}, + "fr": {"type": "string"}, + "it": {"type": "string"}, + "ja": {"type": "string"}, + "ko": {"type": "string"}, + "zh": {"type": "string"}, + "el": {"type": "string"}, + "nl": {"type": "string"}, + "fi": {"type": "string"} + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] }, "title": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name", - "items": { - "type": "string", - "description": "LanguageProperty. Every title in a language" - } + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": {"type": "string"}, + "de": {"type": "string"}, + "es": {"type": "string"}, + "fr": {"type": "string"}, + "it": {"type": "string"}, + "ja": {"type": "string"}, + "ko": {"type": "string"}, + "zh": {"type": "string"}, + "el": {"type": "string"}, + "nl": {"type": "string"}, + "fi": {"type": "string"} + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] }, "contactPoint": { "type": "array", @@ -152,11 +202,23 @@ }, "hasVersion": { "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", "items": { - "type": "string", - "format": "uri", - "description": "Property. Every version of the related datasets" + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ] } }, "identifier": { @@ -197,7 +259,7 @@ }, "language": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. Improve the description of the property to provide\nonly the values defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", + "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. Improve the description of the property to provide only the values defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", "items": { "type": "string", "description": "Property. Every language included" @@ -262,11 +324,23 @@ }, "source": { "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived.", "items": { - "type": "string", - "format": "uri", - "description": "Property. Every dataset which is a source of the current dataset" + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ] } }, "spatialResolutionInMeters": { @@ -382,7 +456,7 @@ }, "applicableLegislation": { "type": "array", - "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n", "items": { "type": "string", "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation,policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." @@ -390,10 +464,23 @@ }, "inSeries": { "type": "array", - "description": "Relationship. This property links the Dataset to an available Distribution. Model:'http://www.w3.org/ns/dcat#Distribution'. A dataset series of which the dataset is part. Cardinality: 0..n", + "description": "Relationship. Model:'https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series'. This property links the Dataset to an available Distribution.", "items": { - "type": "string", - "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation,policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. A dataset series of which the dataset is part.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ] } }, "license": { From bb962718eb144c447a0b034a9e791d969e9baecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Tue, 15 Oct 2024 10:35:40 +0200 Subject: [PATCH 05/27] Update some examples problem and update notes.yaml and README.md of the subject --- Dataset/examples/example-normalized.jsonld | 49 +++++++++++++++++----- README.md | 4 +- notes.yaml | 4 +- 3 files changed, 44 insertions(+), 13 deletions(-) diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 9f1fe37..b7297a8 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -1,7 +1,7 @@ { "id": "urn:ngsi-ld:Dataset:id:HUZY:68185655", "type": "Dataset", - "modified": { + "modifiedAt": { "type": "Property", "value": { "@type": "DateTime", @@ -9,8 +9,10 @@ } }, "source": { - "type": "Property", - "value":"urn:ngsi-ld:Dataset:items:YSWN:41266715" + "type": "Relationship", + "value": [ + "urn:ngsi-ld:Dataset:items:YSWN:41266715" + ] }, "description": { "type": "LanguageProperty", @@ -29,10 +31,20 @@ } }, "title": { - "type": "Property", - "value": [ - "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid" - ] + "type": "LanguageProperty", + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } }, "contactPoint": { "type": "Property", @@ -120,8 +132,8 @@ "hasVersion": { "type": "Property", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:id:ASDF:68185655", + "urn:ngsi-ld:Dataset:id:ASDF:78185655" ] }, "identifier": { @@ -221,7 +233,7 @@ "type": "Property", "value": "" }, - "versionInfo": { + "version": { "type": "Property", "value": "3.0" }, @@ -240,7 +252,22 @@ "applicableLegislation": { "type": "Property", "value": [ - "meloda Team" + "Regulation 883/2004", + "Regulation 465/2012" + ] + }, + "inSeries": { + "type": "Relationship", + "value": [ + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" + ] + }, + "conformsTo": { + "type": "Property", + "value": [ + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" ] }, "@context": [ diff --git a/README.md b/README.md index c472a00..761f901 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # dataModel.DCAT-AP -These data models are mapped from version 2.1.1 of the DCAT-AP standard. [Link](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). They have been extended with the data model dataServiceRun data model and additional attributes +These data models are mapped from [version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211) +and [version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0) of the DCAT-AP standard. They have been extended +with the data model dataServiceRun data model and additional attributes. ### List of data models diff --git a/notes.yaml b/notes.yaml index da16eca..e0552c7 100644 --- a/notes.yaml +++ b/notes.yaml @@ -1,5 +1,7 @@ notesPrevious: - These data models are mapped from version 2.1.1 and 3.0.0 of the DCAT-AP standard. [Link](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211). They have been extended with the data model dataServiceRun data model and additional attributes + These data models are mapped from version [2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211) + and [3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0) of the DCAT-AP standard. They have been extended with + the data model dataServiceRun data model and additional attributes. notesEnd: "" \ No newline at end of file From 08d13f4d71e991a2bf7e411cd04ab89b4dd9ad1b Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Thu, 17 Oct 2024 15:43:50 +0200 Subject: [PATCH 06/27] Delete DataService/README.md --- DataService/README.md | 61 ------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 DataService/README.md diff --git a/DataService/README.md b/DataService/README.md deleted file mode 100644 index 344976f..0000000 --- a/DataService/README.md +++ /dev/null @@ -1,61 +0,0 @@ -[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - -# DataService -Version: 1.0.0 - -## Description - -Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard -### Specification - -Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/swagger.yaml) - -Link to the [specification](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec.md) - -Enlace a la [Especificación en español](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_ES.md) - -Lien vers le [spécification en français](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_FR.md) - -Link zur [deutschen Spezifikation](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_DE.md) - -Link alla [specifica](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_IT.md) - -[仕様へのリンク](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_JA.md) - -[链接到规范](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_ZH.md) - -[사양 링크](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_KO.md) -### Examples - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example.json) (keyvalues) for NGSI v2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example.jsonld) (keyvalues) for NGSI-LD - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example-normalized.json) (normalized) for NGSI-V2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example-normalized.jsonld) (normalized) for NGSI-LD - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example.json.csv) (keyvalues) for NGSI v2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example.jsonld.csv) (keyvalues) for NGSI-LD in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example-normalized.json.csv) (normalized) for NGSI-V2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example-normalized.jsonld.csv) (normalized) for NGSI-LD in CSV format -### Dynamic Examples generation - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of NGSI-LD normalized payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator_keyvalues.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/geojson_features_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of geojson feature format payloads compliant with this data model. Refresh for new values -### PostgreSQL schema - -Link to the [PostgreSQL schema](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/schema.sql) of this data model -### Contribution - - If you have any issue on this data model you can raise an [issue](https://github.com/smart-data-models/dataModel.DCAT-AP/issues) or contribute with a [PR](https://github.com/smart-data-models/dataModel.DCAT-AP/pulls) - - If you wish to develop your own data model you can start from [contribution manual](https://bit.ly/contribution_manual). Several services have been developed to help with: - - [Test data model repository](https://smartdatamodels.org/index.php/data-models-contribution-api/) including the schema and example payloads, etc - - [Generate PostgreSQL schema](https://smartdatamodels.org/index.php/sql-service/) to help create a table, create type, etc \ No newline at end of file From b8f38f5066cb7f83e94d3d00d6dde96965143754 Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Thu, 17 Oct 2024 16:02:11 +0200 Subject: [PATCH 07/27] Delete README.md --- README.md | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 761f901..0000000 --- a/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# dataModel.DCAT-AP -These data models are mapped from [version 2.1.1](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/211) -and [version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0) of the DCAT-AP standard. They have been extended -with the data model dataServiceRun data model and additional attributes. - -### List of data models - -The following entity types are available: -- [Agent](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Agent/README.md). Agent Schema meeting DCAT-AP 2.1.1 specification - -- [Catalogue](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Catalogue/README.md). Catalogue of datasets compliant with DCAT-AP specification version 2.1.1. - -- [CatalogueRecord](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/CatalogueRecord/README.md). This is a Catalogue Record belonging to a dataset according to the DCAT-AP standard 2.1.1 - -- [DataService](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/README.md). Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard - -- [DataServiceRun](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataServiceRun/README.md). A representation of one specific run of a data service (e.g. DataServiceDCAT-AP). - -- [Dataset](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/README.md). Dataset Schema meeting DCAT-AP 3.0.0 specification - -- [Distribution](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Distribution/README.md). This is a distribution belonging ot a dataset according to the DCAT-AP standard 2.1.1 - - - -### Contributors -[Link](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/CONTRIBUTORS.yaml) to the 6 current contributors of the data models of this Subject. - - -### Contribution -You can raise an [issue](https://github.com/smart-data-models/dataModel.DCAT-AP/issues) or submit your [PR](https://github.com/smart-data-models/dataModel.DCAT-AP/pulls) on existing data models - - From 1c64c0a5040808e74682305b4a9151b701820f11 Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Mon, 21 Oct 2024 18:26:44 +0200 Subject: [PATCH 08/27] Delete .gitignore --- .gitignore | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index eb4b68f..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# IDE -.idea From 06a4ed720a2a48ce7b649e28a7da105970490b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Wed, 6 Nov 2024 22:04:05 +0100 Subject: [PATCH 09/27] Resolutio some PR comments --- Catalogue/ADOPTERS.yaml | 14 +- DataService/ADOPTERS.yaml | 2 +- DataService/README.md | 61 ----- .../examples/example-normalized.jsonld | 34 ++- DataService/examples/example.jsonld | 48 +++- DataService/schema.json | 226 +++++++++++++----- Dataset/ADOPTERS.yaml | 2 +- Dataset/README.md | 61 ----- Dataset/examples/example-normalized.jsonld | 36 +-- Dataset/examples/example.jsonld | 60 ++++- Dataset/schema.json | 154 ++++++++---- 11 files changed, 422 insertions(+), 276 deletions(-) delete mode 100644 DataService/README.md delete mode 100644 Dataset/README.md diff --git a/Catalogue/ADOPTERS.yaml b/Catalogue/ADOPTERS.yaml index dc8ba20..b097ed8 100644 --- a/Catalogue/ADOPTERS.yaml +++ b/Catalogue/ADOPTERS.yaml @@ -1,10 +1,10 @@ description: This is a compilation list of the current adopters of the data model CatalogueDCAT-AP of the Subject dataModel.DCAT-AP. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml currentAdopters: - - adopter: - description: - mail: - organization: - project: - comments: - startDate: + adopter: Waterverse Project + description: + mail: + organization: + project: https://waterverse.eu/ + comments: Adoption of DCAT-AP to define metadata information of Datasets including FAIR and Meloda5 principles + startDate: 2024-10-01 diff --git a/DataService/ADOPTERS.yaml b/DataService/ADOPTERS.yaml index d12c3e4..38ad75a 100644 --- a/DataService/ADOPTERS.yaml +++ b/DataService/ADOPTERS.yaml @@ -23,4 +23,4 @@ currentAdopters: organization: project: https://waterverse.eu/ comments: Adoption of DCAT-AP to define metadata information of Datasets including FAIR and Meloda5 principles - startDate: 2022-10-01 \ No newline at end of file + startDate: 2024-10-01 diff --git a/DataService/README.md b/DataService/README.md deleted file mode 100644 index 344976f..0000000 --- a/DataService/README.md +++ /dev/null @@ -1,61 +0,0 @@ -[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - -# DataService -Version: 1.0.0 - -## Description - -Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard -### Specification - -Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/swagger.yaml) - -Link to the [specification](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec.md) - -Enlace a la [Especificación en español](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_ES.md) - -Lien vers le [spécification en français](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_FR.md) - -Link zur [deutschen Spezifikation](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_DE.md) - -Link alla [specifica](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_IT.md) - -[仕様へのリンク](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_JA.md) - -[链接到规范](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_ZH.md) - -[사양 링크](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/doc/spec_KO.md) -### Examples - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example.json) (keyvalues) for NGSI v2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example.jsonld) (keyvalues) for NGSI-LD - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example-normalized.json) (normalized) for NGSI-V2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/examples/example-normalized.jsonld) (normalized) for NGSI-LD - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example.json.csv) (keyvalues) for NGSI v2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example.jsonld.csv) (keyvalues) for NGSI-LD in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example-normalized.json.csv) (normalized) for NGSI-V2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/examples/example-normalized.jsonld.csv) (normalized) for NGSI-LD in CSV format -### Dynamic Examples generation - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of NGSI-LD normalized payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator_keyvalues.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/geojson_features_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/DataService/schema.json&email=info@smartdatamodels.org) of geojson feature format payloads compliant with this data model. Refresh for new values -### PostgreSQL schema - -Link to the [PostgreSQL schema](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/DataService/schema.sql) of this data model -### Contribution - - If you have any issue on this data model you can raise an [issue](https://github.com/smart-data-models/dataModel.DCAT-AP/issues) or contribute with a [PR](https://github.com/smart-data-models/dataModel.DCAT-AP/pulls) - - If you wish to develop your own data model you can start from [contribution manual](https://bit.ly/contribution_manual). Several services have been developed to help with: - - [Test data model repository](https://smartdatamodels.org/index.php/data-models-contribution-api/) including the schema and example payloads, etc - - [Generate PostgreSQL schema](https://smartdatamodels.org/index.php/sql-service/) to help create a table, create type, etc \ No newline at end of file diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 506e8ef..61f6937 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -57,10 +57,42 @@ "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ] }, - "license": { + "licence": { "type": "Property", "value": "EUPL-1.2" }, + "applicableLegislation": { + "type": "Property", + "value": [ + "Regulation 883/2004", + "Regulation 465/2012" + ] + }, + "conformsTo": { + "type": "Property", + "value": [ + "OGC WFS API" + ] + }, + "contactPoint": { + "type": "Property", + "value": [ + { + "type": "ContactPoint", + "email": "wheatfarm@email.com" + }, + { + "type": "ContactPoint", + "email": "vehiculoelectrico@ava.es" + } + ] + }, + "documentation": { + "type": "Property", + "value": [ + "http://foo.org/how-to" + ] + }, "operationSpace": { "type": "GeoProperty", "value": { diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index 6ee8bba..4c6a19f 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -11,20 +11,31 @@ "streetAddress": "2, rue Mercier" }, "areaServed": "European union and beyond", - "description": [ - "Digital resources for accessing to the end points of the EU open data portal for solar system.", - "Recursos digitales para el acceso a los puntos de interaccion del portal europeo de datos abiertos del sistema solar." - ], - "endPointDescription": [ + "description": { + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "endpointDescription": [ "SPARQL end point without authentication", "API compliant with CKAN specification" ], - "endPointURL": [ + "endpointURL": [ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ], - "license": "EUPL.", - "location": { + "licence": "EUPL.", + "operationSpace": { "coordinates": [ 72.564509, 11.125289 @@ -35,11 +46,22 @@ "EU geographic map", "EU physical map" ], - "title": [ - "Data service of the european open data portal", - "Data service del portal europeo de datos abiertos" - ], - "@context": [ + "title": { + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } +}, +"@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] } diff --git a/DataService/schema.json b/DataService/schema.json index 286ed5f..4a5288f 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -33,37 +33,68 @@ } }, "title": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": {"type": "string"}, - "de": {"type": "string"}, - "es": {"type": "string"}, - "fr": {"type": "string"}, - "it": {"type": "string"}, - "ja": {"type": "string"}, - "ko": {"type": "string"}, - "zh": {"type": "string"}, - "el": {"type": "string"}, - "nl": {"type": "string"}, - "fi": {"type": "string"} - }, - "additionalProperties": false - }, - "additionalProperties": false + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, - "additionalProperties": false - }, - { - "type": "string" + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + } + } } - ] + } + }, + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." + } + ] }, "endpointDescription": { "type": "array", @@ -101,39 +132,70 @@ "description": { "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. A free-text account of the Data Service.", "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": {"type": "string"}, - "de": {"type": "string"}, - "es": {"type": "string"}, - "fr": {"type": "string"}, - "it": {"type": "string"}, - "ja": {"type": "string"}, - "ko": {"type": "string"}, - "zh": {"type": "string"}, - "el": {"type": "string"}, - "nl": {"type": "string"}, - "fi": {"type": "string"} - }, - "additionalProperties": false + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, - "additionalProperties": false - }, - "additionalProperties": false + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + } + } + } + } }, - { - "type": "string" + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." } ] }, - "license": { + "licence": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the licence under which the Data service is made available", + "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data service is made available", "enum": [ "0BSD", "AAL", @@ -709,18 +771,66 @@ "ZPL-2.0", "ZPL-2.1" ] + }, + "applicableLegislation": { + "type": "array", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Data Service. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, + "conformsTo": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. An established (technical) standard to which the Data Service conforms. The standards referred here SHOULD describe the Data Service and not the data it serves. The latter is provided by the dataset with which this Data Service is connected. For instance the data service adheres to the OGC WFS API standard, while the associated dataset adheres to the INSPIRE (https://knowledge-base.inspire.ec.europa.eu/index_en) Address data model. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Standard'. A standard or other specification to which a resource conforms. This specification does not impose any additional requirements to properties for this entity." + } + }, + "contactPoint": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n", + "items": { + "type": "object", + "description": "Property. Model:'https://www.w3.org/ns/dcat#contactPoint'. Relevant contact information for the cataloged resource. Use of vCard is recommended (https://www.w3.org/TR/vcard-rdf/#d4e1819)." + } + }, + "documentation": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." + } + }, + "format": { + + }, + "keyword": { + + }, + "landingPage": { + + }, + "publisher": { + + }, + "theme": { + }, "provenance": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", "items": { - "type": "string" + "type": "string", + "description": "Property. Every lineage associated to the dataset" } }, "lastUpdated": { "type": "string", "format": "date-time", - "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behaviour." + "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behavior." }, "validationSchema": { "type": "string", diff --git a/Dataset/ADOPTERS.yaml b/Dataset/ADOPTERS.yaml index f5daf7c..95d19e2 100644 --- a/Dataset/ADOPTERS.yaml +++ b/Dataset/ADOPTERS.yaml @@ -7,4 +7,4 @@ currentAdopters: organization: project: https://waterverse.eu/ comments: Adoption of DCAT-AP to define metadata information of Datasets including FAIR and Meloda5 principles - startDate: 2022-10-01 \ No newline at end of file + startDate: 2024-10-01 diff --git a/Dataset/README.md b/Dataset/README.md deleted file mode 100644 index 89617e7..0000000 --- a/Dataset/README.md +++ /dev/null @@ -1,61 +0,0 @@ -[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - -# Dataset -Version: 3.0.0 - -## Description - -Dataset Schema meeting DCAT-AP 3.0.0 specification -### Specification - -Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/swagger.yaml) - -Link to the [specification](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec.md) - -Enlace a la [Especificación en español](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_ES.md) - -Lien vers le [spécification en français](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_FR.md) - -Link zur [deutschen Spezifikation](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_DE.md) - -Link alla [specifica](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_IT.md) - -[仕様へのリンク](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_JA.md) - -[链接到规范](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_ZH.md) - -[사양 링크](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/doc/spec_KO.md) -### Examples - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/examples/example.json) (keyvalues) for NGSI v2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/examples/example.jsonld) (keyvalues) for NGSI-LD - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/examples/example-normalized.json) (normalized) for NGSI-V2 - -Link to the [example](https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/examples/example-normalized.jsonld) (normalized) for NGSI-LD - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/examples/example.json.csv) (keyvalues) for NGSI v2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/examples/example.jsonld.csv) (keyvalues) for NGSI-LD in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/examples/example-normalized.json.csv) (normalized) for NGSI-V2 in CSV format - -Link to the [example](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/examples/example-normalized.jsonld.csv) (normalized) for NGSI-LD in CSV format -### Dynamic Examples generation - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/Dataset/schema.json&email=info@smartdatamodels.org) of NGSI-LD normalized payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator_keyvalues.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/Dataset/schema.json&email=info@smartdatamodels.org) of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values - -Link to the [Generator](https://smartdatamodels.org/extra/geojson_features_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/Dataset/schema.json&email=info@smartdatamodels.org) of geojson feature format payloads compliant with this data model. Refresh for new values -### PostgreSQL schema - -Link to the [PostgreSQL schema](https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/schema.sql) of this data model -### Contribution - - If you have any issue on this data model you can raise an [issue](https://github.com/smart-data-models/dataModel.DCAT-AP/issues) or contribute with a [PR](https://github.com/smart-data-models/dataModel.DCAT-AP/pulls) - - If you wish to develop your own data model you can start from [contribution manual](https://bit.ly/contribution_manual). Several services have been developed to help with: - - [Test data model repository](https://smartdatamodels.org/index.php/data-models-contribution-api/) including the schema and example payloads, etc - - [Generate PostgreSQL schema](https://smartdatamodels.org/index.php/sql-service/) to help create a table, create type, etc \ No newline at end of file diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index b7297a8..2317e21 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -49,7 +49,7 @@ "contactPoint": { "type": "Property", "value": [ - "https://datos.gob.es/es/comment/reply/145778." + "https://datos.gob.es/es/comment/reply/145778." ] }, "belongsToCatalogue": { @@ -116,13 +116,15 @@ }, "creator": { "type": "Property", - "value": "Comunidad de Madrid" + "value": [ + "Comunidad de Madrid" + ] }, "page": { "type": "Property", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" ] }, "accrualPeriodicity": { @@ -139,8 +141,8 @@ "identifier": { "type": "Property", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:items:MBNQ:57176010", + "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ] }, "isReferencedBy": { @@ -173,27 +175,29 @@ "otherIdentifier": { "type": "Property", "value": [ - "", - "" - ] + "urn:ngsi-ld:Dataset:items:ZNYR:18053145", + "urn:ngsi-ld:Dataset:items:ICBO:96194869" + ] }, "provenance": { "type": "Property", "value": [ - "", - "" + "1", + "2" ] }, "qualifiedAttribution": { "type": "Property", "value": [ - "" + "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", + "Home interesting range ever. Magazine the instead particularly. Late have collection." ] }, "qualifiedRelation": { "type": "Property", "value": [ - "" + "urn:ngsi-ld:Dataset:items:ITFK:67369057", + "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, "relation": { @@ -203,7 +207,7 @@ "urn:ngsi-ld:Dataset:items:ZAUC:79968579" ] }, - "issued": { + "releaseDate": { "type": "Property", "value": { "@type": "DateTime", @@ -217,7 +221,7 @@ "urn:ngsi-ld:Dataset:items:GNXL:59256807" ] }, - "spatialResolutionInMeters": { + "spatialResolution": { "type": "Property", "value": [ 0.6 @@ -231,7 +235,7 @@ }, "Type": { "type": "Property", - "value": "" + "value": "service" }, "version": { "type": "Property", diff --git a/Dataset/examples/example.jsonld b/Dataset/examples/example.jsonld index 449ee60..f1fe559 100644 --- a/Dataset/examples/example.jsonld +++ b/Dataset/examples/example.jsonld @@ -1,16 +1,40 @@ { "id": "urn:ngsi-ld:Dataset:id:VESI:23278568", "type": "Dataset", - "modified": "2015-07-13T03:09:32Z", + "modifiedAt": "2015-07-13T03:09:32Z", "source": [ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ], - "description": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid." - ], - "title": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid" - ], + "description": { + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, + "title": { + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, "contactPoint": [ "https://datos.gob.es/es/comment/reply/145778." ], @@ -111,16 +135,30 @@ "urn:ngsi-ld:Dataset:items:QJPZ:50290394", "urn:ngsi-ld:Dataset:items:ZSSA:73451152" ], - "spatialResolutionInMeters": 0.6, + "spatialResolution": 0.6, "temporalResolution": [ "PT15M" ], - "Type": "", - "version": "", - "versionNotes": [], + "Type": "service", + "version": "3.0", + "versionNotes": [ + "With temporal evolution" + ], "wasGeneratedBy": [ "datos.gob.es" ], + "applicableLegislation": [ + "Regulation 883/2004", + "Regulation 465/2012" + ], + "inSeries": [ + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" + ], + "conformsTo": [ + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" + ], "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] diff --git a/Dataset/schema.json b/Dataset/schema.json index d456690..5375ad7 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -11,10 +11,10 @@ "properties": { "type": { "type": "string", + "description": "Property. NGSI type. It has to be Dataset", "enum": [ "Dataset" - ], - "description": "Property. NGSI type. It has to be Dataset" + ] }, "id": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" @@ -22,66 +22,128 @@ "description": { "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description.", "oneOf": [ - { + { "type": "object", "properties": { "languageMap": { "type": "object", "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", "properties": { - "en": {"type": "string"}, - "de": {"type": "string"}, - "es": {"type": "string"}, - "fr": {"type": "string"}, - "it": {"type": "string"}, - "ja": {"type": "string"}, - "ko": {"type": "string"}, - "zh": {"type": "string"}, - "el": {"type": "string"}, - "nl": {"type": "string"}, - "fi": {"type": "string"} - }, - "additionalProperties": false - }, - "additionalProperties": false - }, - "additionalProperties": false + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + }, + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + } + } + } + } }, - { - "type": "string" + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." } ] }, "title": { "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", "oneOf": [ - { + { "type": "object", "properties": { "languageMap": { "type": "object", "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", "properties": { - "en": {"type": "string"}, - "de": {"type": "string"}, - "es": {"type": "string"}, - "fr": {"type": "string"}, - "it": {"type": "string"}, - "ja": {"type": "string"}, - "ko": {"type": "string"}, - "zh": {"type": "string"}, - "el": {"type": "string"}, - "nl": {"type": "string"}, - "fi": {"type": "string"} - }, - "additionalProperties": false - }, - "additionalProperties": false - }, - "additionalProperties": false + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in English." + }, + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Finnish." + } + } + } + } }, - { - "type": "string" + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." } ] }, @@ -308,7 +370,7 @@ "description": "Property. Every related resource included" } }, - "issued": { + "releaseDate": { "type": "string", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset", "format": "date-time" @@ -343,7 +405,7 @@ ] } }, - "spatialResolutionInMeters": { + "spatialResolution": { "type": "number", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters" }, @@ -358,7 +420,7 @@ }, "Type": { "type": "string", - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen" + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen. The value SHOULD be taken from a well governed and broadly recognised controlled vocabulary, such as DCMI Type vocabulary (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7), [ISO-19115-1] scope codes (https://standards.iso.org/iso/19115/resources/Codelists/gml/MD_ScopeCode.xml), Datacite resource types [DataCite] (https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd), PARSE.Insight content-types used by re3data.org [RE3DATA-SCHEMA] (https://www.re3data.org/) (see item 15 contentType), MARC intellectual resource types (http://id.loc.gov/vocabulary/marcgt.html). Some members of these controlled vocabularies are not strictly suitable for datasets or data services (e.g., DCMI Type Event, PhysicalObject; [ISO-19115-1](https://www.w3.org/TR/vocab-dcat-3/#bib-iso-19115-1) CollectionHardware, CollectionSession, Initiative, Sample, Repository), but might be used in the context of other kinds of catalogs defined in DCAT profiles or applications." }, "modifiedAt": { "type": "string", @@ -459,7 +521,7 @@ "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n", "items": { "type": "string", - "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation,policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." } }, "inSeries": { From 00dcd9605fb7dc1d1e8fb35298aaa7f5b0c8a48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 7 Nov 2024 14:20:25 +0100 Subject: [PATCH 10/27] Review of the examples and adding content to notes.yaml --- Dataset/examples/example-normalized.jsonld | 240 +++--- Dataset/examples/example.jsonld | 147 ++-- Dataset/notes.yaml | 46 +- Dataset/schema.json | 815 ++++++++++----------- 4 files changed, 669 insertions(+), 579 deletions(-) diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 2317e21..8412b7d 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -8,29 +8,49 @@ "@value": "2021-07-01T10:27:59Z" } }, - "source": { + "accessMechanism": { + "type": "Property", + "value": "Level3AccessMechanism" + }, + "accessRights": { + "type": "Property", + "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" + }, + "addressesAvailable": { + "type": "Property", + "value": "True" + }, + "applicableLegislation": { + "type": "Property", + "value": [ + "Regulation 883/2004", + "Regulation 465/2012" + ] + }, + "belongsToCatalogue": { "type": "Relationship", + "object": "urn:ngsi-ld:Catalogue:items:MWVK:61846917" + }, + "conformsTo": { + "type": "Property", "value": [ - "urn:ngsi-ld:Dataset:items:YSWN:41266715" + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" ] }, - "description": { - "type": "LanguageProperty", - "languageMap": { - "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", - "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", - "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", - "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", - "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", - "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", - "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", - "zh": "马德里大区不同类型和类别的旅游住宿。", - "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", - "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", - "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." - } + "contactPoint": { + "type": "Property", + "value": [ + "https://datos.gob.es/es/comment/reply/145778." + ] }, - "title": { + "creator": { + "type": "Property", + "value": [ + "Comunidad de Madrid" + ] + }, + "description": { "type": "LanguageProperty", "languageMap": { "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", @@ -46,15 +66,13 @@ "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." } }, - "contactPoint": { + "dissemination": { "type": "Property", - "value": [ - "https://datos.gob.es/es/comment/reply/145778." - ] + "value": "Level2Dissemination" }, - "belongsToCatalogue": { - "type": "Relationship", - "object": "urn:ngsi-ld:Catalogue:items:MWVK:61846917" + "disseminationOrganization": { + "type": "Property", + "value": "https://url_to_organization.org" }, "distribution": { "type": "Relationship", @@ -63,31 +81,18 @@ "urn:ngsi-ld:Distribution:items:MMWU:84196227" ] }, - "keyword": { + "documentation": { "type": "Property", "value": [ - "alojamiento", - "apartamento rural", - "apartamento turístico", - "campamento de turismo", - "camping", - "casa rural", - "casas de huéspedes", - "hostal", - "hostel", - "hosteria", - "hotel", - "hotel rural", - "hotel-apartamento", - "pension", - "vivienda de uso turistico" + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" ] }, - "publisher": { + "frequency": { "type": "Property", - "value": "Comunidad de madrid" + "value": "two years" }, - "spatial": { + "geographicalCoverage": { "type": "GeoProperty", "value": { "type": "Point", @@ -97,39 +102,9 @@ ] } }, - "temporal": { - "type": "Property", - "value": [ - "2023-04-03T02:35:57Z" - ] - }, - "theme": { - "type": "Property", - "value": [ - "Economy", - "Tourism" - ] - }, - "accessRights": { - "type": "Property", - "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" - }, - "creator": { - "type": "Property", - "value": [ - "Comunidad de Madrid" - ] - }, - "page": { - "type": "Property", - "value": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ] - }, - "accrualPeriodicity": { + "geolocation": { "type": "Property", - "value": "two years" + "value": "True" }, "hasVersion": { "type": "Property", @@ -145,6 +120,13 @@ "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ] }, + "inSeries": { + "type": "Relationship", + "value": [ + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" + ] + }, "isReferencedBy": { "type": "Relationship", "object": [ @@ -159,6 +141,26 @@ "urn:ngsi-ld:Dataset:items:GATZ:02632837" ] }, + "keyword": { + "type": "Property", + "value": [ + "alojamiento", + "apartamento rural", + "apartamento turístico", + "campamento de turismo", + "camping", + "casa rural", + "casas de huéspedes", + "hostal", + "hostel", + "hosteria", + "hotel", + "hotel rural", + "hotel-apartamento", + "pension", + "vivienda de uso turistico" + ] + }, "landingPage": { "type": "Property", "value": [ @@ -172,6 +174,10 @@ "ES" ] }, + "license": { + "type": "Property", + "value": "AGPL-3.0" + }, "otherIdentifier": { "type": "Property", "value": [ @@ -186,6 +192,10 @@ "2" ] }, + "publisher": { + "type": "Property", + "value": "Comunidad de madrid" + }, "qualifiedAttribution": { "type": "Property", "value": [ @@ -200,7 +210,7 @@ "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, - "relation": { + "relatedResource": { "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:LGBY:74926949", @@ -214,6 +224,14 @@ "@value": "2021-10-01T15:46:46Z" } }, + "reputation": { + "type": "Property", + "value": "Level2Reputation" + }, + "reputationOrganization": { + "type": "Property", + "value": "https://url_to_organization.org" + }, "sample": { "type": "Property", "value": [ @@ -221,22 +239,69 @@ "urn:ngsi-ld:Dataset:items:GNXL:59256807" ] }, + "source": { + "type": "Relationship", + "value": [ + "urn:ngsi-ld:Dataset:items:YSWN:41266715" + ] + }, "spatialResolution": { "type": "Property", "value": [ 0.6 ] }, + "standardization": { + "type": "Property", + "value": "Level4Standardization" + }, + "standardizationSource": { + "type": "Property", + "value": "https://www.w3.org/" + }, + "temporalCoverage": { + "type": "Property", + "value": [ + "2023-04-03T02:35:57Z" + ] + }, "temporalResolution": { "type": "Property", "value": [ "PT15M" ] }, + "theme": { + "type": "Property", + "value": [ + "Economy", + "Tourism" + ] + }, + "title": { + "type": "LanguageProperty", + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, "Type": { "type": "Property", "value": "service" }, + "validationSchema": { + "type": "Property", + "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json" + }, "version": { "type": "Property", "value": "3.0" @@ -253,27 +318,6 @@ "meloda Team" ] }, - "applicableLegislation": { - "type": "Property", - "value": [ - "Regulation 883/2004", - "Regulation 465/2012" - ] - }, - "inSeries": { - "type": "Relationship", - "value": [ - "urn:ngsi-ld:Dataset:id:HUZY:681332655", - "urn:ngsi-ld:Dataset:id:HUZY:681970245" - ] - }, - "conformsTo": { - "type": "Property", - "value": [ - "http://www.opengis.net/def/crs/EPSG/0/28992", - "http://data.europa.eu/eli/reg/2014/1312/oj" - ] - }, "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] diff --git a/Dataset/examples/example.jsonld b/Dataset/examples/example.jsonld index f1fe559..71e2e2e 100644 --- a/Dataset/examples/example.jsonld +++ b/Dataset/examples/example.jsonld @@ -2,8 +2,23 @@ "id": "urn:ngsi-ld:Dataset:id:VESI:23278568", "type": "Dataset", "modifiedAt": "2015-07-13T03:09:32Z", - "source": [ - "urn:ngsi-ld:Dataset:items:YSWN:41266715" + "accessMechanism": "Level3AccessMechanism", + "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", + "addressesAvailable": "True", + "applicableLegislation": [ + "Regulation 883/2004", + "Regulation 465/2012" + ], + "belongsToCatalogue": "urn:ngsi-ld:Catalogue:items:MWVK:61846917", + "conformsTo": [ + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" + ], + "contactPoint": [ + "https://datos.gob.es/es/comment/reply/145778." + ], + "creator": [ + "Comunidad de Madrid" ], "description": { "languageMap": { @@ -20,48 +35,18 @@ "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." } }, - "title": { - "languageMap": { - "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", - "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", - "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", - "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", - "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", - "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", - "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", - "zh": "马德里大区不同类型和类别的旅游住宿。", - "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", - "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", - "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." - } - }, - "contactPoint": [ - "https://datos.gob.es/es/comment/reply/145778." - ], - "belongsToCatalogue": "urn:ngsi-ld:Catalogue:items:MWVK:61846917", + "dissemination": "Level2Dissemination", + "disseminationOrganization": "https://url_to_organization.org", "distribution": [ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "keyword": [ - "alojamiento", - "apartamento rural", - "apartamento tur\u00edstico", - "campamento de turismo", - "camping", - "casa rural", - "casas de hu\u00e9spedes", - "hostal", - "hostel", - "hosteria", - "hotel", - "hotel rural", - "hotel-apartamento", - "pension", - "vivienda de uso turistico" + "documentation": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" ], - "publisher": "Statement which consumer product thought total. Nothing concern picture involve paper nor kid.", - "spatial": [ + "frequency": "weekly", + "geographicalCoverage": [ { "type": "Point", "coordinates": [ @@ -70,22 +55,7 @@ ] } ], - "temporal": [ - "2023-04-03T02:35:57Z" - ], - "theme": [ - "Economy", - "Tourism" - ], - "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", - "creator": [ - "Comunidad de Madrid" - ], - "page": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ], - "accrualPeriodicity": "weekly", + "geolocation": "True", "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", "urn:ngsi-ld:Dataset:items:FFVZ:69502935" @@ -94,6 +64,10 @@ "urn:ngsi-ld:Dataset:items:MBNQ:57176010", "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ], + "inSeries": [ + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" + ], "isReferencedBy": [ "urn:ngsi-ld:Dataset:items:YQRP:33454193", "urn:ngsi-ld:Dataset:items:RBND:48628164" @@ -102,6 +76,23 @@ "urn:ngsi-ld:Dataset:items:AMAC:16896252", "urn:ngsi-ld:Dataset:items:IPSO:04920226" ], + "keyword": [ + "alojamiento", + "apartamento rural", + "apartamento tur\u00edstico", + "campamento de turismo", + "camping", + "casa rural", + "casas de hu\u00e9spedes", + "hostal", + "hostel", + "hosteria", + "hotel", + "hotel rural", + "hotel-apartamento", + "pension", + "vivienda de uso turistico" + ], "landingPage": [ "urn:ngsi-ld:Dataset:items:UMBA:72418275", "urn:ngsi-ld:Dataset:items:GUKW:86586813" @@ -110,6 +101,7 @@ "EN", "SP" ], + "license": "AGPL-3.0", "otherIdentifier": [ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" @@ -118,6 +110,7 @@ "1", "2" ], + "publisher": "Statement which consumer product thought total. Nothing concern picture involve paper nor kid.", "qualifiedAttribution": [ "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", "Home interesting range ever. Magazine the instead particularly. Late have collection." @@ -126,20 +119,50 @@ "urn:ngsi-ld:Dataset:items:ITFK:67369057", "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ], - "relation": [ + "relatedResource": [ "urn:ngsi-ld:Dataset:items:FXEY:35067714", "urn:ngsi-ld:Dataset:items:YYOL:47950545" ], "releaseDate": "1983-07-16T12:51:26Z", + "reputation": "Level2Reputation", + "reputationOrganization": "https://url_to_organization.org", "sample": [ "urn:ngsi-ld:Dataset:items:QJPZ:50290394", "urn:ngsi-ld:Dataset:items:ZSSA:73451152" ], + "source": [ + "urn:ngsi-ld:Dataset:items:YSWN:41266715" + ], "spatialResolution": 0.6, + "standardization": "Level4Standardization", + "standardizationSource": "https://www.w3.org/", + "temporalCoverage": [ + "2023-04-03T02:35:57Z" + ], "temporalResolution": [ "PT15M" ], + "theme": [ + "Economy", + "Tourism" + ], + "title": { + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, "Type": "service", + "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json", "version": "3.0", "versionNotes": [ "With temporal evolution" @@ -147,18 +170,6 @@ "wasGeneratedBy": [ "datos.gob.es" ], - "applicableLegislation": [ - "Regulation 883/2004", - "Regulation 465/2012" - ], - "inSeries": [ - "urn:ngsi-ld:Dataset:id:HUZY:681332655", - "urn:ngsi-ld:Dataset:id:HUZY:681970245" - ], - "conformsTo": [ - "http://www.opengis.net/def/crs/EPSG/0/28992", - "http://data.europa.eu/eli/reg/2014/1312/oj" - ], "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index d56703d..aa13e44 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -1,7 +1,47 @@ notesHeader: - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). - Adding of the FAIR principles and MELODA5 dimensions properties. + - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). + - Adding of the FAIR principles and MELODA5 dimensions properties. + - accessMechanism, access level according to the 3 levels of Meloda5 metric. The expected values are: + - Level1AccessMechanism, Web access or unique URL parameters to dataset; + - Level2AccessMechanism: Web Access unique with parameters to single data; + - Level3AccessMechanism: API or query language. + - addressAvailable, defines if the data stream has postal addresses to identify the elements in the dataset. + - dissemination, dissemination level according to Meloda5 communication dimension: + - Level1Dissemination: communication/dissemination not systematic; + - Level2Dissemination: available resources on updates (i.e., RSS feed); + - Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely). + - diseminationOrganization, URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of Meloda5. + - geolocation, defines if the data stream has geolocation (coordinates) in any of its attributes. + - license, This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses). + - reputation, reputation level according to Meloda5 reputation dimension: + - Level1Reputation: no information about the reputation of the data source; + - Level2Reputation: statistics or reports published on user’s opinions; + - Level3Reputation: Indicators or rankings on reputation of the data source. + - reputationOrganization, URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of Meloda5 and it allows to retrieve their prestige from the ranking. + - standardization, the type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: + - Level1Standardization: data model standardized by the publisher without releasing the documentation; + - Level2Standardization: data model standardized by the published releasing the documentation; + - Level3Standardization: data model using a local standard (national or smaller regional scope); + - Level4Standardization: data model using an international standard. + - standardizationSource, URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4. + - validationSchema, URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program. notesMiddle: + +notesFooter: + # CHANGELOG DCAT-AP SEMIC Core Vocabulary -notesFooter: \ No newline at end of file + ## DCAT-AP 2.1.1 -> 3.0.0 ($schemaVersion": "2.0.1" -> $schemaVersion": "3.0.0") + + - spatial property translated to geographicalCoverage. + - modified property is translated to modifiedAt and deleted from the schema as per the ETSI NGSI-LD specification. + - temporal is translated to temporalCoverage. + - page is translated to documentation. + - accuralPeriodicity is translated to frequency. + - relation is translated to relatedResource. + - conformsTo changed the Model from 'http://purl.org/dc/terms/Standard' to 'http://purl.org/dc/terms/conformsTo'. + - title/description properties were represented as an array of strings, each entry in the array being a translation in a specific language. They are represented now as LanguageProperty defined in the ETSI NGSI-LD specification to offer multilanguage support of the Dataset data. + - hasVersion represented as Property, changed to Relationship of Datasets. + - language, defined the possible values are defined by the Library of Congress [ISO 639-1](http://id.loc.gov/vocabulary/iso639-1.html), [ISO 639-2](http://id.loc.gov/vocabulary/iso639-2.html). + - source changed from array of Properties to array of Relationships in the description of the property. + - versionInfo, as per the definition in the [DCAT v3 vocabulary specification](https://www.w3.org/TR/vocab-dcat-3/#Property:resource_version), they should be written version. diff --git a/Dataset/schema.json b/Dataset/schema.json index 5375ad7..1f53fe0 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -3,21 +3,91 @@ "$schemaVersion": "3.0.0", "modelTags": "INTERSTAT, WATERVERSE", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", - "title": "Dataset DCAT-AP 3.0.0 schema", - "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification", + "title": "Dataset DCAT-AP 3.0.0 schema.", + "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification.", "type": "object", "allOf": [ { "properties": { + "id": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" + }, "type": { "type": "string", - "description": "Property. NGSI type. It has to be Dataset", + "description": "Property. NGSI type. It has to be Dataset.", "enum": [ "Dataset" ] }, - "id": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" + "accessMechanism": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Access level according to the 3 levels of MELODA5 metric. The expected values are: * Level1AccessMechanism: Web access or unique URL parameters to dataset. * Level2AccessMechanism: Web Access unique with parameters to single data. * Level3AccessMechanism: API or query language.", + "enum": [ + "Level1AccessMechanism", + "Level2AccessMechanism", + "Level3AccessMechanism" + ] + }, + "accessRights": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public." + }, + "addressesAvailable": { + "type": "string", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", + "enum": [ + "True", + "False" + ] + }, + "applicableLegislation": { + "type": "array", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n.", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, + "belongsToCatalogue": { + "description": "Relationship. It links the Dataset to its parent Catalogue. Model:'https://www.w3.org/ns/dcat#Catalogue'. Note: this attribute does not belong to the current version of DCAT-AP, 2.1.1.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Link to the catalogue." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Link to the catalogue." + } + ] + }, + "conformsTo": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. This property refers to an implementing rule or other specification.", + "items": { + "type": "string", + "description": "Property. Every rule or specification applicable." + } + }, + "contactPoint": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2006/vcard/ns#Kind'. This property contains contact information that can be used for sending comments about the Dataset.", + "items": { + "type": "string", + "description": "Property. Every contact element." + } + }, + "creator": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to the entity primarily responsible for producing the dataset.", + "items": { + "type": "string", + "description": "Property. Every creator included." + } }, "description": { "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description.", @@ -83,445 +153,96 @@ } ] }, - "title": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in English." - }, - "de": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in German." - }, - "es": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Spanish." - }, - "fr": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in French." - }, - "it": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Italian." - }, - "ja": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Japanese." - }, - "ko": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Korean." - }, - "zh": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Chinese." - }, - "el": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Modern Greek." - }, - "nl": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Dutch." - }, - "fi": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Finnish." - } - } - } - } - }, - { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." - } - ] - }, - "contactPoint": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2006/vcard/ns#Kind'. This property contains contact information that can be used for sending comments about the Dataset", - "items": { - "type": "string", - "description": "Property. Every contact element" - } - }, - "belongsToCatalogue": { - "description": "Relationship. It links the Dataset to its parent Catalogue. Model:'https://www.w3.org/ns/dcat#Catalogue'. Note: this attribute does not belong to the current version of DCAT-AP, 2.1.1", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Link to the catalogue" - }, - { - "type": "string", - "format": "uri", - "description": "Property. Link to the catalogue" - } - ] - }, - "distribution": { - "type": "array", - "description": "Relationship. This property links the Dataset to an available Distribution. Model:'http://www.w3.org/ns/dcat#Distribution'", - "items": { - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Every link to a distribution" - }, - { - "type": "string", - "format": "uri", - "description": "Property. Every link to a distribution" - } - ] - } - }, - "keyword": { - "type": "array", - "description": "Property. This property contains a keyword or tag, describing the Dataset. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'", - "items": { - "type": "string", - "description": "Property. Every keyword tag included" - } - }, - "publisher": { - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to an entity (organisation) responsible for making the Dataset available", - "type": "string" - }, - "spatial": { - "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset", - "type": "array", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", - "description": "Property. Every location included" - } - }, - "temporal": { - "description": "Property. This property refers to a temporal period that the Dataset covers. Model:'http://purl.org/dc/terms/PeriodOfTime'", - "type": "array", - "items": { - "type": "string", - "format": "date-time", - "description": "Property. Every temporal period included" - } - }, - "theme": { - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes", - "type": "array", - "items": { - "type": "string", - "description": "Property. Every theme included" - } - }, - "accessRights": { + "dissemination": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public" - }, - "creator": { - "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to the entity primarily responsible for producing the dataset", - "items": { - "type": "string", - "description": "Property. Every creator included" - } - }, - "conformsTo": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. This property refers to an implementing rule or other specification. ", - "items": { - "type": "string", - "description": "Property. Every rule or specification applicable" - } - }, - "page": { - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset. ", - "type": "array", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every page or document" - } + "description": "Property. Model:'https://schema.org/Text'. Dissemination level according to MELODA5 communication dimension: * Level1Dissemination: communication/dissemination not systematic. * Level2Dissemination: available resources on updates (i.e., RSS feed). * Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely).", + "enum": [ + "Level1Dissemination", + "Level2Dissemination", + "Level3Dissemination" + ] }, - "accrualPeriodicity": { + "disseminationOrganization": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated" + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of MELODA5." }, - "hasVersion": { + "distribution": { "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Distribution'. This property links the Dataset to an available Distribution.", "items": { - "description": "Property. Every version of the related datasets.", "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Every link to a distribution." }, { "type": "string", "format": "uri", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Every link to a distribution." } ] } }, - "identifier": { + "documentation": { + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset.", "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue", "items": { "type": "string", "format": "uri", - "description": "Property. Every identifier of the dataset" - } - }, - "isReferencedBy": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every resource related to the dataset" - } - }, - "isVersionOf": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset of which the described Dataset is a version, edition, or adaptation", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every dataset that the current dataset is a version of it" - } - }, - "landingPage": { - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a web page that provides access to the Dataset, its Distributions and/or additional information. It is intended to point to a landing page at the original data provider, not to a page on a site of a third party, such as an aggregator", - "type": "array", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every web page listed" - } - }, - "language": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. Improve the description of the property to provide only the values defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", - "items": { - "type": "string", - "description": "Property. Every language included" - } - }, - "otherIdentifier": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/adms#Identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every additional identifier included" - } - }, - "provenance": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. This property contains a statement about the lineage of a Dataset", - "items": { - "type": "string", - "description": "Property. Every lineage associated to the dataset" - } - }, - "qualifiedAttribution": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property refers to a link to an Agent having some form of responsibility for the resource", - "items": { - "type": "string", - "description": "Property. Every attribution included" - } - }, - "qualifiedRelation": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property provides a link to a description of a relationship with another resource", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every qualified relation included" - } - }, - "relation": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property refers to a related resource", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every related resource included" - } - }, - "releaseDate": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset", - "format": "date-time" - }, - "sample": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Distribution'. This property refers to a sample distribution of the dataset", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every sample included with the dataset" - } - }, - "source": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived.", - "items": { - "description": "Property. Every version of the related datasets.", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity" - }, - { - "type": "string", - "format": "uri", - "description": "Property. Identifier format of any NGSI entity" - } - ] - } - }, - "spatialResolution": { - "type": "number", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters" - }, - "temporalResolution": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to the minimum time period resolvable in the dataset. ", - "items": { - "type": "string", - "format": "duration", - "description": "Property. Every temporal resolution included" - } - }, - "Type": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen. The value SHOULD be taken from a well governed and broadly recognised controlled vocabulary, such as DCMI Type vocabulary (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7), [ISO-19115-1] scope codes (https://standards.iso.org/iso/19115/resources/Codelists/gml/MD_ScopeCode.xml), Datacite resource types [DataCite] (https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd), PARSE.Insight content-types used by re3data.org [RE3DATA-SCHEMA] (https://www.re3data.org/) (see item 15 contentType), MARC intellectual resource types (http://id.loc.gov/vocabulary/marcgt.html). Some members of these controlled vocabularies are not strictly suitable for datasets or data services (e.g., DCMI Type Event, PhysicalObject; [ISO-19115-1](https://www.w3.org/TR/vocab-dcat-3/#bib-iso-19115-1) CollectionHardware, CollectionSession, Initiative, Sample, Repository), but might be used in the context of other kinds of catalogs defined in DCAT profiles or applications." - }, - "modifiedAt": { - "type": "string", - "format": "date-time", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the most recent date on which the Dataset was changed or modified" - }, - "version": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a version number or other version designation of the Dataset" - }, - "versionNotes": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes", - "items": { - "type": "string", - "description": "Property. Every language description of the version notes" - } - }, - "wasGeneratedBy": { - "type": "array", - "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. This property refers to an activity that generated, or provides the business context for, the creation of the dataset", - "items": { - "type": "string", - "description": "Property. Every activity included" + "description": "Property. Every page or document." } }, - "geolocation": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", - "enum": [ - "True", - "False" - ] - }, - "addressesAvailable": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", - "enum": [ - "True", - "False" - ] - }, - "standardization": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. The type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: * Level1Standardization: data model standardized by the publisher without releasing the documentation. * Level2Standardization: data model standardized by the published releasing the documentation. * Level3Standardization: data model using a local standard (national or smaller regional scope). * Level4Standardization: data model using an international standard", - "enum": [ - "Level1Standardization", - "Level2Standardization", - "Level3Standardization", - "Level4Standardization" - ] - }, - "standardizationSource": { - "type": "string", - "description": "Property, Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." - }, - "validationSchema": { - "type": "string", - "description": "Property, Model:'https://schema.org/url'. URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program." - }, - "accessMechanism": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Access level according to the 3 levels of MELODA5 metric. The expected values are: * Level1AccessMechanism: Web access or unique URL parameters to dataset. * Level2AccessMechanism: Web Access unique with parameters to single data. * Level3AccessMechanism: API or query language.", - "enum": [ - "Level1AccessMechanism", - "Level2AccessMechanism", - "Level3AccessMechanism" - ] - }, - "dissemination": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Dissemination level according to MELODA5 communication dimension: * Level1Dissemination: communication/dissemination not systematic. * Level2Dissemination: available resources on updates (i.e., RSS feed). * Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely).", - "enum": [ - "Level1Dissemination", - "Level2Dissemination", - "Level3Dissemination" - ] - }, - "disseminationOrganization": { + "frequency": { "type": "string", - "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of MELODA5." + "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." }, - "reputation": { + "geographicalCoverage": { + "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset.", + "type": "array", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", + "description": "Property. Every location included." + } + }, + "geolocation": { "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", "enum": [ - "Level1Reputation", - "Level2Reputation", - "Level3Reputation" + "True", + "False" ] }, - "reputationOrganization": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." + "hasVersion": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", + "items": { + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity." + } + ] + } }, - "applicableLegislation": { + "identifier": { "type": "array", - "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue.", "items": { "type": "string", - "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + "format": "uri", + "description": "Property. Every identifier of the dataset." } }, "inSeries": { @@ -535,16 +256,59 @@ "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Identifier format of any NGSI entity." }, { "type": "string", "format": "uri", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Identifier format of any NGSI entity." } ] } }, + "isReferencedBy": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every resource related to the dataset." + } + }, + "isVersionOf": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset of which the described Dataset is a version, edition, or adaptation.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every dataset that the current dataset is a version of it." + } + }, + "keyword": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a keyword or tag, describing the Dataset.", + "items": { + "type": "string", + "description": "Property. Every keyword tag included." + } + }, + "landingPage": { + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a web page that provides access to the Dataset, its Distributions and/or additional information. It is intended to point to a landing page at the original data provider, not to a page on a site of a third party, such as an aggregator.", + "type": "array", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every web page listed." + } + }, + "language": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. The possible values are defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", + "items": { + "type": "string", + "description": "Property. Every language included." + } + }, "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses).", @@ -1123,6 +887,237 @@ "ZPL-2.0", "ZPL-2.1" ] + }, + "otherIdentifier": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/adms#Identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every additional identifier included." + } + }, + "provenance": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. This property contains a statement about the lineage of a Dataset.", + "items": { + "type": "string", + "description": "Property. Every lineage associated to the dataset." + } + }, + "publisher": { + "type": "string", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to an entity (organisation) responsible for making the Dataset available." + }, + "qualifiedAttribution": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property refers to a link to an Agent having some form of responsibility for the resource.", + "items": { + "type": "string", + "description": "Property. Every attribution included." + } + }, + "qualifiedRelation": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property provides a link to a description of a relationship with another resource.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every qualified relation included." + } + }, + "relatedResource": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property refers to a related resource.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every related resource included." + } + }, + "releaseDate": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", + "format": "date-time" + }, + "reputation": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", + "enum": [ + "Level1Reputation", + "Level2Reputation", + "Level3Reputation" + ] + }, + "reputationOrganization": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." + }, + "sample": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Distribution'. This property refers to a sample distribution of the dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every sample included with the dataset." + } + }, + "source": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived.", + "items": { + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity." + } + ] + } + }, + "spatialResolution": { + "type": "number", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters." + }, + "standardization": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. The type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: * Level1Standardization: data model standardized by the publisher without releasing the documentation. * Level2Standardization: data model standardized by the published releasing the documentation. * Level3Standardization: data model using a local standard (national or smaller regional scope). * Level4Standardization: data model using an international standard.", + "enum": [ + "Level1Standardization", + "Level2Standardization", + "Level3Standardization", + "Level4Standardization" + ] + }, + "standardizationSource": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." + }, + "temporalCoverage": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to a temporal period that the Dataset covers.", + "items": { + "type": "string", + "format": "date-time", + "description": "Property. Every temporal period included." + } + }, + "temporalResolution": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to the minimum time period resolvable in the dataset.", + "items": { + "type": "string", + "format": "duration", + "description": "Property. Every temporal resolution included." + } + }, + "theme": { + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes.", + "type": "array", + "items": { + "type": "string", + "description": "Property. Every theme included." + } + }, + "title": { + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property. Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in English." + }, + "de": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in German." + }, + "es": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in French." + }, + "it": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Italian." + }, + "ja": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Korean." + }, + "zh": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Chinese." + }, + "el": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Finnish." + } + } + } + } + }, + { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." + } + ] + }, + "Type": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen. The value SHOULD be taken from a well governed and broadly recognised controlled vocabulary, such as DCMI Type vocabulary (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7), [ISO-19115-1] scope codes (https://standards.iso.org/iso/19115/resources/Codelists/gml/MD_ScopeCode.xml), Datacite resource types [DataCite] (https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd), PARSE.Insight content-types used by re3data.org [RE3DATA-SCHEMA] (https://www.re3data.org/) (see item 15 contentType), MARC intellectual resource types (http://id.loc.gov/vocabulary/marcgt.html). Some members of these controlled vocabularies are not strictly suitable for datasets or data services (e.g., DCMI Type Event, PhysicalObject; [ISO-19115-1](https://www.w3.org/TR/vocab-dcat-3/#bib-iso-19115-1) CollectionHardware, CollectionSession, Initiative, Sample, Repository), but might be used in the context of other kinds of catalogs defined in DCAT profiles or applications." + }, + "validationSchema": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program." + }, + "version": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a version number or other version designation of the Dataset." + }, + "versionNotes": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes.", + "items": { + "type": "string", + "description": "Property. Every language description of the version notes." + } + }, + "wasGeneratedBy": { + "type": "array", + "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. This property refers to an activity that generated, or provides the business context for, the creation of the dataset.", + "items": { + "type": "string", + "description": "Property. Every activity included." + } } } } From 5abeec873f28a6c799daf00b6b5649bb98a4121e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 7 Nov 2024 16:50:22 +0100 Subject: [PATCH 11/27] Update DataService class and the jsonld examples --- .../examples/example-normalized.jsonld | 310 ++- DataService/examples/example.jsonld | 98 +- DataService/schema.json | 2007 +++++++-------- Dataset/schema.json | 2233 ++++++++--------- 4 files changed, 2368 insertions(+), 2280 deletions(-) diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 61f6937..8df5e8a 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -1,132 +1,182 @@ { - "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", - "type": "DataService", - "accessRights": { - "type": "Property", - "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" - }, - "address": { - "type": "Property", - "value": { - "streetAddress": "2, rue Mercier", - "addressLocality": "Luxembourg", - "addressRegion": "Luxembourg", - "addressCountry": "Luxembourg", - "postalCode": "2985", - "postOfficeBoxNumber": "" - } - }, - "areaServed": { - "type": "Property", - "value": "European union and beyond" - }, - "modifiedAt": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2021-10-06T16:31:26Z" - } - }, - "description": { - "type": "LanguageProperty", - "languageMap": { - "en": "Data service of the european open data portal", - "de": "Datendienst des Europäischen Portals für offene Daten", - "es": "Data service del portal europeo de datos abiertos", - "fr": "Service de données du portail européen de données ouvertes", - "it": "Servizio dati del Portale europeo dei dati aperti", - "ja": "欧州オープンデータ・ポータルのデータサービス", - "ko": "유럽 오픈 데이터 포털의 데이터 서비스", - "zh": "欧洲开放数据门户的数据服务", - "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", - "nl": "Dataservice van het Europese open dataportaal", - "fi": "Euroopan avoimen datan portaalin tietopalvelu" - } - }, - "endpointDescription": { - "type": "Property", - "value": [ - "SPARQL end point without authentication", - "API compliant with CKAN specification" - ] - }, - "endpointURL": { - "type": "Property", - "value": [ - "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", - "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" - ] - }, - "licence": { - "type": "Property", - "value": "EUPL-1.2" - }, - "applicableLegislation": { - "type": "Property", - "value": [ - "Regulation 883/2004", - "Regulation 465/2012" - ] - }, - "conformsTo": { - "type": "Property", - "value": [ - "OGC WFS API" - ] - }, - "contactPoint": { - "type": "Property", - "value": [ - { - "type": "ContactPoint", - "email": "wheatfarm@email.com" - }, - { - "type": "ContactPoint", - "email": "vehiculoelectrico@ava.es" - } - ] - }, - "documentation": { - "type": "Property", - "value": [ - "http://foo.org/how-to" - ] - }, - "operationSpace": { - "type": "GeoProperty", - "value": { - "type": "Point", - "coordinates": [ - 72.564509, - 11.125289 - ] - } - }, - "servesDataset": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:Dataset:id:HUZY:41266715", - "urn:ngsi-ld:Dataset:id:HUZY:41266716" - ] - }, - "title": { - "type": "LanguageProperty", - "languageMap": { - "en": "Data service of the european open data portal", - "de": "Datendienst des Europäischen Portals für offene Daten", - "es": "Data service del portal europeo de datos abiertos", - "fr": "Service de données du portail européen de données ouvertes", - "it": "Servizio dati del Portale europeo dei dati aperti", - "ja": "欧州オープンデータ・ポータルのデータサービス", - "ko": "유럽 오픈 데이터 포털의 데이터 서비스", - "zh": "欧洲开放数据门户的数据服务", - "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", - "nl": "Dataservice van het Europese open dataportaal", - "fi": "Euroopan avoimen datan portaalin tietopalvelu" - } - }, - "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", + "type": "DataService", + "modifiedAt": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-10-06T16:31:26Z" + } + }, + "accessRights": { + "type": "Property", + "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" + }, + "address": { + "type": "Property", + "value": { + "streetAddress": "2, rue Mercier", + "addressLocality": "Luxembourg", + "addressRegion": "Luxembourg", + "addressCountry": "Luxembourg", + "postalCode": "2985", + "postOfficeBoxNumber": "" + } + }, + "applicableLegislation": { + "type": "Property", + "value": [ + "Regulation 883/2004", + "Regulation 465/2012" ] -} \ No newline at end of file + }, + "areaServed": { + "type": "Property", + "value": "European Union and beyond" + }, + "conformsTo": { + "type": "Property", + "value": [ + "OGC WFS API" + ] + }, + "contactPoint": { + "type": "Property", + "value": [ + { + "type": "ContactPoint", + "email": "wheatfarm@email.com" + }, + { + "type": "ContactPoint", + "email": "vehiculoelectrico@ava.es" + } + ] + }, + "description": { + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "documentation": { + "type": "Property", + "value": [ + "http://foo.org/how-to" + ] + }, + "endpointDescription": { + "type": "Property", + "value": [ + "SPARQL end point without authentication", + "API compliant with CKAN specification" + ] + }, + "endpointURL": { + "type": "Property", + "value": [ + "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", + "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" + ] + }, + "format": { + "type": "Property", + "value": [ + "CSV", + "JSON" + ] + }, + "keyword": { + "type": "Property", + "value": [ + "Data Service", + "CKAN" + ] + }, + "landingPage": { + "type": "Property", + "value": [ + "https://dataservice.data", + "https://otherservice.data" + ] + }, + "lastUpdated": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-07-01T10:27:59Z" + } + }, + "licence": { + "type": "Property", + "value": "EUPL-1.2" + }, + "operationSpace": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 72.564509, + 11.125289 + ] + } + }, + "provenance": { + "type": "Property", + "value": [ + "1", + "2" + ] + }, + "publisher": { + "type": "Property", + "value": "Comunidad de madrid" + }, + "servesDataset": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Dataset:id:HUZY:41266715", + "urn:ngsi-ld:Dataset:id:HUZY:41266716" + ] + }, + "theme": { + "type": "Property", + "value": [ + "Economy", + "Tourism" + ] + }, + "title": { + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "validationSchema": { + "type": "Property", + "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" + }, + "@context": [ + "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + ] +} diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index 4c6a19f..0cd57c3 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -1,6 +1,7 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", + "modifiedAt": "2021-10-06T16:31:26Z", "accessRights": "No restrictions to access the data but APi requests limit, 5000 requests per hour", "address": { "addressCountry": "Luxembourg", @@ -10,22 +11,42 @@ "postalCode": "2985", "streetAddress": "2, rue Mercier" }, - "areaServed": "European union and beyond", + "applicableLegislation": [ + "Regulation 883/2004", + "Regulation 465/2012" + ], + "areaServed": "European Union and beyond", + "conformsTo": [ + "OGC WFS API" + ], + "contactPoint": [ + { + "type": "ContactPoint", + "email": "wheatfarm@email.com" + }, + { + "type": "ContactPoint", + "email": "vehiculoelectrico@ava.es" + } + ], "description": { "languageMap": { - "en": "Data service of the european open data portal", - "de": "Datendienst des Europäischen Portals für offene Daten", - "es": "Data service del portal europeo de datos abiertos", - "fr": "Service de données du portail européen de données ouvertes", - "it": "Servizio dati del Portale europeo dei dati aperti", - "ja": "欧州オープンデータ・ポータルのデータサービス", - "ko": "유럽 오픈 데이터 포털의 데이터 서비스", - "zh": "欧洲开放数据门户的数据服务", - "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", - "nl": "Dataservice van het Europese open dataportaal", - "fi": "Euroopan avoimen datan portaalin tietopalvelu" + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" } }, + "documentation": [ + "http://foo.org/how-to" + ], "endpointDescription": [ "SPARQL end point without authentication", "API compliant with CKAN specification" @@ -34,6 +55,19 @@ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ], + "format": [ + "CSV", + "JSON" + ], + "keyword": [ + "Data Service", + "CKAN" + ], + "landingPage": [ + "https://dataservice.data", + "https://otherservice.data" + ], + "lastUpdated": "2021-07-01T10:27:59Z", "licence": "EUPL.", "operationSpace": { "coordinates": [ @@ -42,26 +76,36 @@ ], "type": "Point" }, + "provenance": [ + "1", + "2" + ], + "publisher": "Comunidad de madrid", "servesDataset": [ - "EU geographic map", - "EU physical map" + "urn:ngsi-ld:Dataset:id:HUZY:41266715", + "urn:ngsi-ld:Dataset:id:HUZY:41266716" + ], + "theme": [ + "Economy", + "Tourism" ], "title": { "languageMap": { - "en": "Data service of the european open data portal", - "de": "Datendienst des Europäischen Portals für offene Daten", - "es": "Data service del portal europeo de datos abiertos", - "fr": "Service de données du portail européen de données ouvertes", - "it": "Servizio dati del Portale europeo dei dati aperti", - "ja": "欧州オープンデータ・ポータルのデータサービス", - "ko": "유럽 오픈 데이터 포털의 데이터 서비스", - "zh": "欧洲开放数据门户的数据服务", - "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", - "nl": "Dataservice van het Europese open dataportaal", - "fi": "Euroopan avoimen datan portaalin tietopalvelu" + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" } -}, -"@context": [ + }, + "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json", + "@context": [ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] } diff --git a/DataService/schema.json b/DataService/schema.json index 4a5288f..a900fc4 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -1,1044 +1,1055 @@ { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$schemaVersion": "1.0.0", - "modelTags": "WATERVERSE", - "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", - "title": "Data Service DCAT-AP 3.0.0 schema - extended", - "description": "Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard", - "type": "object", - "allOf": [ - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "1.0.0", + "modelTags": "WATERVERSE", + "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", + "title": "Data Service DCAT-AP 3.0.0 schema - extended", + "description": "Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "id": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" }, - { - "properties": { + "type": { + "type": "string", + "enum": ["DataService"], + "description": "Property. NGSI Entity type. It has to be DataService" + }, + "accessRights": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies" + }, + "applicableLegislation": { + "type": "array", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Data Service. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, + "conformsTo": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. An established (technical) standard to which the Data Service conforms. The standards referred here SHOULD describe the Data Service and not the data it serves. The latter is provided by the dataset with which this Data Service is connected. For instance the data service adheres to the OGC WFS API standard, while the associated dataset adheres to the INSPIRE (https://knowledge-base.inspire.ec.europa.eu/index_en) Address data model. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Standard'. A standard or other specification to which a resource conforms. This specification does not impose any additional requirements to properties for this entity." + } + }, + "contactPoint": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n", + "items": { + "type": "object", + "description": "Property. Model:'https://www.w3.org/ns/dcat#contactPoint'. Relevant contact information for the cataloged resource. Use of vCard is recommended (https://www.w3.org/TR/vcard-rdf/#d4e1819)." + } + }, + "description": { + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. A free-text account of the Data Service.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + }, + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + } + } + } + } + }, + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." + } + ] + }, + "documentation": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n", + "items": { + "type": "string", + "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." + } + }, + "endpointDescription": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement", + "items": { + "type": "string", + "description": "Property. Every service available at an end-point" + } + }, + "endpointURL": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. The root location or primary endpoint of the service (an IRI)", + "items": { + "type": "string", + "format": "uri", + "minItems": 1, + "description": "Property. Every root location" + } + }, + "format": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/format'. The structure that can be returned by querying the endpointURL. Cardinality: 0..n.", + "items": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/MediaTypeOrExtent'. A media type or extent. This specification does not impose any additional requirements to properties for this entity." + } + }, + "keyword": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a keyword or tag, describing the Data Service.", + "items": { + "type": "string", + "description": "Property. Every keyword tag included." + } + }, + "landingPage": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a web page that provides access to the Data Service and/or additional information. It is intended to point to a landing page at the original data service provider, not to a page on a site of a third party, such as an aggregator.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every web page listed." + } + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behavior." + }, + "licence": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data service is made available", + "enum": [ + "0BSD", + "AAL", + "Abstyles", + "AdaCore-doc", + "Adobe-2006", + "Adobe-Glyph", + "ADSL", + "AFL-1.1", + "AFL-1.2", + "AFL-2.0", + "AFL-2.1", + "AFL-3.0", + "Afmparse", + "AGPL-1.0", + "AGPL-1.0-only", + "AGPL-1.0-or-later", + "AGPL-3.0", + "AGPL-3.0-only", + "AGPL-3.0-or-later", + "Aladdin", + "AMDPLPA", + "AML", + "AMPAS", + "ANTLR-PD", + "ANTLR-PD-fallback", + "Apache-1.0", + "Apache-1.1", + "Apache-2.0", + "APAFML", + "APL-1.0", + "App-s2p", + "APSL-1.0", + "APSL-1.1", + "APSL-1.2", + "APSL-2.0", + "Arphic-1999", + "Artistic-1.0", + "Artistic-1.0-cl8", + "Artistic-1.0-Perl", + "Artistic-2.0", + "ASWF-Digital-Assets-1.0", + "ASWF-Digital-Assets-1.1", + "Baekmuk", + "Bahyph", + "Barr", + "Beerware", + "Bitstream-Charter", + "Bitstream-Vera", + "BitTorrent-1.0", + "BitTorrent-1.1", + "blessing", + "BlueOak-1.0.0", + "Boehm-GC", + "Borceux", + "Brian-Gladman-3-Clause", + "BSD-1-Clause", + "BSD-2-Clause", + "BSD-2-Clause-FreeBSD", + "BSD-2-Clause-NetBSD", + "BSD-2-Clause-Patent", + "BSD-2-Clause-Views", + "BSD-3-Clause", + "BSD-3-Clause-Attribution", + "BSD-3-Clause-Clear", + "BSD-3-Clause-LBNL", + "BSD-3-Clause-Modification", + "BSD-3-Clause-No-Military-License", + "BSD-3-Clause-No-Nuclear-License", + "BSD-3-Clause-No-Nuclear-License-2014", + "BSD-3-Clause-No-Nuclear-Warranty", + "BSD-3-Clause-Open-MPI", + "BSD-4-Clause", + "BSD-4-Clause-Shortened", + "BSD-4-Clause-UC", + "BSD-4.3RENO", + "BSD-4.3TAHOE", + "BSD-Advertising-Acknowledgement", + "BSD-Attribution-HPND-disclaimer", + "BSD-Protection", + "BSD-Source-Code", + "BSL-1.0", + "BUSL-1.1", + "bzip2-1.0.5", + "bzip2-1.0.6", + "C-UDA-1.0", + "CAL-1.0", + "CAL-1.0-Combined-Work-Exception", + "Caldera", + "CATOSL-1.1", + "CC-BY-1.0", + "CC-BY-2.0", + "CC-BY-2.5", + "CC-BY-2.5-AU", + "CC-BY-3.0", + "CC-BY-3.0-AT", + "CC-BY-3.0-DE", + "CC-BY-3.0-IGO", + "CC-BY-3.0-NL", + "CC-BY-3.0-US", + "CC-BY-4.0", + "CC-BY-NC-1.0", + "CC-BY-NC-2.0", + "CC-BY-NC-2.5", + "CC-BY-NC-3.0", + "CC-BY-NC-3.0-DE", + "CC-BY-NC-4.0", + "CC-BY-NC-ND-1.0", + "CC-BY-NC-ND-2.0", + "CC-BY-NC-ND-2.5", + "CC-BY-NC-ND-3.0", + "CC-BY-NC-ND-3.0-DE", + "CC-BY-NC-ND-3.0-IGO", + "CC-BY-NC-ND-4.0", + "CC-BY-NC-SA-1.0", + "CC-BY-NC-SA-2.0", + "CC-BY-NC-SA-2.0-DE", + "CC-BY-NC-SA-2.0-FR", + "CC-BY-NC-SA-2.0-UK", + "CC-BY-NC-SA-2.5", + "CC-BY-NC-SA-3.0", + "CC-BY-NC-SA-3.0-DE", + "CC-BY-NC-SA-3.0-IGO", + "CC-BY-NC-SA-4.0", + "CC-BY-ND-1.0", + "CC-BY-ND-2.0", + "CC-BY-ND-2.5", + "CC-BY-ND-3.0", + "CC-BY-ND-3.0-DE", + "CC-BY-ND-4.0", + "CC-BY-SA-1.0", + "CC-BY-SA-2.0", + "CC-BY-SA-2.0-UK", + "CC-BY-SA-2.1-JP", + "CC-BY-SA-2.5", + "CC-BY-SA-3.0", + "CC-BY-SA-3.0-AT", + "CC-BY-SA-3.0-DE", + "CC-BY-SA-3.0-IGO", + "CC-BY-SA-4.0", + "CC-PDDC", + "CC0-1.0", + "CDDL-1.0", + "CDDL-1.1", + "CDL-1.0", + "CDLA-Permissive-1.0", + "CDLA-Permissive-2.0", + "CDLA-Sharing-1.0", + "CECILL-1.0", + "CECILL-1.1", + "CECILL-2.0", + "CECILL-2.1", + "CECILL-B", + "CECILL-C", + "CERN-OHL-1.1", + "CERN-OHL-1.2", + "CERN-OHL-P-2.0", + "CERN-OHL-S-2.0", + "CERN-OHL-W-2.0", + "CFITSIO", + "check-cvs", + "checkmk", + "ClArtistic", + "Clips", + "CMU-Mach", + "CNRI-Jython", + "CNRI-Python", + "CNRI-Python-GPL-Compatible", + "COIL-1.0", + "Community-Spec-1.0", + "Condor-1.1", + "copyleft-next-0.3.0", + "copyleft-next-0.3.1", + "Cornell-Lossless-JPEG", + "CPAL-1.0", + "CPL-1.0", + "CPOL-1.02", + "Crossword", + "CrystalStacker", + "CUA-OPL-1.0", + "Cube", + "curl", + "D-FSL-1.0", + "diffmark", + "DL-DE-BY-2.0", + "DL-DE-ZERO-2.0", + "DOC", + "Dotseqn", + "DRL-1.0", + "DSDP", + "dtoa", + "dvipdfm", + "ECL-1.0", + "ECL-2.0", + "eCos-2.0", + "EFL-1.0", + "EFL-2.0", + "eGenix", + "Elastic-2.0", + "Entessa", + "EPICS", + "EPL-1.0", + "EPL-2.0", + "ErlPL-1.1", + "etalab-2.0", + "EUDatagrid", + "EUPL-1.0", + "EUPL-1.1", + "EUPL-1.2", + "Eurosym", + "Fair", + "FDK-AAC", + "Frameworx-1.0", + "FreeBSD-DOC", + "FreeImage", + "FSFAP", + "FSFUL", + "FSFULLR", + "FSFULLRWD", + "FTL", + "GD", + "GFDL-1.1", + "GFDL-1.1-invariants-only", + "GFDL-1.1-invariants-or-later", + "GFDL-1.1-no-invariants-only", + "GFDL-1.1-no-invariants-or-later", + "GFDL-1.1-only", + "GFDL-1.1-or-later", + "GFDL-1.2", + "GFDL-1.2-invariants-only", + "GFDL-1.2-invariants-or-later", + "GFDL-1.2-no-invariants-only", + "GFDL-1.2-no-invariants-or-later", + "GFDL-1.2-only", + "GFDL-1.2-or-later", + "GFDL-1.3", + "GFDL-1.3-invariants-only", + "GFDL-1.3-invariants-or-later", + "GFDL-1.3-no-invariants-only", + "GFDL-1.3-no-invariants-or-later", + "GFDL-1.3-only", + "GFDL-1.3-or-later", + "Giftware", + "GL2PS", + "Glide", + "Glulxe", + "GLWTPL", + "GNU-compiler-exception", + "gnuplot", + "GPL-1.0", + "GPL-1.0+", + "GPL-1.0-only", + "GPL-1.0-or-later", + "GPL-2.0", + "GPL-2.0+", + "GPL-2.0-only", + "GPL-2.0-or-later", + "GPL-2.0-with-autoconf-exception", + "GPL-2.0-with-bison-exception", + "GPL-2.0-with-classpath-exception", + "GPL-2.0-with-font-exception", + "GPL-2.0-with-GCC-exception", + "GPL-3.0", + "GPL-3.0+", + "GPL-3.0-only", + "GPL-3.0-or-later", + "GPL-3.0-with-autoconf-exception", + "GPL-3.0-with-GCC-exception", + "Graphics-Gems", + "gSOAP-1.3b", + "HaskellReport", + "Hippocratic-2.1", + "HP-1986", + "HP-1989", + "HPND", + "HPND-export-US", + "HPND-Markus-Kuhn", + "HPND-sell-variant", + "HPND-sell-variant-MIT-disclaimer", + "HTMLTIDY", + "IBM-pibs", + "ICU", + "IEC-Code-Components-EULA", + "IJG", + "IJG-short", + "ImageMagick", + "iMatix", + "Imlib2", + "Info-ZIP", + "Inner-Net-2.0", + "Intel", + "Intel-ACPI", + "Interbase-1.0", + "IPA", + "IPL-1.0", + "ISC", + "Jam", + "JasPer-2.0", + "JPL-image", + "JPNIC", + "JSON", + "Kazlib", + "Knuth-CTAN", + "LAL-1.2", + "LAL-1.3", + "Latex2e", + "Latex2e-translated-notice", + "Leptonica", + "LGPL-2.0", + "LGPL-2.0+", + "LGPL-2.0-only", + "LGPL-2.0-or-later", + "LGPL-2.1", + "LGPL-2.1+", + "LGPL-2.1-only", + "LGPL-2.1-or-later", + "LGPL-3.0", + "LGPL-3.0+", + "LGPL-3.0-only", + "LGPL-3.0-or-later", + "LGPLLR", + "Libpng", + "libpng-2.0", + "libselinux-1.0", + "libtiff", + "libutil-David-Nugent", + "LiLiQ-P-1.1", + "LiLiQ-R-1.1", + "LiLiQ-Rplus-1.1", + "Linux-man-pages-1-para", + "Linux-man-pages-copyleft", + "Linux-man-pages-copyleft-2-para", + "Linux-man-pages-copyleft-var", + "Linux-OpenIB", + "LOOP", + "LPL-1.0", + "LPL-1.02", + "LPPL-1.0", + "LPPL-1.1", + "LPPL-1.2", + "LPPL-1.3a", + "LPPL-1.3c", + "LZMA-SDK-9.11-to-9.20", + "LZMA-SDK-9.22", + "MakeIndex", + "Martin-Birgmeier", + "metamail", + "Minpack", + "MirOS", + "MIT", + "MIT-0", + "MIT-advertising", + "MIT-CMU", + "MIT-enna", + "MIT-feh", + "MIT-Festival", + "MIT-Modern-Variant", + "MIT-open-group", + "MIT-testregex", + "MIT-Wu", + "MITNFA", + "MMIXware", + "Motosoto", + "MPEG-Software-Simulation", + "mpi-permissive", + "mpich2", + "MPL-1.0", + "MPL-1.1", + "MPL-2.0", + "MPL-2.0-no-copyleft-exception", + "mplus", + "MS-LPL", + "MS-PL", + "MS-RL", + "MTLL", + "MulanPSL-1.0", + "MulanPSL-2.0", + "Multics", + "Mup", + "NAIST-2003", + "NASA-1.3", + "Naumen", + "NBPL-1.0", + "NCGL-UK-2.0", + "NCSA", + "Net-SNMP", + "NetCDF", + "Newsletr", + "NGPL", + "NICTA-1.0", + "NIST-PD", + "NIST-PD-fallback", + "NIST-Software", + "NLOD-1.0", + "NLOD-2.0", + "NLPL", + "Nokia", + "NOSL", + "Noweb", + "NPL-1.0", + "NPL-1.1", + "NPOSL-3.0", + "NRL", + "NTP", + "NTP-0", + "Nunit", + "O-UDA-1.0", + "OCCT-PL", + "OCLC-2.0", + "ODbL-1.0", + "ODC-By-1.0", + "OFFIS", + "OFL-1.0", + "OFL-1.0-no-RFN", + "OFL-1.0-RFN", + "OFL-1.1", + "OFL-1.1-no-RFN", + "OFL-1.1-RFN", + "OGC-1.0", + "OGDL-Taiwan-1.0", + "OGL-Canada-2.0", + "OGL-UK-1.0", + "OGL-UK-2.0", + "OGL-UK-3.0", + "OGTSL", + "OLDAP-1.1", + "OLDAP-1.2", + "OLDAP-1.3", + "OLDAP-1.4", + "OLDAP-2.0", + "OLDAP-2.0.1", + "OLDAP-2.1", + "OLDAP-2.2", + "OLDAP-2.2.1", + "OLDAP-2.2.2", + "OLDAP-2.3", + "OLDAP-2.4", + "OLDAP-2.5", + "OLDAP-2.6", + "OLDAP-2.7", + "OLDAP-2.8", + "OLFL-1.3", + "OML", + "OpenPBS-2.3", + "OpenSSL", + "OPL-1.0", + "OPL-UK-3.0", + "OPUBL-1.0", + "OSET-PL-2.1", + "OSL-1.0", + "OSL-1.1", + "OSL-2.0", + "OSL-2.1", + "OSL-3.0", + "Parity-6.0.0", + "Parity-7.0.0", + "PDDL-1.0", + "PHP-3.0", + "PHP-3.01", + "Plexus", + "pnmstitch", + "PolyForm-Noncommercial-1.0.0", + "PolyForm-Small-Business-1.0.0", + "PostgreSQL", + "PSF-2.0", + "psfrag", + "psutils", + "Python-2.0", + "Python-2.0.1", + "Qhull", + "QPL-1.0", + "QPL-1.0-INRIA-2004", + "Rdisc", + "RHeCos-1.1", + "RPL-1.1", + "RPL-1.5", + "RPSL-1.0", + "RSA-MD", + "RSCPL", + "Ruby", + "SANE-exception", + "SAX-PD", + "Saxpath", + "SCEA", + "SchemeReport", + "Sendmail", + "Sendmail-8.23", + "SGI-B-1.0", + "SGI-B-1.1", + "SGI-B-2.0", + "SGP4", + "SHL-0.5", + "SHL-0.51", + "SimPL-2.0", + "SISSL", + "SISSL-1.2", + "SL", + "Sleepycat", + "SMLNJ", + "SMPPL", + "SNIA", + "snprintf", + "Soundex", + "Spencer-86", + "Spencer-94", + "Spencer-99", + "SPL-1.0", + "SSH-OpenSSH", + "SSH-short", + "SSPL-1.0", + "StandardML-NJ", + "stunnel-exception", + "SugarCRM-1.1.3", + "SunPro", + "SWL", + "Symlinks", + "TAPR-OHL-1.0", + "TCL", + "TCP-wrappers", + "TermReadKey", + "Texinfo-exception", + "TMate", + "TORQUE-1.1", + "TOSL", + "TPDL", + "TPL-1.0", + "TTWL", + "TTYP0", + "TU-Berlin-1.0", + "TU-Berlin-2.0", + "UCAR", + "UCL-1.0", + "Unicode-DFS-2015", + "Unicode-DFS-2016", + "Unicode-TOU", + "UnixCrypt", + "Unlicense", + "UPL-1.0", + "URT-RLE", + "Vim", + "VOSTROM", + "VSL-1.0", + "W3C", + "W3C-19980720", + "W3C-20150513", + "w3m", + "Watcom-1.0", + "Widget-Workshop", + "Wsuipa", + "WTFPL", + "wxWindows", + "X11", + "X11-distribute-modifications-variant", + "Xdebug-1.03", + "Xerox", + "Xfig", + "XFree86-1.1", + "xinetd", + "xlock", + "Xnet", + "xpp", + "XSkat", + "YPL-1.0", + "YPL-1.1", + "Zed", + "Zeeff", + "Zend-2.0", + "Zimbra-1.3", + "Zimbra-1.4", + "Zlib", + "zlib-acknowledgement", + "ZPL-1.1", + "ZPL-2.0", + "ZPL-2.1" + ] + }, + "operationSpace": { + "oneOf": [ + { + "title": "GeoJSON Point", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. Point", + "properties": { "type": { - "type": "string", - "enum": [ - "DataService" - ], - "description": "Property. NGSI Entity type. It has to be DataService" + "type": "string", + "enum": ["Point"] }, - "id": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" + "coordinates": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } }, - "endpointURL": { + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON LineString", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. LineString", + "properties": { + "type": { + "type": "string", + "enum": ["LineString"] + }, + "coordinates": { + "type": "array", + "minItems": 2, + "items": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. The root location or primary endpoint of the service (an IRI)", + "minItems": 2, "items": { - "type": "string", - "format": "uri", - "minItems": 1, - "description": "Property. Every root location" + "type": "number" } + } }, - "title": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." - }, - "de": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." - }, - "es": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." - }, - "fr": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." - }, - "it": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." - }, - "ja": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." - }, - "ko": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." - }, - "zh": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." - }, - "el": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." - }, - "nl": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." - }, - "fi": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." - } - } - } - } - }, - { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." - } - ] + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + { + "title": "GeoJSON Polygon", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. Polygon", + "properties": { + "type": { + "type": "string", + "enum": ["Polygon"] }, - "endpointDescription": { + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement", + "minItems": 4, "items": { - "type": "string", - "description": "Property. Every service available at an end-point" + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } } + } }, - "servesDataset": { + "bbox": { "type": "array", - "description": "Relationship. Model:'https://www.w3.org/ns/dcat#servesDataset'. This property refers to a collection of data that this data service can distribute", + "minItems": 4, "items": { - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity" - }, - { - "type": "string", - "format": "uri", - "description": "Property. Identifier format of any NGSI entity" - } - ] + "type": "number" } + } + } + }, + { + "title": "GeoJSON MultiPoint", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. MultiPoint", + "properties": { + "type": { + "type": "string", + "enum": ["MultiPoint"] }, - "accessRights": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies" - }, - "description": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. A free-text account of the Data Service.", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." - }, - "de": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." - }, - "es": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." - }, - "fr": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." - }, - "it": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." - }, - "ja": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." - }, - "ko": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." - }, - "zh": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." - }, - "el": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." - }, - "nl": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." - }, - "fi": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." - } - } - } - } - }, - { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." - } - ] - }, - "licence": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data service is made available", - "enum": [ - "0BSD", - "AAL", - "Abstyles", - "AdaCore-doc", - "Adobe-2006", - "Adobe-Glyph", - "ADSL", - "AFL-1.1", - "AFL-1.2", - "AFL-2.0", - "AFL-2.1", - "AFL-3.0", - "Afmparse", - "AGPL-1.0", - "AGPL-1.0-only", - "AGPL-1.0-or-later", - "AGPL-3.0", - "AGPL-3.0-only", - "AGPL-3.0-or-later", - "Aladdin", - "AMDPLPA", - "AML", - "AMPAS", - "ANTLR-PD", - "ANTLR-PD-fallback", - "Apache-1.0", - "Apache-1.1", - "Apache-2.0", - "APAFML", - "APL-1.0", - "App-s2p", - "APSL-1.0", - "APSL-1.1", - "APSL-1.2", - "APSL-2.0", - "Arphic-1999", - "Artistic-1.0", - "Artistic-1.0-cl8", - "Artistic-1.0-Perl", - "Artistic-2.0", - "ASWF-Digital-Assets-1.0", - "ASWF-Digital-Assets-1.1", - "Baekmuk", - "Bahyph", - "Barr", - "Beerware", - "Bitstream-Charter", - "Bitstream-Vera", - "BitTorrent-1.0", - "BitTorrent-1.1", - "blessing", - "BlueOak-1.0.0", - "Boehm-GC", - "Borceux", - "Brian-Gladman-3-Clause", - "BSD-1-Clause", - "BSD-2-Clause", - "BSD-2-Clause-FreeBSD", - "BSD-2-Clause-NetBSD", - "BSD-2-Clause-Patent", - "BSD-2-Clause-Views", - "BSD-3-Clause", - "BSD-3-Clause-Attribution", - "BSD-3-Clause-Clear", - "BSD-3-Clause-LBNL", - "BSD-3-Clause-Modification", - "BSD-3-Clause-No-Military-License", - "BSD-3-Clause-No-Nuclear-License", - "BSD-3-Clause-No-Nuclear-License-2014", - "BSD-3-Clause-No-Nuclear-Warranty", - "BSD-3-Clause-Open-MPI", - "BSD-4-Clause", - "BSD-4-Clause-Shortened", - "BSD-4-Clause-UC", - "BSD-4.3RENO", - "BSD-4.3TAHOE", - "BSD-Advertising-Acknowledgement", - "BSD-Attribution-HPND-disclaimer", - "BSD-Protection", - "BSD-Source-Code", - "BSL-1.0", - "BUSL-1.1", - "bzip2-1.0.5", - "bzip2-1.0.6", - "C-UDA-1.0", - "CAL-1.0", - "CAL-1.0-Combined-Work-Exception", - "Caldera", - "CATOSL-1.1", - "CC-BY-1.0", - "CC-BY-2.0", - "CC-BY-2.5", - "CC-BY-2.5-AU", - "CC-BY-3.0", - "CC-BY-3.0-AT", - "CC-BY-3.0-DE", - "CC-BY-3.0-IGO", - "CC-BY-3.0-NL", - "CC-BY-3.0-US", - "CC-BY-4.0", - "CC-BY-NC-1.0", - "CC-BY-NC-2.0", - "CC-BY-NC-2.5", - "CC-BY-NC-3.0", - "CC-BY-NC-3.0-DE", - "CC-BY-NC-4.0", - "CC-BY-NC-ND-1.0", - "CC-BY-NC-ND-2.0", - "CC-BY-NC-ND-2.5", - "CC-BY-NC-ND-3.0", - "CC-BY-NC-ND-3.0-DE", - "CC-BY-NC-ND-3.0-IGO", - "CC-BY-NC-ND-4.0", - "CC-BY-NC-SA-1.0", - "CC-BY-NC-SA-2.0", - "CC-BY-NC-SA-2.0-DE", - "CC-BY-NC-SA-2.0-FR", - "CC-BY-NC-SA-2.0-UK", - "CC-BY-NC-SA-2.5", - "CC-BY-NC-SA-3.0", - "CC-BY-NC-SA-3.0-DE", - "CC-BY-NC-SA-3.0-IGO", - "CC-BY-NC-SA-4.0", - "CC-BY-ND-1.0", - "CC-BY-ND-2.0", - "CC-BY-ND-2.5", - "CC-BY-ND-3.0", - "CC-BY-ND-3.0-DE", - "CC-BY-ND-4.0", - "CC-BY-SA-1.0", - "CC-BY-SA-2.0", - "CC-BY-SA-2.0-UK", - "CC-BY-SA-2.1-JP", - "CC-BY-SA-2.5", - "CC-BY-SA-3.0", - "CC-BY-SA-3.0-AT", - "CC-BY-SA-3.0-DE", - "CC-BY-SA-3.0-IGO", - "CC-BY-SA-4.0", - "CC-PDDC", - "CC0-1.0", - "CDDL-1.0", - "CDDL-1.1", - "CDL-1.0", - "CDLA-Permissive-1.0", - "CDLA-Permissive-2.0", - "CDLA-Sharing-1.0", - "CECILL-1.0", - "CECILL-1.1", - "CECILL-2.0", - "CECILL-2.1", - "CECILL-B", - "CECILL-C", - "CERN-OHL-1.1", - "CERN-OHL-1.2", - "CERN-OHL-P-2.0", - "CERN-OHL-S-2.0", - "CERN-OHL-W-2.0", - "CFITSIO", - "check-cvs", - "checkmk", - "ClArtistic", - "Clips", - "CMU-Mach", - "CNRI-Jython", - "CNRI-Python", - "CNRI-Python-GPL-Compatible", - "COIL-1.0", - "Community-Spec-1.0", - "Condor-1.1", - "copyleft-next-0.3.0", - "copyleft-next-0.3.1", - "Cornell-Lossless-JPEG", - "CPAL-1.0", - "CPL-1.0", - "CPOL-1.02", - "Crossword", - "CrystalStacker", - "CUA-OPL-1.0", - "Cube", - "curl", - "D-FSL-1.0", - "diffmark", - "DL-DE-BY-2.0", - "DL-DE-ZERO-2.0", - "DOC", - "Dotseqn", - "DRL-1.0", - "DSDP", - "dtoa", - "dvipdfm", - "ECL-1.0", - "ECL-2.0", - "eCos-2.0", - "EFL-1.0", - "EFL-2.0", - "eGenix", - "Elastic-2.0", - "Entessa", - "EPICS", - "EPL-1.0", - "EPL-2.0", - "ErlPL-1.1", - "etalab-2.0", - "EUDatagrid", - "EUPL-1.0", - "EUPL-1.1", - "EUPL-1.2", - "Eurosym", - "Fair", - "FDK-AAC", - "Frameworx-1.0", - "FreeBSD-DOC", - "FreeImage", - "FSFAP", - "FSFUL", - "FSFULLR", - "FSFULLRWD", - "FTL", - "GD", - "GFDL-1.1", - "GFDL-1.1-invariants-only", - "GFDL-1.1-invariants-or-later", - "GFDL-1.1-no-invariants-only", - "GFDL-1.1-no-invariants-or-later", - "GFDL-1.1-only", - "GFDL-1.1-or-later", - "GFDL-1.2", - "GFDL-1.2-invariants-only", - "GFDL-1.2-invariants-or-later", - "GFDL-1.2-no-invariants-only", - "GFDL-1.2-no-invariants-or-later", - "GFDL-1.2-only", - "GFDL-1.2-or-later", - "GFDL-1.3", - "GFDL-1.3-invariants-only", - "GFDL-1.3-invariants-or-later", - "GFDL-1.3-no-invariants-only", - "GFDL-1.3-no-invariants-or-later", - "GFDL-1.3-only", - "GFDL-1.3-or-later", - "Giftware", - "GL2PS", - "Glide", - "Glulxe", - "GLWTPL", - "GNU-compiler-exception", - "gnuplot", - "GPL-1.0", - "GPL-1.0+", - "GPL-1.0-only", - "GPL-1.0-or-later", - "GPL-2.0", - "GPL-2.0+", - "GPL-2.0-only", - "GPL-2.0-or-later", - "GPL-2.0-with-autoconf-exception", - "GPL-2.0-with-bison-exception", - "GPL-2.0-with-classpath-exception", - "GPL-2.0-with-font-exception", - "GPL-2.0-with-GCC-exception", - "GPL-3.0", - "GPL-3.0+", - "GPL-3.0-only", - "GPL-3.0-or-later", - "GPL-3.0-with-autoconf-exception", - "GPL-3.0-with-GCC-exception", - "Graphics-Gems", - "gSOAP-1.3b", - "HaskellReport", - "Hippocratic-2.1", - "HP-1986", - "HP-1989", - "HPND", - "HPND-export-US", - "HPND-Markus-Kuhn", - "HPND-sell-variant", - "HPND-sell-variant-MIT-disclaimer", - "HTMLTIDY", - "IBM-pibs", - "ICU", - "IEC-Code-Components-EULA", - "IJG", - "IJG-short", - "ImageMagick", - "iMatix", - "Imlib2", - "Info-ZIP", - "Inner-Net-2.0", - "Intel", - "Intel-ACPI", - "Interbase-1.0", - "IPA", - "IPL-1.0", - "ISC", - "Jam", - "JasPer-2.0", - "JPL-image", - "JPNIC", - "JSON", - "Kazlib", - "Knuth-CTAN", - "LAL-1.2", - "LAL-1.3", - "Latex2e", - "Latex2e-translated-notice", - "Leptonica", - "LGPL-2.0", - "LGPL-2.0+", - "LGPL-2.0-only", - "LGPL-2.0-or-later", - "LGPL-2.1", - "LGPL-2.1+", - "LGPL-2.1-only", - "LGPL-2.1-or-later", - "LGPL-3.0", - "LGPL-3.0+", - "LGPL-3.0-only", - "LGPL-3.0-or-later", - "LGPLLR", - "Libpng", - "libpng-2.0", - "libselinux-1.0", - "libtiff", - "libutil-David-Nugent", - "LiLiQ-P-1.1", - "LiLiQ-R-1.1", - "LiLiQ-Rplus-1.1", - "Linux-man-pages-1-para", - "Linux-man-pages-copyleft", - "Linux-man-pages-copyleft-2-para", - "Linux-man-pages-copyleft-var", - "Linux-OpenIB", - "LOOP", - "LPL-1.0", - "LPL-1.02", - "LPPL-1.0", - "LPPL-1.1", - "LPPL-1.2", - "LPPL-1.3a", - "LPPL-1.3c", - "LZMA-SDK-9.11-to-9.20", - "LZMA-SDK-9.22", - "MakeIndex", - "Martin-Birgmeier", - "metamail", - "Minpack", - "MirOS", - "MIT", - "MIT-0", - "MIT-advertising", - "MIT-CMU", - "MIT-enna", - "MIT-feh", - "MIT-Festival", - "MIT-Modern-Variant", - "MIT-open-group", - "MIT-testregex", - "MIT-Wu", - "MITNFA", - "MMIXware", - "Motosoto", - "MPEG-Software-Simulation", - "mpi-permissive", - "mpich2", - "MPL-1.0", - "MPL-1.1", - "MPL-2.0", - "MPL-2.0-no-copyleft-exception", - "mplus", - "MS-LPL", - "MS-PL", - "MS-RL", - "MTLL", - "MulanPSL-1.0", - "MulanPSL-2.0", - "Multics", - "Mup", - "NAIST-2003", - "NASA-1.3", - "Naumen", - "NBPL-1.0", - "NCGL-UK-2.0", - "NCSA", - "Net-SNMP", - "NetCDF", - "Newsletr", - "NGPL", - "NICTA-1.0", - "NIST-PD", - "NIST-PD-fallback", - "NIST-Software", - "NLOD-1.0", - "NLOD-2.0", - "NLPL", - "Nokia", - "NOSL", - "Noweb", - "NPL-1.0", - "NPL-1.1", - "NPOSL-3.0", - "NRL", - "NTP", - "NTP-0", - "Nunit", - "O-UDA-1.0", - "OCCT-PL", - "OCLC-2.0", - "ODbL-1.0", - "ODC-By-1.0", - "OFFIS", - "OFL-1.0", - "OFL-1.0-no-RFN", - "OFL-1.0-RFN", - "OFL-1.1", - "OFL-1.1-no-RFN", - "OFL-1.1-RFN", - "OGC-1.0", - "OGDL-Taiwan-1.0", - "OGL-Canada-2.0", - "OGL-UK-1.0", - "OGL-UK-2.0", - "OGL-UK-3.0", - "OGTSL", - "OLDAP-1.1", - "OLDAP-1.2", - "OLDAP-1.3", - "OLDAP-1.4", - "OLDAP-2.0", - "OLDAP-2.0.1", - "OLDAP-2.1", - "OLDAP-2.2", - "OLDAP-2.2.1", - "OLDAP-2.2.2", - "OLDAP-2.3", - "OLDAP-2.4", - "OLDAP-2.5", - "OLDAP-2.6", - "OLDAP-2.7", - "OLDAP-2.8", - "OLFL-1.3", - "OML", - "OpenPBS-2.3", - "OpenSSL", - "OPL-1.0", - "OPL-UK-3.0", - "OPUBL-1.0", - "OSET-PL-2.1", - "OSL-1.0", - "OSL-1.1", - "OSL-2.0", - "OSL-2.1", - "OSL-3.0", - "Parity-6.0.0", - "Parity-7.0.0", - "PDDL-1.0", - "PHP-3.0", - "PHP-3.01", - "Plexus", - "pnmstitch", - "PolyForm-Noncommercial-1.0.0", - "PolyForm-Small-Business-1.0.0", - "PostgreSQL", - "PSF-2.0", - "psfrag", - "psutils", - "Python-2.0", - "Python-2.0.1", - "Qhull", - "QPL-1.0", - "QPL-1.0-INRIA-2004", - "Rdisc", - "RHeCos-1.1", - "RPL-1.1", - "RPL-1.5", - "RPSL-1.0", - "RSA-MD", - "RSCPL", - "Ruby", - "SANE-exception", - "SAX-PD", - "Saxpath", - "SCEA", - "SchemeReport", - "Sendmail", - "Sendmail-8.23", - "SGI-B-1.0", - "SGI-B-1.1", - "SGI-B-2.0", - "SGP4", - "SHL-0.5", - "SHL-0.51", - "SimPL-2.0", - "SISSL", - "SISSL-1.2", - "SL", - "Sleepycat", - "SMLNJ", - "SMPPL", - "SNIA", - "snprintf", - "Soundex", - "Spencer-86", - "Spencer-94", - "Spencer-99", - "SPL-1.0", - "SSH-OpenSSH", - "SSH-short", - "SSPL-1.0", - "StandardML-NJ", - "stunnel-exception", - "SugarCRM-1.1.3", - "SunPro", - "SWL", - "Symlinks", - "TAPR-OHL-1.0", - "TCL", - "TCP-wrappers", - "TermReadKey", - "Texinfo-exception", - "TMate", - "TORQUE-1.1", - "TOSL", - "TPDL", - "TPL-1.0", - "TTWL", - "TTYP0", - "TU-Berlin-1.0", - "TU-Berlin-2.0", - "UCAR", - "UCL-1.0", - "Unicode-DFS-2015", - "Unicode-DFS-2016", - "Unicode-TOU", - "UnixCrypt", - "Unlicense", - "UPL-1.0", - "URT-RLE", - "Vim", - "VOSTROM", - "VSL-1.0", - "W3C", - "W3C-19980720", - "W3C-20150513", - "w3m", - "Watcom-1.0", - "Widget-Workshop", - "Wsuipa", - "WTFPL", - "wxWindows", - "X11", - "X11-distribute-modifications-variant", - "Xdebug-1.03", - "Xerox", - "Xfig", - "XFree86-1.1", - "xinetd", - "xlock", - "Xnet", - "xpp", - "XSkat", - "YPL-1.0", - "YPL-1.1", - "Zed", - "Zeeff", - "Zend-2.0", - "Zimbra-1.3", - "Zimbra-1.4", - "Zlib", - "zlib-acknowledgement", - "ZPL-1.1", - "ZPL-2.0", - "ZPL-2.1" - ] - }, - "applicableLegislation": { + "coordinates": { "type": "array", - "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Data Service. Cardinality: 0..n", "items": { - "type": "string", - "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } } }, - "conformsTo": { + "bbox": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. An established (technical) standard to which the Data Service conforms. The standards referred here SHOULD describe the Data Service and not the data it serves. The latter is provided by the dataset with which this Data Service is connected. For instance the data service adheres to the OGC WFS API standard, while the associated dataset adheres to the INSPIRE (https://knowledge-base.inspire.ec.europa.eu/index_en) Address data model. Cardinality: 0..n", + "minItems": 4, "items": { - "type": "string", - "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Standard'. A standard or other specification to which a resource conforms. This specification does not impose any additional requirements to properties for this entity." + "type": "number" } + } + } + }, + { + "title": "GeoJSON MultiLineString", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "properties": { + "type": { + "type": "string", + "enum": ["MultiLineString"] }, - "contactPoint": { + "coordinates": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n", "items": { - "type": "object", - "description": "Property. Model:'https://www.w3.org/ns/dcat#contactPoint'. Relevant contact information for the cataloged resource. Use of vCard is recommended (https://www.w3.org/TR/vcard-rdf/#d4e1819)." + "type": "array", + "minItems": 2, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } } }, - "documentation": { + "bbox": { "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n", + "minItems": 4, "items": { - "type": "string", - "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." + "type": "number" } + } + } + }, + { + "title": "GeoJSON MultiPolygon", + "type": "object", + "required": ["type", "coordinates"], + "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "properties": { + "type": { + "type": "string", + "enum": ["MultiPolygon"] }, - "format": { - - }, - "keyword": { - - }, - "landingPage": { - - }, - "publisher": { - - }, - "theme": { - - }, - "provenance": { + "coordinates": { + "type": "array", + "items": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", "items": { - "type": "string", - "description": "Property. Every lineage associated to the dataset" - } - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behavior." - }, - "validationSchema": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the DataService (JSON Schema) in the Smart Data Models program." - }, - "operationSpace": { - "oneOf": [ - { - "title": "GeoJSON Point", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. Point", - "properties": { - "type": { - "type": "string", - "enum": [ - "Point" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" } } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + } + ], + "description": "GeoProperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon" + }, + "provenance": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", + "items": { + "type": "string", + "description": "Property. Every lineage associated to the data service" + } + }, + "publisher": { + "type": "string", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to an entity (organisation) responsible for making the Data Service available." + }, + "servesDataset": { + "type": "array", + "description": "Relationship. Model:'https://www.w3.org/ns/dcat#servesDataset'. This property refers to a collection of data that this data service can distribute", + "items": { + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ] + } + }, + "theme": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes.", + "items": { + "type": "string", + "description": "Property. Every theme included." + } + }, + "title": { + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, - { - "title": "GeoJSON LineString", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. LineString", - "properties": { - "type": { - "type": "string", - "enum": [ - "LineString" - ] - }, - "coordinates": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." }, - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. Polygon", - "properties": { - "type": { - "type": "string", - "enum": [ "Polygon" ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." }, - { - "title": "GeoJSON MultiPoint", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. MultiPoint", - "properties": { - "type": { - "type": "string", - "enum": [ "MultiPoint" ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." }, - { - "title": "GeoJSON MultiLineString", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. MultiLineString", - "properties": { - "type": { - "type": "string", - "enum": [ "MultiLineString" ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." }, - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ "type", "coordinates" ], - "description": "GeoProperty. Geojson reference to the item. MultiLineString", - "properties": { - "type": { - "type": "string", - "enum": [ "MultiPolygon" ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." } - ], - "description": "GeoProperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon" - } + } + } + } + }, + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." } + ] + }, + "validationSchema": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the DataService (JSON Schema) in the Smart Data Models program." } - ], - "required": [ - "endpointURL", - "id", - "title", - "type" - ] -} \ No newline at end of file + } + } + ], + "required": ["endpointURL", "id", "title", "type"] +} diff --git a/Dataset/schema.json b/Dataset/schema.json index 1f53fe0..7f6fccf 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -1,1131 +1,1114 @@ { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$schemaVersion": "3.0.0", - "modelTags": "INTERSTAT, WATERVERSE", - "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", - "title": "Dataset DCAT-AP 3.0.0 schema.", - "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification.", - "type": "object", - "allOf": [ - { - "properties": { - "id": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" - }, - "type": { - "type": "string", - "description": "Property. NGSI type. It has to be Dataset.", - "enum": [ - "Dataset" - ] - }, - "accessMechanism": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Access level according to the 3 levels of MELODA5 metric. The expected values are: * Level1AccessMechanism: Web access or unique URL parameters to dataset. * Level2AccessMechanism: Web Access unique with parameters to single data. * Level3AccessMechanism: API or query language.", - "enum": [ - "Level1AccessMechanism", - "Level2AccessMechanism", - "Level3AccessMechanism" - ] - }, - "accessRights": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public." - }, - "addressesAvailable": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", - "enum": [ - "True", - "False" - ] - }, - "applicableLegislation": { - "type": "array", - "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n.", - "items": { - "type": "string", - "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." - } - }, - "belongsToCatalogue": { - "description": "Relationship. It links the Dataset to its parent Catalogue. Model:'https://www.w3.org/ns/dcat#Catalogue'. Note: this attribute does not belong to the current version of DCAT-AP, 2.1.1.", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Link to the catalogue." - }, - { - "type": "string", - "format": "uri", - "description": "Property. Link to the catalogue." - } - ] - }, - "conformsTo": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. This property refers to an implementing rule or other specification.", - "items": { - "type": "string", - "description": "Property. Every rule or specification applicable." - } - }, - "contactPoint": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2006/vcard/ns#Kind'. This property contains contact information that can be used for sending comments about the Dataset.", - "items": { - "type": "string", - "description": "Property. Every contact element." - } - }, - "creator": { - "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to the entity primarily responsible for producing the dataset.", - "items": { - "type": "string", - "description": "Property. Every creator included." - } - }, - "description": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description.", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." - }, - "de": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." - }, - "es": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." - }, - "fr": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." - }, - "it": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." - }, - "ja": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." - }, - "ko": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." - }, - "zh": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." - }, - "el": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." - }, - "nl": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." - }, - "fi": { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." - } - } - } - } - }, - { - "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." - } - ] - }, - "dissemination": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Dissemination level according to MELODA5 communication dimension: * Level1Dissemination: communication/dissemination not systematic. * Level2Dissemination: available resources on updates (i.e., RSS feed). * Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely).", - "enum": [ - "Level1Dissemination", - "Level2Dissemination", - "Level3Dissemination" - ] - }, - "disseminationOrganization": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of MELODA5." - }, - "distribution": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Distribution'. This property links the Dataset to an available Distribution.", - "items": { - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Every link to a distribution." - }, - { - "type": "string", - "format": "uri", - "description": "Property. Every link to a distribution." - } - ] - } - }, - "documentation": { - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset.", - "type": "array", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every page or document." - } - }, - "frequency": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." - }, - "geographicalCoverage": { - "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset.", - "type": "array", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", - "description": "Property. Every location included." - } - }, - "geolocation": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", - "enum": [ - "True", - "False" - ] - }, - "hasVersion": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", - "items": { - "description": "Property. Every version of the related datasets.", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity." - }, - { - "type": "string", - "format": "uri", - "description": "Property. Identifier format of any NGSI entity." - } - ] - } - }, - "identifier": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every identifier of the dataset." - } - }, - "inSeries": { - "type": "array", - "description": "Relationship. Model:'https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series'. This property links the Dataset to an available Distribution.", - "items": { - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. A dataset series of which the dataset is part.", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity." - }, - { - "type": "string", - "format": "uri", - "description": "Property. Identifier format of any NGSI entity." - } - ] - } - }, - "isReferencedBy": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every resource related to the dataset." - } - }, - "isVersionOf": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset of which the described Dataset is a version, edition, or adaptation.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every dataset that the current dataset is a version of it." - } - }, - "keyword": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a keyword or tag, describing the Dataset.", - "items": { - "type": "string", - "description": "Property. Every keyword tag included." - } - }, - "landingPage": { - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a web page that provides access to the Dataset, its Distributions and/or additional information. It is intended to point to a landing page at the original data provider, not to a page on a site of a third party, such as an aggregator.", - "type": "array", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every web page listed." - } - }, - "language": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. The possible values are defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", - "items": { - "type": "string", - "description": "Property. Every language included." - } - }, - "license": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses).", - "enum": [ - "0BSD", - "AAL", - "Abstyles", - "AdaCore-doc", - "Adobe-2006", - "Adobe-Glyph", - "ADSL", - "AFL-1.1", - "AFL-1.2", - "AFL-2.0", - "AFL-2.1", - "AFL-3.0", - "Afmparse", - "AGPL-1.0", - "AGPL-1.0-only", - "AGPL-1.0-or-later", - "AGPL-3.0", - "AGPL-3.0-only", - "AGPL-3.0-or-later", - "Aladdin", - "AMDPLPA", - "AML", - "AMPAS", - "ANTLR-PD", - "ANTLR-PD-fallback", - "Apache-1.0", - "Apache-1.1", - "Apache-2.0", - "APAFML", - "APL-1.0", - "App-s2p", - "APSL-1.0", - "APSL-1.1", - "APSL-1.2", - "APSL-2.0", - "Arphic-1999", - "Artistic-1.0", - "Artistic-1.0-cl8", - "Artistic-1.0-Perl", - "Artistic-2.0", - "ASWF-Digital-Assets-1.0", - "ASWF-Digital-Assets-1.1", - "Baekmuk", - "Bahyph", - "Barr", - "Beerware", - "Bitstream-Charter", - "Bitstream-Vera", - "BitTorrent-1.0", - "BitTorrent-1.1", - "blessing", - "BlueOak-1.0.0", - "Boehm-GC", - "Borceux", - "Brian-Gladman-3-Clause", - "BSD-1-Clause", - "BSD-2-Clause", - "BSD-2-Clause-FreeBSD", - "BSD-2-Clause-NetBSD", - "BSD-2-Clause-Patent", - "BSD-2-Clause-Views", - "BSD-3-Clause", - "BSD-3-Clause-Attribution", - "BSD-3-Clause-Clear", - "BSD-3-Clause-LBNL", - "BSD-3-Clause-Modification", - "BSD-3-Clause-No-Military-License", - "BSD-3-Clause-No-Nuclear-License", - "BSD-3-Clause-No-Nuclear-License-2014", - "BSD-3-Clause-No-Nuclear-Warranty", - "BSD-3-Clause-Open-MPI", - "BSD-4-Clause", - "BSD-4-Clause-Shortened", - "BSD-4-Clause-UC", - "BSD-4.3RENO", - "BSD-4.3TAHOE", - "BSD-Advertising-Acknowledgement", - "BSD-Attribution-HPND-disclaimer", - "BSD-Protection", - "BSD-Source-Code", - "BSL-1.0", - "BUSL-1.1", - "bzip2-1.0.5", - "bzip2-1.0.6", - "C-UDA-1.0", - "CAL-1.0", - "CAL-1.0-Combined-Work-Exception", - "Caldera", - "CATOSL-1.1", - "CC-BY-1.0", - "CC-BY-2.0", - "CC-BY-2.5", - "CC-BY-2.5-AU", - "CC-BY-3.0", - "CC-BY-3.0-AT", - "CC-BY-3.0-DE", - "CC-BY-3.0-IGO", - "CC-BY-3.0-NL", - "CC-BY-3.0-US", - "CC-BY-4.0", - "CC-BY-NC-1.0", - "CC-BY-NC-2.0", - "CC-BY-NC-2.5", - "CC-BY-NC-3.0", - "CC-BY-NC-3.0-DE", - "CC-BY-NC-4.0", - "CC-BY-NC-ND-1.0", - "CC-BY-NC-ND-2.0", - "CC-BY-NC-ND-2.5", - "CC-BY-NC-ND-3.0", - "CC-BY-NC-ND-3.0-DE", - "CC-BY-NC-ND-3.0-IGO", - "CC-BY-NC-ND-4.0", - "CC-BY-NC-SA-1.0", - "CC-BY-NC-SA-2.0", - "CC-BY-NC-SA-2.0-DE", - "CC-BY-NC-SA-2.0-FR", - "CC-BY-NC-SA-2.0-UK", - "CC-BY-NC-SA-2.5", - "CC-BY-NC-SA-3.0", - "CC-BY-NC-SA-3.0-DE", - "CC-BY-NC-SA-3.0-IGO", - "CC-BY-NC-SA-4.0", - "CC-BY-ND-1.0", - "CC-BY-ND-2.0", - "CC-BY-ND-2.5", - "CC-BY-ND-3.0", - "CC-BY-ND-3.0-DE", - "CC-BY-ND-4.0", - "CC-BY-SA-1.0", - "CC-BY-SA-2.0", - "CC-BY-SA-2.0-UK", - "CC-BY-SA-2.1-JP", - "CC-BY-SA-2.5", - "CC-BY-SA-3.0", - "CC-BY-SA-3.0-AT", - "CC-BY-SA-3.0-DE", - "CC-BY-SA-3.0-IGO", - "CC-BY-SA-4.0", - "CC-PDDC", - "CC0-1.0", - "CDDL-1.0", - "CDDL-1.1", - "CDL-1.0", - "CDLA-Permissive-1.0", - "CDLA-Permissive-2.0", - "CDLA-Sharing-1.0", - "CECILL-1.0", - "CECILL-1.1", - "CECILL-2.0", - "CECILL-2.1", - "CECILL-B", - "CECILL-C", - "CERN-OHL-1.1", - "CERN-OHL-1.2", - "CERN-OHL-P-2.0", - "CERN-OHL-S-2.0", - "CERN-OHL-W-2.0", - "CFITSIO", - "check-cvs", - "checkmk", - "ClArtistic", - "Clips", - "CMU-Mach", - "CNRI-Jython", - "CNRI-Python", - "CNRI-Python-GPL-Compatible", - "COIL-1.0", - "Community-Spec-1.0", - "Condor-1.1", - "copyleft-next-0.3.0", - "copyleft-next-0.3.1", - "Cornell-Lossless-JPEG", - "CPAL-1.0", - "CPL-1.0", - "CPOL-1.02", - "Crossword", - "CrystalStacker", - "CUA-OPL-1.0", - "Cube", - "curl", - "D-FSL-1.0", - "diffmark", - "DL-DE-BY-2.0", - "DL-DE-ZERO-2.0", - "DOC", - "Dotseqn", - "DRL-1.0", - "DSDP", - "dtoa", - "dvipdfm", - "ECL-1.0", - "ECL-2.0", - "eCos-2.0", - "EFL-1.0", - "EFL-2.0", - "eGenix", - "Elastic-2.0", - "Entessa", - "EPICS", - "EPL-1.0", - "EPL-2.0", - "ErlPL-1.1", - "etalab-2.0", - "EUDatagrid", - "EUPL-1.0", - "EUPL-1.1", - "EUPL-1.2", - "Eurosym", - "Fair", - "FDK-AAC", - "Frameworx-1.0", - "FreeBSD-DOC", - "FreeImage", - "FSFAP", - "FSFUL", - "FSFULLR", - "FSFULLRWD", - "FTL", - "GD", - "GFDL-1.1", - "GFDL-1.1-invariants-only", - "GFDL-1.1-invariants-or-later", - "GFDL-1.1-no-invariants-only", - "GFDL-1.1-no-invariants-or-later", - "GFDL-1.1-only", - "GFDL-1.1-or-later", - "GFDL-1.2", - "GFDL-1.2-invariants-only", - "GFDL-1.2-invariants-or-later", - "GFDL-1.2-no-invariants-only", - "GFDL-1.2-no-invariants-or-later", - "GFDL-1.2-only", - "GFDL-1.2-or-later", - "GFDL-1.3", - "GFDL-1.3-invariants-only", - "GFDL-1.3-invariants-or-later", - "GFDL-1.3-no-invariants-only", - "GFDL-1.3-no-invariants-or-later", - "GFDL-1.3-only", - "GFDL-1.3-or-later", - "Giftware", - "GL2PS", - "Glide", - "Glulxe", - "GLWTPL", - "GNU-compiler-exception", - "gnuplot", - "GPL-1.0", - "GPL-1.0+", - "GPL-1.0-only", - "GPL-1.0-or-later", - "GPL-2.0", - "GPL-2.0+", - "GPL-2.0-only", - "GPL-2.0-or-later", - "GPL-2.0-with-autoconf-exception", - "GPL-2.0-with-bison-exception", - "GPL-2.0-with-classpath-exception", - "GPL-2.0-with-font-exception", - "GPL-2.0-with-GCC-exception", - "GPL-3.0", - "GPL-3.0+", - "GPL-3.0-only", - "GPL-3.0-or-later", - "GPL-3.0-with-autoconf-exception", - "GPL-3.0-with-GCC-exception", - "Graphics-Gems", - "gSOAP-1.3b", - "HaskellReport", - "Hippocratic-2.1", - "HP-1986", - "HP-1989", - "HPND", - "HPND-export-US", - "HPND-Markus-Kuhn", - "HPND-sell-variant", - "HPND-sell-variant-MIT-disclaimer", - "HTMLTIDY", - "IBM-pibs", - "ICU", - "IEC-Code-Components-EULA", - "IJG", - "IJG-short", - "ImageMagick", - "iMatix", - "Imlib2", - "Info-ZIP", - "Inner-Net-2.0", - "Intel", - "Intel-ACPI", - "Interbase-1.0", - "IPA", - "IPL-1.0", - "ISC", - "Jam", - "JasPer-2.0", - "JPL-image", - "JPNIC", - "JSON", - "Kazlib", - "Knuth-CTAN", - "LAL-1.2", - "LAL-1.3", - "Latex2e", - "Latex2e-translated-notice", - "Leptonica", - "LGPL-2.0", - "LGPL-2.0+", - "LGPL-2.0-only", - "LGPL-2.0-or-later", - "LGPL-2.1", - "LGPL-2.1+", - "LGPL-2.1-only", - "LGPL-2.1-or-later", - "LGPL-3.0", - "LGPL-3.0+", - "LGPL-3.0-only", - "LGPL-3.0-or-later", - "LGPLLR", - "Libpng", - "libpng-2.0", - "libselinux-1.0", - "libtiff", - "libutil-David-Nugent", - "LiLiQ-P-1.1", - "LiLiQ-R-1.1", - "LiLiQ-Rplus-1.1", - "Linux-man-pages-1-para", - "Linux-man-pages-copyleft", - "Linux-man-pages-copyleft-2-para", - "Linux-man-pages-copyleft-var", - "Linux-OpenIB", - "LOOP", - "LPL-1.0", - "LPL-1.02", - "LPPL-1.0", - "LPPL-1.1", - "LPPL-1.2", - "LPPL-1.3a", - "LPPL-1.3c", - "LZMA-SDK-9.11-to-9.20", - "LZMA-SDK-9.22", - "MakeIndex", - "Martin-Birgmeier", - "metamail", - "Minpack", - "MirOS", - "MIT", - "MIT-0", - "MIT-advertising", - "MIT-CMU", - "MIT-enna", - "MIT-feh", - "MIT-Festival", - "MIT-Modern-Variant", - "MIT-open-group", - "MIT-testregex", - "MIT-Wu", - "MITNFA", - "MMIXware", - "Motosoto", - "MPEG-Software-Simulation", - "mpi-permissive", - "mpich2", - "MPL-1.0", - "MPL-1.1", - "MPL-2.0", - "MPL-2.0-no-copyleft-exception", - "mplus", - "MS-LPL", - "MS-PL", - "MS-RL", - "MTLL", - "MulanPSL-1.0", - "MulanPSL-2.0", - "Multics", - "Mup", - "NAIST-2003", - "NASA-1.3", - "Naumen", - "NBPL-1.0", - "NCGL-UK-2.0", - "NCSA", - "Net-SNMP", - "NetCDF", - "Newsletr", - "NGPL", - "NICTA-1.0", - "NIST-PD", - "NIST-PD-fallback", - "NIST-Software", - "NLOD-1.0", - "NLOD-2.0", - "NLPL", - "Nokia", - "NOSL", - "Noweb", - "NPL-1.0", - "NPL-1.1", - "NPOSL-3.0", - "NRL", - "NTP", - "NTP-0", - "Nunit", - "O-UDA-1.0", - "OCCT-PL", - "OCLC-2.0", - "ODbL-1.0", - "ODC-By-1.0", - "OFFIS", - "OFL-1.0", - "OFL-1.0-no-RFN", - "OFL-1.0-RFN", - "OFL-1.1", - "OFL-1.1-no-RFN", - "OFL-1.1-RFN", - "OGC-1.0", - "OGDL-Taiwan-1.0", - "OGL-Canada-2.0", - "OGL-UK-1.0", - "OGL-UK-2.0", - "OGL-UK-3.0", - "OGTSL", - "OLDAP-1.1", - "OLDAP-1.2", - "OLDAP-1.3", - "OLDAP-1.4", - "OLDAP-2.0", - "OLDAP-2.0.1", - "OLDAP-2.1", - "OLDAP-2.2", - "OLDAP-2.2.1", - "OLDAP-2.2.2", - "OLDAP-2.3", - "OLDAP-2.4", - "OLDAP-2.5", - "OLDAP-2.6", - "OLDAP-2.7", - "OLDAP-2.8", - "OLFL-1.3", - "OML", - "OpenPBS-2.3", - "OpenSSL", - "OPL-1.0", - "OPL-UK-3.0", - "OPUBL-1.0", - "OSET-PL-2.1", - "OSL-1.0", - "OSL-1.1", - "OSL-2.0", - "OSL-2.1", - "OSL-3.0", - "Parity-6.0.0", - "Parity-7.0.0", - "PDDL-1.0", - "PHP-3.0", - "PHP-3.01", - "Plexus", - "pnmstitch", - "PolyForm-Noncommercial-1.0.0", - "PolyForm-Small-Business-1.0.0", - "PostgreSQL", - "PSF-2.0", - "psfrag", - "psutils", - "Python-2.0", - "Python-2.0.1", - "Qhull", - "QPL-1.0", - "QPL-1.0-INRIA-2004", - "Rdisc", - "RHeCos-1.1", - "RPL-1.1", - "RPL-1.5", - "RPSL-1.0", - "RSA-MD", - "RSCPL", - "Ruby", - "SANE-exception", - "SAX-PD", - "Saxpath", - "SCEA", - "SchemeReport", - "Sendmail", - "Sendmail-8.23", - "SGI-B-1.0", - "SGI-B-1.1", - "SGI-B-2.0", - "SGP4", - "SHL-0.5", - "SHL-0.51", - "SimPL-2.0", - "SISSL", - "SISSL-1.2", - "SL", - "Sleepycat", - "SMLNJ", - "SMPPL", - "SNIA", - "snprintf", - "Soundex", - "Spencer-86", - "Spencer-94", - "Spencer-99", - "SPL-1.0", - "SSH-OpenSSH", - "SSH-short", - "SSPL-1.0", - "StandardML-NJ", - "stunnel-exception", - "SugarCRM-1.1.3", - "SunPro", - "SWL", - "Symlinks", - "TAPR-OHL-1.0", - "TCL", - "TCP-wrappers", - "TermReadKey", - "Texinfo-exception", - "TMate", - "TORQUE-1.1", - "TOSL", - "TPDL", - "TPL-1.0", - "TTWL", - "TTYP0", - "TU-Berlin-1.0", - "TU-Berlin-2.0", - "UCAR", - "UCL-1.0", - "Unicode-DFS-2015", - "Unicode-DFS-2016", - "Unicode-TOU", - "UnixCrypt", - "Unlicense", - "UPL-1.0", - "URT-RLE", - "Vim", - "VOSTROM", - "VSL-1.0", - "W3C", - "W3C-19980720", - "W3C-20150513", - "w3m", - "Watcom-1.0", - "Widget-Workshop", - "Wsuipa", - "WTFPL", - "wxWindows", - "X11", - "X11-distribute-modifications-variant", - "Xdebug-1.03", - "Xerox", - "Xfig", - "XFree86-1.1", - "xinetd", - "xlock", - "Xnet", - "xpp", - "XSkat", - "YPL-1.0", - "YPL-1.1", - "Zed", - "Zeeff", - "Zend-2.0", - "Zimbra-1.3", - "Zimbra-1.4", - "Zlib", - "zlib-acknowledgement", - "ZPL-1.1", - "ZPL-2.0", - "ZPL-2.1" - ] - }, - "otherIdentifier": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/adms#Identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every additional identifier included." - } - }, - "provenance": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. This property contains a statement about the lineage of a Dataset.", - "items": { - "type": "string", - "description": "Property. Every lineage associated to the dataset." - } - }, - "publisher": { - "type": "string", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to an entity (organisation) responsible for making the Dataset available." - }, - "qualifiedAttribution": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property refers to a link to an Agent having some form of responsibility for the resource.", - "items": { - "type": "string", - "description": "Property. Every attribution included." - } - }, - "qualifiedRelation": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property provides a link to a description of a relationship with another resource.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every qualified relation included." - } - }, - "relatedResource": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property refers to a related resource.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every related resource included." - } - }, - "releaseDate": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", - "format": "date-time" - }, - "reputation": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", - "enum": [ - "Level1Reputation", - "Level2Reputation", - "Level3Reputation" - ] - }, - "reputationOrganization": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." - }, - "sample": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Distribution'. This property refers to a sample distribution of the dataset.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every sample included with the dataset." - } - }, - "source": { - "type": "array", - "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived.", - "items": { - "description": "Property. Every version of the related datasets.", - "anyOf": [ - { - "type": "string", - "minLength": 1, - "maxLength": 256, - "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity." - }, - { - "type": "string", - "format": "uri", - "description": "Property. Identifier format of any NGSI entity." - } - ] - } - }, - "spatialResolution": { - "type": "number", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters." - }, - "standardization": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. The type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: * Level1Standardization: data model standardized by the publisher without releasing the documentation. * Level2Standardization: data model standardized by the published releasing the documentation. * Level3Standardization: data model using a local standard (national or smaller regional scope). * Level4Standardization: data model using an international standard.", - "enum": [ - "Level1Standardization", - "Level2Standardization", - "Level3Standardization", - "Level4Standardization" - ] - }, - "standardizationSource": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." - }, - "temporalCoverage": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to a temporal period that the Dataset covers.", - "items": { - "type": "string", - "format": "date-time", - "description": "Property. Every temporal period included." - } - }, - "temporalResolution": { - "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to the minimum time period resolvable in the dataset.", - "items": { - "type": "string", - "format": "duration", - "description": "Property. Every temporal resolution included." - } - }, - "theme": { - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes.", - "type": "array", - "items": { - "type": "string", - "description": "Property. Every theme included." - } - }, - "title": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", - "oneOf": [ - { - "type": "object", - "properties": { - "languageMap": { - "type": "object", - "description": "Property. Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", - "properties": { - "en": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in English." - }, - "de": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in German." - }, - "es": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Spanish." - }, - "fr": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in French." - }, - "it": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Italian." - }, - "ja": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Japanese." - }, - "ko": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Korean." - }, - "zh": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Chinese." - }, - "el": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Modern Greek." - }, - "nl": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Dutch." - }, - "fi": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Finnish." - } - } - } - } - }, - { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." - } - ] - }, - "Type": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen. The value SHOULD be taken from a well governed and broadly recognised controlled vocabulary, such as DCMI Type vocabulary (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7), [ISO-19115-1] scope codes (https://standards.iso.org/iso/19115/resources/Codelists/gml/MD_ScopeCode.xml), Datacite resource types [DataCite] (https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd), PARSE.Insight content-types used by re3data.org [RE3DATA-SCHEMA] (https://www.re3data.org/) (see item 15 contentType), MARC intellectual resource types (http://id.loc.gov/vocabulary/marcgt.html). Some members of these controlled vocabularies are not strictly suitable for datasets or data services (e.g., DCMI Type Event, PhysicalObject; [ISO-19115-1](https://www.w3.org/TR/vocab-dcat-3/#bib-iso-19115-1) CollectionHardware, CollectionSession, Initiative, Sample, Repository), but might be used in the context of other kinds of catalogs defined in DCAT profiles or applications." - }, - "validationSchema": { - "type": "string", - "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program." - }, - "version": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a version number or other version designation of the Dataset." - }, - "versionNotes": { - "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes.", - "items": { - "type": "string", - "description": "Property. Every language description of the version notes." + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "3.0.0", + "modelTags": "INTERSTAT, WATERVERSE", + "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/Dataset/schema.json", + "title": "Dataset DCAT-AP 3.0.0 schema.", + "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification.", + "type": "object", + "allOf": [ + { + "properties": { + "id": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" + }, + "type": { + "type": "string", + "description": "Property. NGSI type. It has to be Dataset.", + "enum": ["Dataset"] + }, + "accessMechanism": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Access level according to the 3 levels of MELODA5 metric. The expected values are: * Level1AccessMechanism: Web access or unique URL parameters to dataset. * Level2AccessMechanism: Web Access unique with parameters to single data. * Level3AccessMechanism: API or query language.", + "enum": [ + "Level1AccessMechanism", + "Level2AccessMechanism", + "Level3AccessMechanism" + ] + }, + "accessRights": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public." + }, + "addressesAvailable": { + "type": "string", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", + "enum": ["True", "False"] + }, + "applicableLegislation": { + "type": "array", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Dataset. Cardinality: 0..n.", + "items": { + "type": "string", + "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." + } + }, + "belongsToCatalogue": { + "description": "Relationship. It links the Dataset to its parent Catalogue. Model:'https://www.w3.org/ns/dcat#Catalogue'. Note: this attribute does not belong to the current version of DCAT-AP, 2.1.1.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Link to the catalogue." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Link to the catalogue." + } + ] + }, + "conformsTo": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. This property refers to an implementing rule or other specification.", + "items": { + "type": "string", + "description": "Property. Every rule or specification applicable." + } + }, + "contactPoint": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2006/vcard/ns#Kind'. This property contains contact information that can be used for sending comments about the Dataset.", + "items": { + "type": "string", + "description": "Property. Every contact element." + } + }, + "creator": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to the entity primarily responsible for producing the dataset.", + "items": { + "type": "string", + "description": "Property. Every creator included." + } + }, + "description": { + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/description'. This property contains a free-text account of the Dataset. This property can be repeated for parallel language versions of the description.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + }, + "de": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + }, + "es": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + }, + "it": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + }, + "ja": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + }, + "zh": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + }, + "el": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." } - }, - "wasGeneratedBy": { - "type": "array", - "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. This property refers to an activity that generated, or provides the business context for, the creation of the dataset.", - "items": { - "type": "string", - "description": "Property. Every activity included." + } + } + } + }, + { + "type": "string", + "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." + } + ] + }, + "dissemination": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Dissemination level according to MELODA5 communication dimension: * Level1Dissemination: communication/dissemination not systematic. * Level2Dissemination: available resources on updates (i.e., RSS feed). * Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely).", + "enum": [ + "Level1Dissemination", + "Level2Dissemination", + "Level3Dissemination" + ] + }, + "disseminationOrganization": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of MELODA5." + }, + "distribution": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Distribution'. This property links the Dataset to an available Distribution.", + "items": { + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Every link to a distribution." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Every link to a distribution." + } + ] + } + }, + "documentation": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every page or document." + } + }, + "frequency": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." + }, + "geographicalCoverage": { + "type": "array", + "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset.", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", + "description": "Property. Every location included." + } + }, + "geolocation": { + "type": "string", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", + "enum": ["True", "False"] + }, + "hasVersion": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", + "items": { + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity." + } + ] + } + }, + "identifier": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every identifier of the dataset." + } + }, + "inSeries": { + "type": "array", + "description": "Relationship. Model:'https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series'. This property links the Dataset to an available Distribution.", + "items": { + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. A dataset series of which the dataset is part.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity." + } + ] + } + }, + "isReferencedBy": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every resource related to the dataset." + } + }, + "isVersionOf": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset of which the described Dataset is a version, edition, or adaptation.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every dataset that the current dataset is a version of it." + } + }, + "keyword": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a keyword or tag, describing the Dataset.", + "items": { + "type": "string", + "description": "Property. Every keyword tag included." + } + }, + "landingPage": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a web page that provides access to the Dataset, its Distributions and/or additional information. It is intended to point to a landing page at the original data provider, not to a page on a site of a third party, such as an aggregator.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every web page listed." + } + }, + "language": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset. The possible values are defined by the Library of Congress (ISO 639-1: http://id.loc.gov/vocabulary/iso639-1.html, ISO 639-2: http://id.loc.gov/vocabulary/iso639-2.html).", + "items": { + "type": "string", + "description": "Property. Every language included." + } + }, + "license": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses).", + "enum": [ + "0BSD", + "AAL", + "Abstyles", + "AdaCore-doc", + "Adobe-2006", + "Adobe-Glyph", + "ADSL", + "AFL-1.1", + "AFL-1.2", + "AFL-2.0", + "AFL-2.1", + "AFL-3.0", + "Afmparse", + "AGPL-1.0", + "AGPL-1.0-only", + "AGPL-1.0-or-later", + "AGPL-3.0", + "AGPL-3.0-only", + "AGPL-3.0-or-later", + "Aladdin", + "AMDPLPA", + "AML", + "AMPAS", + "ANTLR-PD", + "ANTLR-PD-fallback", + "Apache-1.0", + "Apache-1.1", + "Apache-2.0", + "APAFML", + "APL-1.0", + "App-s2p", + "APSL-1.0", + "APSL-1.1", + "APSL-1.2", + "APSL-2.0", + "Arphic-1999", + "Artistic-1.0", + "Artistic-1.0-cl8", + "Artistic-1.0-Perl", + "Artistic-2.0", + "ASWF-Digital-Assets-1.0", + "ASWF-Digital-Assets-1.1", + "Baekmuk", + "Bahyph", + "Barr", + "Beerware", + "Bitstream-Charter", + "Bitstream-Vera", + "BitTorrent-1.0", + "BitTorrent-1.1", + "blessing", + "BlueOak-1.0.0", + "Boehm-GC", + "Borceux", + "Brian-Gladman-3-Clause", + "BSD-1-Clause", + "BSD-2-Clause", + "BSD-2-Clause-FreeBSD", + "BSD-2-Clause-NetBSD", + "BSD-2-Clause-Patent", + "BSD-2-Clause-Views", + "BSD-3-Clause", + "BSD-3-Clause-Attribution", + "BSD-3-Clause-Clear", + "BSD-3-Clause-LBNL", + "BSD-3-Clause-Modification", + "BSD-3-Clause-No-Military-License", + "BSD-3-Clause-No-Nuclear-License", + "BSD-3-Clause-No-Nuclear-License-2014", + "BSD-3-Clause-No-Nuclear-Warranty", + "BSD-3-Clause-Open-MPI", + "BSD-4-Clause", + "BSD-4-Clause-Shortened", + "BSD-4-Clause-UC", + "BSD-4.3RENO", + "BSD-4.3TAHOE", + "BSD-Advertising-Acknowledgement", + "BSD-Attribution-HPND-disclaimer", + "BSD-Protection", + "BSD-Source-Code", + "BSL-1.0", + "BUSL-1.1", + "bzip2-1.0.5", + "bzip2-1.0.6", + "C-UDA-1.0", + "CAL-1.0", + "CAL-1.0-Combined-Work-Exception", + "Caldera", + "CATOSL-1.1", + "CC-BY-1.0", + "CC-BY-2.0", + "CC-BY-2.5", + "CC-BY-2.5-AU", + "CC-BY-3.0", + "CC-BY-3.0-AT", + "CC-BY-3.0-DE", + "CC-BY-3.0-IGO", + "CC-BY-3.0-NL", + "CC-BY-3.0-US", + "CC-BY-4.0", + "CC-BY-NC-1.0", + "CC-BY-NC-2.0", + "CC-BY-NC-2.5", + "CC-BY-NC-3.0", + "CC-BY-NC-3.0-DE", + "CC-BY-NC-4.0", + "CC-BY-NC-ND-1.0", + "CC-BY-NC-ND-2.0", + "CC-BY-NC-ND-2.5", + "CC-BY-NC-ND-3.0", + "CC-BY-NC-ND-3.0-DE", + "CC-BY-NC-ND-3.0-IGO", + "CC-BY-NC-ND-4.0", + "CC-BY-NC-SA-1.0", + "CC-BY-NC-SA-2.0", + "CC-BY-NC-SA-2.0-DE", + "CC-BY-NC-SA-2.0-FR", + "CC-BY-NC-SA-2.0-UK", + "CC-BY-NC-SA-2.5", + "CC-BY-NC-SA-3.0", + "CC-BY-NC-SA-3.0-DE", + "CC-BY-NC-SA-3.0-IGO", + "CC-BY-NC-SA-4.0", + "CC-BY-ND-1.0", + "CC-BY-ND-2.0", + "CC-BY-ND-2.5", + "CC-BY-ND-3.0", + "CC-BY-ND-3.0-DE", + "CC-BY-ND-4.0", + "CC-BY-SA-1.0", + "CC-BY-SA-2.0", + "CC-BY-SA-2.0-UK", + "CC-BY-SA-2.1-JP", + "CC-BY-SA-2.5", + "CC-BY-SA-3.0", + "CC-BY-SA-3.0-AT", + "CC-BY-SA-3.0-DE", + "CC-BY-SA-3.0-IGO", + "CC-BY-SA-4.0", + "CC-PDDC", + "CC0-1.0", + "CDDL-1.0", + "CDDL-1.1", + "CDL-1.0", + "CDLA-Permissive-1.0", + "CDLA-Permissive-2.0", + "CDLA-Sharing-1.0", + "CECILL-1.0", + "CECILL-1.1", + "CECILL-2.0", + "CECILL-2.1", + "CECILL-B", + "CECILL-C", + "CERN-OHL-1.1", + "CERN-OHL-1.2", + "CERN-OHL-P-2.0", + "CERN-OHL-S-2.0", + "CERN-OHL-W-2.0", + "CFITSIO", + "check-cvs", + "checkmk", + "ClArtistic", + "Clips", + "CMU-Mach", + "CNRI-Jython", + "CNRI-Python", + "CNRI-Python-GPL-Compatible", + "COIL-1.0", + "Community-Spec-1.0", + "Condor-1.1", + "copyleft-next-0.3.0", + "copyleft-next-0.3.1", + "Cornell-Lossless-JPEG", + "CPAL-1.0", + "CPL-1.0", + "CPOL-1.02", + "Crossword", + "CrystalStacker", + "CUA-OPL-1.0", + "Cube", + "curl", + "D-FSL-1.0", + "diffmark", + "DL-DE-BY-2.0", + "DL-DE-ZERO-2.0", + "DOC", + "Dotseqn", + "DRL-1.0", + "DSDP", + "dtoa", + "dvipdfm", + "ECL-1.0", + "ECL-2.0", + "eCos-2.0", + "EFL-1.0", + "EFL-2.0", + "eGenix", + "Elastic-2.0", + "Entessa", + "EPICS", + "EPL-1.0", + "EPL-2.0", + "ErlPL-1.1", + "etalab-2.0", + "EUDatagrid", + "EUPL-1.0", + "EUPL-1.1", + "EUPL-1.2", + "Eurosym", + "Fair", + "FDK-AAC", + "Frameworx-1.0", + "FreeBSD-DOC", + "FreeImage", + "FSFAP", + "FSFUL", + "FSFULLR", + "FSFULLRWD", + "FTL", + "GD", + "GFDL-1.1", + "GFDL-1.1-invariants-only", + "GFDL-1.1-invariants-or-later", + "GFDL-1.1-no-invariants-only", + "GFDL-1.1-no-invariants-or-later", + "GFDL-1.1-only", + "GFDL-1.1-or-later", + "GFDL-1.2", + "GFDL-1.2-invariants-only", + "GFDL-1.2-invariants-or-later", + "GFDL-1.2-no-invariants-only", + "GFDL-1.2-no-invariants-or-later", + "GFDL-1.2-only", + "GFDL-1.2-or-later", + "GFDL-1.3", + "GFDL-1.3-invariants-only", + "GFDL-1.3-invariants-or-later", + "GFDL-1.3-no-invariants-only", + "GFDL-1.3-no-invariants-or-later", + "GFDL-1.3-only", + "GFDL-1.3-or-later", + "Giftware", + "GL2PS", + "Glide", + "Glulxe", + "GLWTPL", + "GNU-compiler-exception", + "gnuplot", + "GPL-1.0", + "GPL-1.0+", + "GPL-1.0-only", + "GPL-1.0-or-later", + "GPL-2.0", + "GPL-2.0+", + "GPL-2.0-only", + "GPL-2.0-or-later", + "GPL-2.0-with-autoconf-exception", + "GPL-2.0-with-bison-exception", + "GPL-2.0-with-classpath-exception", + "GPL-2.0-with-font-exception", + "GPL-2.0-with-GCC-exception", + "GPL-3.0", + "GPL-3.0+", + "GPL-3.0-only", + "GPL-3.0-or-later", + "GPL-3.0-with-autoconf-exception", + "GPL-3.0-with-GCC-exception", + "Graphics-Gems", + "gSOAP-1.3b", + "HaskellReport", + "Hippocratic-2.1", + "HP-1986", + "HP-1989", + "HPND", + "HPND-export-US", + "HPND-Markus-Kuhn", + "HPND-sell-variant", + "HPND-sell-variant-MIT-disclaimer", + "HTMLTIDY", + "IBM-pibs", + "ICU", + "IEC-Code-Components-EULA", + "IJG", + "IJG-short", + "ImageMagick", + "iMatix", + "Imlib2", + "Info-ZIP", + "Inner-Net-2.0", + "Intel", + "Intel-ACPI", + "Interbase-1.0", + "IPA", + "IPL-1.0", + "ISC", + "Jam", + "JasPer-2.0", + "JPL-image", + "JPNIC", + "JSON", + "Kazlib", + "Knuth-CTAN", + "LAL-1.2", + "LAL-1.3", + "Latex2e", + "Latex2e-translated-notice", + "Leptonica", + "LGPL-2.0", + "LGPL-2.0+", + "LGPL-2.0-only", + "LGPL-2.0-or-later", + "LGPL-2.1", + "LGPL-2.1+", + "LGPL-2.1-only", + "LGPL-2.1-or-later", + "LGPL-3.0", + "LGPL-3.0+", + "LGPL-3.0-only", + "LGPL-3.0-or-later", + "LGPLLR", + "Libpng", + "libpng-2.0", + "libselinux-1.0", + "libtiff", + "libutil-David-Nugent", + "LiLiQ-P-1.1", + "LiLiQ-R-1.1", + "LiLiQ-Rplus-1.1", + "Linux-man-pages-1-para", + "Linux-man-pages-copyleft", + "Linux-man-pages-copyleft-2-para", + "Linux-man-pages-copyleft-var", + "Linux-OpenIB", + "LOOP", + "LPL-1.0", + "LPL-1.02", + "LPPL-1.0", + "LPPL-1.1", + "LPPL-1.2", + "LPPL-1.3a", + "LPPL-1.3c", + "LZMA-SDK-9.11-to-9.20", + "LZMA-SDK-9.22", + "MakeIndex", + "Martin-Birgmeier", + "metamail", + "Minpack", + "MirOS", + "MIT", + "MIT-0", + "MIT-advertising", + "MIT-CMU", + "MIT-enna", + "MIT-feh", + "MIT-Festival", + "MIT-Modern-Variant", + "MIT-open-group", + "MIT-testregex", + "MIT-Wu", + "MITNFA", + "MMIXware", + "Motosoto", + "MPEG-Software-Simulation", + "mpi-permissive", + "mpich2", + "MPL-1.0", + "MPL-1.1", + "MPL-2.0", + "MPL-2.0-no-copyleft-exception", + "mplus", + "MS-LPL", + "MS-PL", + "MS-RL", + "MTLL", + "MulanPSL-1.0", + "MulanPSL-2.0", + "Multics", + "Mup", + "NAIST-2003", + "NASA-1.3", + "Naumen", + "NBPL-1.0", + "NCGL-UK-2.0", + "NCSA", + "Net-SNMP", + "NetCDF", + "Newsletr", + "NGPL", + "NICTA-1.0", + "NIST-PD", + "NIST-PD-fallback", + "NIST-Software", + "NLOD-1.0", + "NLOD-2.0", + "NLPL", + "Nokia", + "NOSL", + "Noweb", + "NPL-1.0", + "NPL-1.1", + "NPOSL-3.0", + "NRL", + "NTP", + "NTP-0", + "Nunit", + "O-UDA-1.0", + "OCCT-PL", + "OCLC-2.0", + "ODbL-1.0", + "ODC-By-1.0", + "OFFIS", + "OFL-1.0", + "OFL-1.0-no-RFN", + "OFL-1.0-RFN", + "OFL-1.1", + "OFL-1.1-no-RFN", + "OFL-1.1-RFN", + "OGC-1.0", + "OGDL-Taiwan-1.0", + "OGL-Canada-2.0", + "OGL-UK-1.0", + "OGL-UK-2.0", + "OGL-UK-3.0", + "OGTSL", + "OLDAP-1.1", + "OLDAP-1.2", + "OLDAP-1.3", + "OLDAP-1.4", + "OLDAP-2.0", + "OLDAP-2.0.1", + "OLDAP-2.1", + "OLDAP-2.2", + "OLDAP-2.2.1", + "OLDAP-2.2.2", + "OLDAP-2.3", + "OLDAP-2.4", + "OLDAP-2.5", + "OLDAP-2.6", + "OLDAP-2.7", + "OLDAP-2.8", + "OLFL-1.3", + "OML", + "OpenPBS-2.3", + "OpenSSL", + "OPL-1.0", + "OPL-UK-3.0", + "OPUBL-1.0", + "OSET-PL-2.1", + "OSL-1.0", + "OSL-1.1", + "OSL-2.0", + "OSL-2.1", + "OSL-3.0", + "Parity-6.0.0", + "Parity-7.0.0", + "PDDL-1.0", + "PHP-3.0", + "PHP-3.01", + "Plexus", + "pnmstitch", + "PolyForm-Noncommercial-1.0.0", + "PolyForm-Small-Business-1.0.0", + "PostgreSQL", + "PSF-2.0", + "psfrag", + "psutils", + "Python-2.0", + "Python-2.0.1", + "Qhull", + "QPL-1.0", + "QPL-1.0-INRIA-2004", + "Rdisc", + "RHeCos-1.1", + "RPL-1.1", + "RPL-1.5", + "RPSL-1.0", + "RSA-MD", + "RSCPL", + "Ruby", + "SANE-exception", + "SAX-PD", + "Saxpath", + "SCEA", + "SchemeReport", + "Sendmail", + "Sendmail-8.23", + "SGI-B-1.0", + "SGI-B-1.1", + "SGI-B-2.0", + "SGP4", + "SHL-0.5", + "SHL-0.51", + "SimPL-2.0", + "SISSL", + "SISSL-1.2", + "SL", + "Sleepycat", + "SMLNJ", + "SMPPL", + "SNIA", + "snprintf", + "Soundex", + "Spencer-86", + "Spencer-94", + "Spencer-99", + "SPL-1.0", + "SSH-OpenSSH", + "SSH-short", + "SSPL-1.0", + "StandardML-NJ", + "stunnel-exception", + "SugarCRM-1.1.3", + "SunPro", + "SWL", + "Symlinks", + "TAPR-OHL-1.0", + "TCL", + "TCP-wrappers", + "TermReadKey", + "Texinfo-exception", + "TMate", + "TORQUE-1.1", + "TOSL", + "TPDL", + "TPL-1.0", + "TTWL", + "TTYP0", + "TU-Berlin-1.0", + "TU-Berlin-2.0", + "UCAR", + "UCL-1.0", + "Unicode-DFS-2015", + "Unicode-DFS-2016", + "Unicode-TOU", + "UnixCrypt", + "Unlicense", + "UPL-1.0", + "URT-RLE", + "Vim", + "VOSTROM", + "VSL-1.0", + "W3C", + "W3C-19980720", + "W3C-20150513", + "w3m", + "Watcom-1.0", + "Widget-Workshop", + "Wsuipa", + "WTFPL", + "wxWindows", + "X11", + "X11-distribute-modifications-variant", + "Xdebug-1.03", + "Xerox", + "Xfig", + "XFree86-1.1", + "xinetd", + "xlock", + "Xnet", + "xpp", + "XSkat", + "YPL-1.0", + "YPL-1.1", + "Zed", + "Zeeff", + "Zend-2.0", + "Zimbra-1.3", + "Zimbra-1.4", + "Zlib", + "zlib-acknowledgement", + "ZPL-1.1", + "ZPL-2.0", + "ZPL-2.1" + ] + }, + "otherIdentifier": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/adms#Identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every additional identifier included." + } + }, + "provenance": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. This property contains a statement about the lineage of a Dataset.", + "items": { + "type": "string", + "description": "Property. Every lineage associated to the dataset." + } + }, + "publisher": { + "type": "string", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Agent'. This property refers to an entity (organisation) responsible for making the Dataset available." + }, + "qualifiedAttribution": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property refers to a link to an Agent having some form of responsibility for the resource.", + "items": { + "type": "string", + "description": "Property. Every attribution included." + } + }, + "qualifiedRelation": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property provides a link to a description of a relationship with another resource.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every qualified relation included." + } + }, + "relatedResource": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property refers to a related resource.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every related resource included." + } + }, + "releaseDate": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", + "format": "date-time" + }, + "reputation": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", + "enum": ["Level1Reputation", "Level2Reputation", "Level3Reputation"] + }, + "reputationOrganization": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of MELODA5 and it allows to retrieve their prestige from the ranking." + }, + "sample": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Distribution'. This property refers to a sample distribution of the dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every sample included with the dataset." + } + }, + "source": { + "type": "array", + "description": "Relationship. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a related Dataset from which the described Dataset is derived.", + "items": { + "description": "Property. Every version of the related datasets.", + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity." + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity." + } + ] + } + }, + "spatialResolution": { + "type": "number", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters." + }, + "standardization": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. The type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: * Level1Standardization: data model standardized by the publisher without releasing the documentation. * Level2Standardization: data model standardized by the published releasing the documentation. * Level3Standardization: data model using a local standard (national or smaller regional scope). * Level4Standardization: data model using an international standard.", + "enum": [ + "Level1Standardization", + "Level2Standardization", + "Level3Standardization", + "Level4Standardization" + ] + }, + "standardizationSource": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." + }, + "temporalCoverage": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to a temporal period that the Dataset covers.", + "items": { + "type": "string", + "format": "date-time", + "description": "Property. Every temporal period included." + } + }, + "temporalResolution": { + "type": "array", + "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to the minimum time period resolvable in the dataset.", + "items": { + "type": "string", + "format": "duration", + "description": "Property. Every temporal resolution included." + } + }, + "theme": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes.", + "items": { + "type": "string", + "description": "Property. Every theme included." + } + }, + "title": { + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name.", + "oneOf": [ + { + "type": "object", + "properties": { + "languageMap": { + "type": "object", + "description": "Property. Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "properties": { + "en": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in English." + }, + "de": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in German." + }, + "es": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Spanish." + }, + "fr": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in French." + }, + "it": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Italian." + }, + "ja": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Japanese." + }, + "ko": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Korean." + }, + "zh": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Chinese." + }, + "el": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Modern Greek." + }, + "nl": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Dutch." + }, + "fi": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in Finnish." } + } } + } + }, + { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." } + ] + }, + "Type": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the type of the Dataset. A recommended controlled vocabulary data-type is foreseen. The value SHOULD be taken from a well governed and broadly recognised controlled vocabulary, such as DCMI Type vocabulary (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7), [ISO-19115-1] scope codes (https://standards.iso.org/iso/19115/resources/Codelists/gml/MD_ScopeCode.xml), Datacite resource types [DataCite] (https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd), PARSE.Insight content-types used by re3data.org [RE3DATA-SCHEMA] (https://www.re3data.org/) (see item 15 contentType), MARC intellectual resource types (http://id.loc.gov/vocabulary/marcgt.html). Some members of these controlled vocabularies are not strictly suitable for datasets or data services (e.g., DCMI Type Event, PhysicalObject; [ISO-19115-1](https://www.w3.org/TR/vocab-dcat-3/#bib-iso-19115-1) CollectionHardware, CollectionSession, Initiative, Sample, Repository), but might be used in the context of other kinds of catalogs defined in DCAT profiles or applications." + }, + "validationSchema": { + "type": "string", + "description": "Property. Model:'https://schema.org/url'. URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program." + }, + "version": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a version number or other version designation of the Dataset." + }, + "versionNotes": { + "type": "array", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes.", + "items": { + "type": "string", + "description": "Property. Every language description of the version notes." + } + }, + "wasGeneratedBy": { + "type": "array", + "description": "Property. Model:'https://www.w3.org/ns/prov#Activity'. This property refers to an activity that generated, or provides the business context for, the creation of the dataset.", + "items": { + "type": "string", + "description": "Property. Every activity included." + } } - ], - "required": [ - "id", - "type", - "description", - "title" - ] -} \ No newline at end of file + } + } + ], + "required": ["id", "type", "description", "title"] +} From 1781290e813b461c889d6db1fbae2a2f641028a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Fri, 8 Nov 2024 14:48:30 +0100 Subject: [PATCH 12/27] Update notes.yaml from Dataset and DataService classes --- DataService/notes.yaml | 28 ++++++++++++++++++++---- DataService/schema.json | 48 ++++++++++++++++++++--------------------- Dataset/notes.yaml | 2 +- 3 files changed, 49 insertions(+), 29 deletions(-) diff --git a/DataService/notes.yaml b/DataService/notes.yaml index 455c234..5b0292f 100644 --- a/DataService/notes.yaml +++ b/DataService/notes.yaml @@ -1,8 +1,28 @@ notesHeader: - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to maintain compatibility with NGSI standard and other data models. - Adding of the FAIR principles and MELODA5 dimensions properties. + - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). Some properties have been renamed in order to prevent conflicts with other existing properties. Additionally other properties have been added to maintain compatibility with NGSI standard and other data models. + - Adding of the FAIR principles and MELODA5 dimensions properties: + - provenance, list of libraries and tools used in the development and execution of the service. + - lastUpdated, last time at which the data service has been updated in a way that changes its behavior. + - operationSpace, Geojson reference to the Data Service, it can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon. + - address, the mailing address or the organization that provide the Data Service. + - validationSchema, URL to the technical validation schema for the Data Service (JSON Schema) in the Smart Data Models program. + - licence, this property contains the license under which the Data service is made available. notesMiddle: - Some properties have been added to allow for more a wider range of usage. Namely contactPoint, assetProvider and configuration. + Some properties have been added to allow for more a wider range of usage. Namely assetProvider and configuration. -notesFooter: \ No newline at end of file +notesFooter: + # CHANGELOG DCAT-AP SEMIC Core Vocabulary + + ## DCAT-AP::DataService 2.1.1 -> 3.0.0 ($schemaVersion": "0.0.2 -> $schemaVersion": "1.0.0") + + - contactPoint, new property in DCAT-AP 3.0.0, array of contacts information that can be used for sending comments about the Data Service. + - format, new property in DCAT-AP 3.0.0, the structure that can be returned by querying the endpointURL. + - keyword, new property in DCAT-AP 3.0.0, contains a list of keywords or tags, describing the Data Service. + - landingPage, new property in DCAT-AP 3.0.0, this property refers to a web page that provides access to the Data Service and/or additional information. + - publisher, new property in DCAT-AP 3.0.0, this property refers to a collection of data that this data service can distribute. + - theme, new property in DCAT-AP 3.0.0, this property refers to a category of the Data Service. + - endPointURL is translated to endpointURL. + - endPointDescription is translated to endpointDescription. + - serverDataset description is modified from Property to Relationship of Datasets. + - title/description properties were represented as an array of strings, each entry in the array being a translation in a specific language. They are represented now as LanguageProperty defined in the ETSI NGSI-LD specification to offer multilanguage support of the Data Service data. diff --git a/DataService/schema.json b/DataService/schema.json index a900fc4..55c004b 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -18,15 +18,15 @@ "type": { "type": "string", "enum": ["DataService"], - "description": "Property. NGSI Entity type. It has to be DataService" + "description": "Property. NGSI Entity type. It has to be DataService." }, "accessRights": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies" + "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies." }, "applicableLegislation": { "type": "array", - "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Data Service. Cardinality: 0..n", + "description": "Property. Model:'http://data.europa.eu/r5r/applicableLegislation'. The legislation that mandates the creation or management of the Data Service. Cardinality: 0..n.", "items": { "type": "string", "description": "Property. Model:'http://data.europa.eu/eli/ontology#LegalResource'. This class represents the legislation, policy or policies that lie behind the Rules that govern the service. The definition and properties of the Legal Resource class are aligned with the ontology included in \"Council conclusions inviting the introduction of the European Legislation Identifier (ELI - https://eur-lex.europa.eu/eli-register/about.html)\". For describing the attributes of a Legal Resource (labels, preferred labels, alternative labels, definition, etc.) we refer to the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) ontology. In this data specification the use is restricted to instances of this class that follow the (ELI - https://op.europa.eu/en/web/eu-vocabularies/eli) URI guidelines." @@ -34,7 +34,7 @@ }, "conformsTo": { "type": "array", - "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. An established (technical) standard to which the Data Service conforms. The standards referred here SHOULD describe the Data Service and not the data it serves. The latter is provided by the dataset with which this Data Service is connected. For instance the data service adheres to the OGC WFS API standard, while the associated dataset adheres to the INSPIRE (https://knowledge-base.inspire.ec.europa.eu/index_en) Address data model. Cardinality: 0..n", + "description": "Property. Model:'http://purl.org/dc/terms/conformsTo'. An established (technical) standard to which the Data Service conforms. The standards referred here SHOULD describe the Data Service and not the data it serves. The latter is provided by the dataset with which this Data Service is connected. For instance the data service adheres to the OGC WFS API standard, while the associated dataset adheres to the INSPIRE (https://knowledge-base.inspire.ec.europa.eu/index_en) Address data model. Cardinality: 0..n.", "items": { "type": "string", "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Standard'. A standard or other specification to which a resource conforms. This specification does not impose any additional requirements to properties for this entity." @@ -42,7 +42,7 @@ }, "contactPoint": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n", + "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n.", "items": { "type": "object", "description": "Property. Model:'https://www.w3.org/ns/dcat#contactPoint'. Relevant contact information for the cataloged resource. Use of vCard is recommended (https://www.w3.org/TR/vcard-rdf/#d4e1819)." @@ -114,7 +114,7 @@ }, "documentation": { "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n.", "items": { "type": "string", "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." @@ -122,10 +122,10 @@ }, "endpointDescription": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement.", "items": { "type": "string", - "description": "Property. Every service available at an end-point" + "description": "Property. Every service available at an end-point." } }, "endpointURL": { @@ -170,7 +170,7 @@ }, "licence": { "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data service is made available", + "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data Service is made available.", "enum": [ "0BSD", "AAL", @@ -748,12 +748,13 @@ ] }, "operationSpace": { + "description": "GeoProperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon.", "oneOf": [ { "title": "GeoJSON Point", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. Point", + "description": "GeoProperty. Geojson reference to the item. Point.", "properties": { "type": { "type": "string", @@ -779,7 +780,7 @@ "title": "GeoJSON LineString", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. LineString", + "description": "GeoProperty. Geojson reference to the item. LineString.", "properties": { "type": { "type": "string", @@ -809,7 +810,7 @@ "title": "GeoJSON Polygon", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. Polygon", + "description": "GeoProperty. Geojson reference to the item. Polygon.", "properties": { "type": { "type": "string", @@ -842,7 +843,7 @@ "title": "GeoJSON MultiPoint", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. MultiPoint", + "description": "GeoProperty. Geojson reference to the item. MultiPoint.", "properties": { "type": { "type": "string", @@ -871,7 +872,7 @@ "title": "GeoJSON MultiLineString", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "description": "GeoProperty. Geojson reference to the item. MultiLineString.", "properties": { "type": { "type": "string", @@ -904,7 +905,7 @@ "title": "GeoJSON MultiPolygon", "type": "object", "required": ["type", "coordinates"], - "description": "GeoProperty. Geojson reference to the item. MultiLineString", + "description": "GeoProperty. Geojson reference to the item. MultiLineString.", "properties": { "type": { "type": "string", @@ -936,15 +937,14 @@ } } } - ], - "description": "GeoProperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon" + ] }, "provenance": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", "items": { "type": "string", - "description": "Property. Every lineage associated to the data service" + "description": "Property. Every lineage associated to the data service." } }, "publisher": { @@ -953,35 +953,35 @@ }, "servesDataset": { "type": "array", - "description": "Relationship. Model:'https://www.w3.org/ns/dcat#servesDataset'. This property refers to a collection of data that this data service can distribute", + "description": "Relationship. Model:'https://www.w3.org/ns/dcat#servesDataset'. This property refers to a collection of data that this data service can distribute.", "items": { - "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", + "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute.", "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Identifier format of any NGSI entity." }, { "type": "string", "format": "uri", - "description": "Property. Identifier format of any NGSI entity" + "description": "Property. Identifier format of any NGSI entity." } ] } }, "theme": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes.", + "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to a category of the Data Service. A Dataset may be associated with multiple themes.", "items": { "type": "string", "description": "Property. Every theme included." } }, "title": { - "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", + "description": "LanguageProperty. Model:'http://purl.org/dc/terms/title'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name.", "oneOf": [ { "type": "object", diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index aa13e44..9dc3040 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -31,7 +31,7 @@ notesMiddle: notesFooter: # CHANGELOG DCAT-AP SEMIC Core Vocabulary - ## DCAT-AP 2.1.1 -> 3.0.0 ($schemaVersion": "2.0.1" -> $schemaVersion": "3.0.0") + ## DCAT-AP::Dataset 2.1.1 -> 3.0.0 ($schemaVersion": "2.0.1" -> $schemaVersion": "3.0.0") - spatial property translated to geographicalCoverage. - modified property is translated to modifiedAt and deleted from the schema as per the ETSI NGSI-LD specification. From c3786b0dec8f184f8c1579bd1078e57f5fc86603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Fri, 8 Nov 2024 15:24:16 +0100 Subject: [PATCH 13/27] Update to resolve Data Models Testing tool --- DataService/schema.json | 2 ++ Dataset/schema.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/DataService/schema.json b/DataService/schema.json index 55c004b..d88936b 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -6,6 +6,8 @@ "title": "Data Service DCAT-AP 3.0.0 schema - extended", "description": "Data Service adapted from DCAT-AP 3.0.0 specification, but extended with additional properties and compatible with NGSI standard", "type": "object", + "derivedFrom": "https://semiceu.github.io/DCAT-AP/releases/3.0.0/#DataService", + "license": "https://creativecommons.org/licenses/by/4.0", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" diff --git a/Dataset/schema.json b/Dataset/schema.json index 7f6fccf..db62db1 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -6,6 +6,8 @@ "title": "Dataset DCAT-AP 3.0.0 schema.", "description": "Dataset Schema definition based on DCAT-AP 3.0.0 specification.", "type": "object", + "derivedFrom": "https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Dataset", + "license": "https://creativecommons.org/licenses/by/4.0", "allOf": [ { "properties": { From 9f08edc121debf7bf99fcddcc37e7b8b69fd0ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Sun, 10 Nov 2024 16:26:20 +0100 Subject: [PATCH 14/27] Update notes.yaml --- Dataset/notes.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index 9dc3040..0219172 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -1,28 +1,28 @@ notesHeader: - Adapted from [DCAT-AP version 3.0.0](https://semiceu.github.io/DCAT-AP/releases/3.0.0/). - Adding of the FAIR principles and MELODA5 dimensions properties. - - accessMechanism, access level according to the 3 levels of Meloda5 metric. The expected values are: + - accessMechanism, access level according to the 3 levels of Meloda5 metric. The expected values are - Level1AccessMechanism, Web access or unique URL parameters to dataset; - - Level2AccessMechanism: Web Access unique with parameters to single data; - - Level3AccessMechanism: API or query language. + - Level2AccessMechanism, Web Access unique with parameters to single data; + - Level3AccessMechanism, API or query language. - addressAvailable, defines if the data stream has postal addresses to identify the elements in the dataset. - - dissemination, dissemination level according to Meloda5 communication dimension: - - Level1Dissemination: communication/dissemination not systematic; - - Level2Dissemination: available resources on updates (i.e., RSS feed); - - Level3Dissemination: proactive dissemination/push dissemination (information automatic and timely). + - dissemination, dissemination level according to Meloda5 communication dimension + - Level1Dissemination, communication/dissemination not systematic; + - Level2Dissemination, available resources on updates (i.e., RSS feed); + - Level3Dissemination, proactive dissemination/push dissemination (information automatic and timely). - diseminationOrganization, URI to the organization which is responsible for dissemination activities related to the dataset. It matches the dimension/communication of Meloda5. - geolocation, defines if the data stream has geolocation (coordinates) in any of its attributes. - license, This property refers to the license under which the Dataset is made available. Id of the license according to the enumerated values. It is extracted from the id of the SPDX standard (https://spdx.org/licenses). - - reputation, reputation level according to Meloda5 reputation dimension: - - Level1Reputation: no information about the reputation of the data source; - - Level2Reputation: statistics or reports published on user’s opinions; - - Level3Reputation: Indicators or rankings on reputation of the data source. + - reputation, reputation level according to Meloda5 reputation dimension + - Level1Reputation, no information about the reputation of the data source; + - Level2Reputation, statistics or reports published on user’s opinions; + - Level3Reputation, Indicators or rankings on reputation of the data source. - reputationOrganization, URI to the organization which is responsible for the publication of the dataset in terms of reputation. It matches the dimension reputation of Meloda5 and it allows to retrieve their prestige from the ranking. - - standardization, the type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values: - - Level1Standardization: data model standardized by the publisher without releasing the documentation; - - Level2Standardization: data model standardized by the published releasing the documentation; - - Level3Standardization: data model using a local standard (national or smaller regional scope); - - Level4Standardization: data model using an international standard. + - standardization, the type of data model standardization followed by the dataset. This is an enumeration with three (4) possible values + - Level1Standardization, data model standardized by the publisher without releasing the documentation; + - Level2Standardization, data model standardized by the published releasing the documentation; + - Level3Standardization, data model using a local standard (national or smaller regional scope); + - Level4Standardization, data model using an international standard. - standardizationSource, URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4. - validationSchema, URL to the technical validation schema for the dataset (JSON Schema) in the Smart Data Models program. From a1bc5a488870037a594bba75b55f1f100fc0b47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Mon, 11 Nov 2024 10:21:08 +0100 Subject: [PATCH 15/27] Update data model schemas and add json examples --- DataService/examples/example.json | 98 +++++++++++++++---- DataService/schema.json | 52 +++++------ Dataset/examples/example.json | 150 ++++++++++++++++++++---------- Dataset/schema.json | 26 +++--- 4 files changed, 221 insertions(+), 105 deletions(-) diff --git a/DataService/examples/example.json b/DataService/examples/example.json index c9e7bd5..0fb3e84 100644 --- a/DataService/examples/example.json +++ b/DataService/examples/example.json @@ -1,6 +1,7 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", + "modifiedAt": "2021-10-06T16:31:26Z", "accessRights": "No restrictions to access the data but APi requests limit, 5000 requests per hour", "address": { "addressCountry": "Luxembourg", @@ -10,33 +11,98 @@ "postalCode": "2985", "streetAddress": "2, rue Mercier" }, - "areaServed": "European union and beyond", - "description": [ - "Digital resources for accessing to the end points of the EU open data portal for solar system.", - "Recursos digitales para el acceso a los puntos de interaccion del portal europeo de datos abiertos del sistema solar." + "applicableLegislation": [ + "Regulation 883/2004", + "Regulation 465/2012" ], - "endPointDescription": [ + "areaServed": "European Union and beyond", + "conformsTo": [ + "OGC WFS API" + ], + "contactPoint": [ + { + "type": "ContactPoint", + "email": "wheatfarm@email.com" + }, + { + "type": "ContactPoint", + "email": "vehiculoelectrico@ava.es" + } + ], + "description": { + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "documentation": [ + "http://foo.org/how-to" + ], + "endpointDescription": [ "SPARQL end point without authentication", "API compliant with CKAN specification" ], - "endPointURL": [ + "endpointURL": [ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ], - "license": "EUPL.", - "location": { + "format": [ + "CSV", + "JSON" + ], + "keyword": [ + "Data Service", + "CKAN" + ], + "landingPage": [ + "https://dataservice.data", + "https://otherservice.data" + ], + "lastUpdated": "2021-07-01T10:27:59Z", + "licence": "EUPL.", + "operationSpace": { "coordinates": [ 72.564509, 11.125289 ], "type": "Point" }, + "provenance": [ + "1", + "2" + ], + "publisher": "Comunidad de madrid", "servesDataset": [ - "EU geographic map", - "EU physical map" - ], - "title": [ - "Data service of the european open data portal", - "Data service del portal europeo de datos abiertos" - ] -} \ No newline at end of file + "urn:ngsi-ld:Dataset:id:HUZY:41266715", + "urn:ngsi-ld:Dataset:id:HUZY:41266716" + ], + "theme": [ + "Economy", + "Tourism" + ], + "title": { + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" +} diff --git a/DataService/schema.json b/DataService/schema.json index d88936b..e956582 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -58,51 +58,51 @@ "properties": { "languageMap": { "type": "object", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", "properties": { "en": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, "de": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." }, "es": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." }, "fr": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." }, "it": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." }, "ja": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." }, "ko": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." }, "zh": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." }, "el": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." }, "nl": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." }, "fi": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." } } } @@ -110,7 +110,7 @@ }, { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." } ] }, @@ -990,51 +990,51 @@ "properties": { "languageMap": { "type": "object", - "description": "Property, Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "description": "Property. Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", "properties": { "en": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, "de": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." }, "es": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." }, "fr": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." }, "it": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." }, "ja": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." }, "ko": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." }, "zh": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." }, "el": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." }, "nl": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." }, "fi": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." } } } @@ -1042,7 +1042,7 @@ }, { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The title written in a specific language." } ] }, diff --git a/Dataset/examples/example.json b/Dataset/examples/example.json index e4e9d6b..f403f87 100644 --- a/Dataset/examples/example.json +++ b/Dataset/examples/example.json @@ -1,43 +1,52 @@ { "id": "urn:ngsi-ld:Dataset:id:VESI:23278568", "type": "Dataset", - "modified": "2015-07-13T03:09:32Z", - "source": [ - "urn:ngsi-ld:Dataset:items:YSWN:41266715" - ], - "description": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid." + "modifiedAt": "2015-07-13T03:09:32Z", + "accessMechanism": "Level3AccessMechanism", + "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", + "addressesAvailable": "True", + "applicableLegislation": [ + "Regulation 883/2004", + "Regulation 465/2012" ], - "title": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid" + "belongsToCatalogue": "urn:ngsi-ld:Catalogue:items:MWVK:61846917", + "conformsTo": [ + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" ], "contactPoint": [ "https://datos.gob.es/es/comment/reply/145778." ], - "belongsToCatalogue": "urn:ngsi-ld:Catalogue:items:MWVK:61846917", + "creator": [ + "Comunidad de Madrid" + ], + "description": { + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, + "dissemination": "Level2Dissemination", + "disseminationOrganization": "https://url_to_organization.org", "distribution": [ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "keyword": [ - "alojamiento", - "apartamento rural", - "apartamento tur\u00edstico", - "campamento de turismo", - "camping", - "casa rural", - "casas de hu\u00e9spedes", - "hostal", - "hostel", - "hosteria", - "hotel", - "hotel rural", - "hotel-apartamento", - "pension", - "vivienda de uso turistico" + "documentation": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" ], - "publisher": "comunidad de madrid.", - "spatial": [ + "frequency": "weekly", + "geographicalCoverage": [ { "type": "Point", "coordinates": [ @@ -46,22 +55,7 @@ ] } ], - "temporal": [ - "2023-04-03T02:35:57Z" - ], - "theme": [ - "Economy", - "Tourism" - ], - "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", - "creator": [ - "Comunidad de Madrid" - ], - "page": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ], - "accrualPeriodicity": "weekly", + "geolocation": "True", "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", "urn:ngsi-ld:Dataset:items:FFVZ:69502935" @@ -70,6 +64,10 @@ "urn:ngsi-ld:Dataset:items:MBNQ:57176010", "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ], + "inSeries": [ + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" + ], "isReferencedBy": [ "urn:ngsi-ld:Dataset:items:YQRP:33454193", "urn:ngsi-ld:Dataset:items:RBND:48628164" @@ -78,6 +76,23 @@ "urn:ngsi-ld:Dataset:items:AMAC:16896252", "urn:ngsi-ld:Dataset:items:IPSO:04920226" ], + "keyword": [ + "alojamiento", + "apartamento rural", + "apartamento tur\u00edstico", + "campamento de turismo", + "camping", + "casa rural", + "casas de hu\u00e9spedes", + "hostal", + "hostel", + "hosteria", + "hotel", + "hotel rural", + "hotel-apartamento", + "pension", + "vivienda de uso turistico" + ], "landingPage": [ "urn:ngsi-ld:Dataset:items:UMBA:72418275", "urn:ngsi-ld:Dataset:items:GUKW:86586813" @@ -86,6 +101,7 @@ "EN", "SP" ], + "license": "AGPL-3.0", "otherIdentifier": [ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" @@ -94,29 +110,63 @@ "1", "2" ], + "publisher": "Statement which consumer product thought total. Nothing concern picture involve paper nor kid.", "qualifiedAttribution": [ - "" + "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", + "Home interesting range ever. Magazine the instead particularly. Late have collection." ], "qualifiedRelation": [ "urn:ngsi-ld:Dataset:items:ITFK:67369057", "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ], - "relation": [ + "relatedResource": [ "urn:ngsi-ld:Dataset:items:FXEY:35067714", "urn:ngsi-ld:Dataset:items:YYOL:47950545" ], - "issued": "1983-07-16T12:51:26Z", + "releaseDate": "1983-07-16T12:51:26Z", + "reputation": "Level2Reputation", + "reputationOrganization": "https://url_to_organization.org", "sample": [ "urn:ngsi-ld:Dataset:items:QJPZ:50290394", "urn:ngsi-ld:Dataset:items:ZSSA:73451152" ], - "spatialResolutionInMeters": 0.6, + "source": [ + "urn:ngsi-ld:Dataset:items:YSWN:41266715" + ], + "spatialResolution": 0.6, + "standardization": "Level4Standardization", + "standardizationSource": "https://www.w3.org/", + "temporalCoverage": [ + "2023-04-03T02:35:57Z" + ], "temporalResolution": [ "PT15M" ], - "Type": "", - "version": "", - "versionNotes": [], + "theme": [ + "Economy", + "Tourism" + ], + "title": { + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, + "Type": "service", + "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json", + "version": "3.0", + "versionNotes": [ + "With temporal evolution" + ], "wasGeneratedBy": [ "datos.gob.es" ] diff --git a/Dataset/schema.json b/Dataset/schema.json index db62db1..08c17c0 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -94,51 +94,51 @@ "properties": { "languageMap": { "type": "object", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. A JSON object consisting of a series of key-value pairs where the keys shall be JSON strings representing IETF RFC 5646 (https://www.rfc-editor.org/info/rfc5646) language codes.", "properties": { "en": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in English." }, "de": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in German." }, "es": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Spanish." }, "fr": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in French." }, "it": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Italian." }, "ja": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Japanese." }, "ko": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Korean." }, "zh": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Chinese." }, "el": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Modern Greek." }, "nl": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Dutch." }, "fi": { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in Finnish." } } } @@ -146,7 +146,7 @@ }, { "type": "string", - "description": "Property, Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. The description written in a specific language." } ] }, From 17e3b297ef02066942207a7b2b7384598ff12430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Tue, 12 Nov 2024 11:43:28 +0100 Subject: [PATCH 16/27] Change from modifiedAt to modified --- Dataset/examples/example-normalized.jsonld | 14 +++++++------- Dataset/examples/example.json | 2 +- Dataset/examples/example.jsonld | 2 +- Dataset/schema.json | 5 +++++ 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 8412b7d..cbf8dd9 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -1,13 +1,6 @@ { "id": "urn:ngsi-ld:Dataset:id:HUZY:68185655", "type": "Dataset", - "modifiedAt": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2021-07-01T10:27:59Z" - } - }, "accessMechanism": { "type": "Property", "value": "Level3AccessMechanism" @@ -178,6 +171,13 @@ "type": "Property", "value": "AGPL-3.0" }, + "modified": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-07-01T10:27:59Z" + } + }, "otherIdentifier": { "type": "Property", "value": [ diff --git a/Dataset/examples/example.json b/Dataset/examples/example.json index f403f87..abcd7dd 100644 --- a/Dataset/examples/example.json +++ b/Dataset/examples/example.json @@ -1,7 +1,6 @@ { "id": "urn:ngsi-ld:Dataset:id:VESI:23278568", "type": "Dataset", - "modifiedAt": "2015-07-13T03:09:32Z", "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", "addressesAvailable": "True", @@ -102,6 +101,7 @@ "SP" ], "license": "AGPL-3.0", + "modified": "2015-07-13T03:09:32Z", "otherIdentifier": [ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" diff --git a/Dataset/examples/example.jsonld b/Dataset/examples/example.jsonld index 71e2e2e..c55756f 100644 --- a/Dataset/examples/example.jsonld +++ b/Dataset/examples/example.jsonld @@ -1,7 +1,6 @@ { "id": "urn:ngsi-ld:Dataset:id:VESI:23278568", "type": "Dataset", - "modifiedAt": "2015-07-13T03:09:32Z", "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", "addressesAvailable": "True", @@ -102,6 +101,7 @@ "SP" ], "license": "AGPL-3.0", + "modified": "2015-07-13T03:09:32Z", "otherIdentifier": [ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" diff --git a/Dataset/schema.json b/Dataset/schema.json index 08c17c0..71288ac 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -882,6 +882,11 @@ "ZPL-2.1" ] }, + "modified": { + "type": "string", + "format": "date-time", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the most recent date on which the Dataset was changed or modified." + }, "otherIdentifier": { "type": "array", "description": "Property. Model:'http://www.w3.org/ns/adms#Identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID.", From 5a7ecd3ab2c9068391e83f906082acc5b66152db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Tue, 12 Nov 2024 14:23:09 +0100 Subject: [PATCH 17/27] Update notes --- Dataset/notes.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index 0219172..0052960 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -34,7 +34,6 @@ notesFooter: ## DCAT-AP::Dataset 2.1.1 -> 3.0.0 ($schemaVersion": "2.0.1" -> $schemaVersion": "3.0.0") - spatial property translated to geographicalCoverage. - - modified property is translated to modifiedAt and deleted from the schema as per the ETSI NGSI-LD specification. - temporal is translated to temporalCoverage. - page is translated to documentation. - accuralPeriodicity is translated to frequency. From b0cdbbcdbc2c3cc583521f8633e8a333c8ff738e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Wed, 13 Nov 2024 08:23:50 +0100 Subject: [PATCH 18/27] Update examples in Dataset --- Dataset/examples/example-normalized.json | 335 +++++++++++++-------- Dataset/examples/example-normalized.jsonld | 2 - 2 files changed, 214 insertions(+), 123 deletions(-) diff --git a/Dataset/examples/example-normalized.json b/Dataset/examples/example-normalized.json index 8d0e77a..55f7975 100644 --- a/Dataset/examples/example-normalized.json +++ b/Dataset/examples/example-normalized.json @@ -1,228 +1,321 @@ { "id": "urn:ngsi-ld:Dataset:id:HUZY:68185655", "type": "Dataset", - "modified": { - "type": "DateTime", - "value": "2021-07-01T10:27:59Z" + "accessMechanism": { + "type": "Property", + "value": "Level3AccessMechanism" }, - "source": { - "type": "StructuredValue", - "value": [ - "urn:ngsi-ld:Dataset:items:YSWN:41266715" - ] + "accessRights": { + "type": "Property", + "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" }, - "description": { - "type": "StructuredValue", + "addressesAvailable": { + "type": "Property", + "value": "True" + }, + "applicableLegislation": { + "type": "Property", "value": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid." + "Regulation 883/2004", + "Regulation 465/2012" ] }, - "title": { - "type": "StructuredValue", + "belongsToCatalogue": { + "type": "Relationship", + "object": "urn:ngsi-ld:Catalogue:items:MWVK:61846917" + }, + "conformsTo": { + "type": "Property", "value": [ - "Alojamientos tur\u00edsticos en sus diferentes modalidades y categorias de la Comunidad de Madrid" + "http://www.opengis.net/def/crs/EPSG/0/28992", + "http://data.europa.eu/eli/reg/2014/1312/oj" ] }, "contactPoint": { - "type": "StructuredValue", + "type": "Property", "value": [ "https://datos.gob.es/es/comment/reply/145778." ] }, - "belongsToCatalogue": { - "type": "Text", - "value": "urn:ngsi-ld:Catalogue:items:MWVK:61846917" + "creator": { + "type": "Property", + "value": [ + "Comunidad de Madrid" + ] + }, + "description": { + "type": "LanguageProperty", + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, + "dissemination": { + "type": "Property", + "value": "Level2Dissemination" + }, + "disseminationOrganization": { + "type": "Property", + "value": "https://url_to_organization.org" }, "distribution": { - "type": "StructuredValue", - "value": [ + "type": "Relationship", + "object": [ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ] }, - "keyword": { - "type": "StructuredValue", - "value": [ - "alojamiento", - "apartamento rural", - "apartamento tur\u00edstico", - "campamento de turismo", - "camping", - "casa rural", - "casas de hu\u00e9spedes", - "hostal", - "hostel", - "hosteria", - "hotel", - "hotel rural", - "hotel-apartamento", - "pension", - "vivienda de uso turistico" - ] - }, - "publisher": { - "type": "Text", - "value": "comunidad de madrid" - }, - "spatial": { - "type": "StructuredValue", + "documentation": { + "type": "Property", "value": [ - { - "type": "Point", - "coordinates": [ - 22.1394715, - -7.100602 - ] - } + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" ] }, - "temporal": { - "type": "StructuredValue", - "value": [ - "2023-04-03T02:35:57Z" - ] - }, - "theme": { - "type": "StructuredValue", - "value": [ - "Economy", - "Tourism" - ] + "frequency": { + "type": "Property", + "value": "two years" }, - "accessRights": { - "type": "Text", - "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" + "geographicalCoverage": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 22.1394715, + -7.100602 + ] + } }, - "creator": { - "type": "StructuredValue", - "value": [ - "Comunidad de Madrid" - ] + "geolocation": { + "type": "Property", + "value": "True" }, - "page": { - "type": "StructuredValue", + "hasVersion": { + "type": "Property", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:id:ASDF:68185655", + "urn:ngsi-ld:Dataset:id:ASDF:78185655" ] }, - "accrualPeriodicity": { - "type": "Text", - "value": "two years" - }, - "hasVersion": { - "type": "StructuredValue", + "identifier": { + "type": "Property", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:items:MBNQ:57176010", + "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ] }, - "identifier": { - "type": "StructuredValue", + "inSeries": { + "type": "Relationship", "value": [ - "", - "" + "urn:ngsi-ld:Dataset:id:HUZY:681332655", + "urn:ngsi-ld:Dataset:id:HUZY:681970245" ] }, "isReferencedBy": { - "type": "StructuredValue", - "value": [ + "type": "Relationship", + "object": [ "urn:ngsi-ld:Dataset:items:HJNK:88711880", "urn:ngsi-ld:Dataset:items:MDEO:95193079" ] }, "isVersionOf": { - "type": "StructuredValue", + "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:RBWE:31388012", "urn:ngsi-ld:Dataset:items:GATZ:02632837" ] }, + "keyword": { + "type": "Property", + "value": [ + "alojamiento", + "apartamento rural", + "apartamento turístico", + "campamento de turismo", + "camping", + "casa rural", + "casas de huéspedes", + "hostal", + "hostel", + "hosteria", + "hotel", + "hotel rural", + "hotel-apartamento", + "pension", + "vivienda de uso turistico" + ] + }, "landingPage": { - "type": "StructuredValue", + "type": "Property", "value": [ "htps://meloda.org" ] }, "language": { - "type": "StructuredValue", + "type": "Property", "value": [ "EN", "ES" ] }, + "license": { + "type": "Property", + "value": "AGPL-3.0" + }, + "modified": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-07-01T10:27:59Z" + } + }, "otherIdentifier": { - "type": "StructuredValue", + "type": "Property", "value": [ - "", - "" - ] + "urn:ngsi-ld:Dataset:items:ZNYR:18053145", + "urn:ngsi-ld:Dataset:items:ICBO:96194869" + ] }, "provenance": { - "type": "StructuredValue", + "type": "Property", "value": [ - "", - "" + "1", + "2" ] }, + "publisher": { + "type": "Property", + "value": "Comunidad de madrid" + }, "qualifiedAttribution": { - "type": "StructuredValue", + "type": "Property", "value": [ - "" + "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", + "Home interesting range ever. Magazine the instead particularly. Late have collection." ] }, "qualifiedRelation": { - "type": "StructuredValue", + "type": "Property", "value": [ - "" + "urn:ngsi-ld:Dataset:items:ITFK:67369057", + "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, - "relation": { - "type": "StructuredValue", + "relatedResource": { + "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:LGBY:74926949", "urn:ngsi-ld:Dataset:items:ZAUC:79968579" ] }, - "issued": { - "type": "DateTime", - "value": "2021-10-01T15:46:46Z" + "releaseDate": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-10-01T15:46:46Z" + } + }, + "reputation": { + "type": "Property", + "value": "Level2Reputation" + }, + "reputationOrganization": { + "type": "Property", + "value": "https://url_to_organization.org" }, "sample": { - "type": "StructuredValue", + "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:MLHW:64299003", "urn:ngsi-ld:Dataset:items:GNXL:59256807" ] }, - "spatialResolutionInMeters": { - "type": "Number", - "value": 0.6 + "source": { + "type": "Relationship", + "value": [ + "urn:ngsi-ld:Dataset:items:YSWN:41266715" + ] + }, + "spatialResolution": { + "type": "Property", + "value": [ + 0.6 + ] + }, + "standardization": { + "type": "Property", + "value": "Level4Standardization" + }, + "standardizationSource": { + "type": "Property", + "value": "https://www.w3.org/" + }, + "temporalCoverage": { + "type": "Property", + "value": [ + "2023-04-03T02:35:57Z" + ] }, "temporalResolution": { - "type": "StructuredValue", + "type": "Property", "value": [ "PT15M" ] }, + "theme": { + "type": "Property", + "value": [ + "Economy", + "Tourism" + ] + }, + "title": { + "type": "LanguageProperty", + "languageMap": { + "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", + "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", + "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", + "fr": "L'hébergement touristique dans ses différents types et catégories dans la Communauté de Madrid.", + "it": "Gli alloggi turistici nelle loro diverse tipologie e categorie nella Comunità di Madrid.", + "ja": "マドリッド州内の様々なタイプやカテゴリーの観光宿泊施設。", + "ko": "마드리드 커뮤니티의 다양한 유형과 카테고리의 관광 숙박 시설.", + "zh": "马德里大区不同类型和类别的旅游住宿。", + "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", + "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", + "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." + } + }, "Type": { - "type": "Text", - "value": "" + "type": "Property", + "value": "service" + }, + "validationSchema": { + "type": "Property", + "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json" }, "version": { - "type": "Text", + "type": "Property", "value": "3.0" }, "versionNotes": { - "type": "StructuredValue", + "type": "Property", "value": [ "With temporal evolution" ] }, "wasGeneratedBy": { - "type": "StructuredValue", + "type": "Property", "value": [ "meloda Team" ] } -} \ No newline at end of file +} diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index cbf8dd9..4844eaf 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -322,5 +322,3 @@ "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] } - - From 99ac7714ac06ef751cc658238fecb31e6482d8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Wed, 13 Nov 2024 09:12:45 +0100 Subject: [PATCH 19/27] Update spatialResolution value in normalized json and jsonld --- Dataset/examples/example-normalized.json | 4 +--- Dataset/examples/example-normalized.jsonld | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Dataset/examples/example-normalized.json b/Dataset/examples/example-normalized.json index 55f7975..112555a 100644 --- a/Dataset/examples/example-normalized.json +++ b/Dataset/examples/example-normalized.json @@ -247,9 +247,7 @@ }, "spatialResolution": { "type": "Property", - "value": [ - 0.6 - ] + "value": 0.6 }, "standardization": { "type": "Property", diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 4844eaf..18e98dd 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -247,9 +247,7 @@ }, "spatialResolution": { "type": "Property", - "value": [ - 0.6 - ] + "value": 0.6 }, "standardization": { "type": "Property", From abc531868845180e68a3f86f6f18661e891895c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:08:19 +0100 Subject: [PATCH 20/27] Update Dataset data model --- Dataset/examples/example-normalized.json | 62 +++++++++++----------- Dataset/examples/example-normalized.jsonld | 62 +++++++++++----------- Dataset/examples/example.json | 40 +++++++------- Dataset/examples/example.jsonld | 40 +++++++------- Dataset/notes.yaml | 5 -- Dataset/schema.json | 56 +++++++++---------- 6 files changed, 130 insertions(+), 135 deletions(-) diff --git a/Dataset/examples/example-normalized.json b/Dataset/examples/example-normalized.json index 112555a..ab1bd73 100644 --- a/Dataset/examples/example-normalized.json +++ b/Dataset/examples/example-normalized.json @@ -9,6 +9,10 @@ "type": "Property", "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" }, + "accuralPeriodicity": { + "type": "Property", + "value": "two years" + }, "addressesAvailable": { "type": "Property", "value": "True" @@ -74,27 +78,6 @@ "urn:ngsi-ld:Distribution:items:MMWU:84196227" ] }, - "documentation": { - "type": "Property", - "value": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ] - }, - "frequency": { - "type": "Property", - "value": "two years" - }, - "geographicalCoverage": { - "type": "GeoProperty", - "value": { - "type": "Point", - "coordinates": [ - 22.1394715, - -7.100602 - ] - } - }, "geolocation": { "type": "Property", "value": "True" @@ -134,6 +117,13 @@ "urn:ngsi-ld:Dataset:items:GATZ:02632837" ] }, + "issued": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-10-01T15:46:46Z" + } + }, "keyword": { "type": "Property", "value": [ @@ -151,7 +141,7 @@ "hotel rural", "hotel-apartamento", "pension", - "vivienda de uso turistico" + "vivienda de uso turístico" ] }, "landingPage": { @@ -185,6 +175,13 @@ "urn:ngsi-ld:Dataset:items:ICBO:96194869" ] }, + "page": { + "type": "Property", + "value": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" + ] + }, "provenance": { "type": "Property", "value": [ @@ -210,20 +207,13 @@ "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, - "relatedResource": { + "relation": { "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:LGBY:74926949", "urn:ngsi-ld:Dataset:items:ZAUC:79968579" ] }, - "releaseDate": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2021-10-01T15:46:46Z" - } - }, "reputation": { "type": "Property", "value": "Level2Reputation" @@ -245,6 +235,16 @@ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ] }, + "spatial": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 22.1394715, + -7.100602 + ] + } + }, "spatialResolution": { "type": "Property", "value": 0.6 @@ -257,7 +257,7 @@ "type": "Property", "value": "https://www.w3.org/" }, - "temporalCoverage": { + "temporal": { "type": "Property", "value": [ "2023-04-03T02:35:57Z" diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 18e98dd..2b6b3f0 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -9,6 +9,10 @@ "type": "Property", "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" }, + "accuralPeriodicity": { + "type": "Property", + "value": "two years" + }, "addressesAvailable": { "type": "Property", "value": "True" @@ -74,27 +78,6 @@ "urn:ngsi-ld:Distribution:items:MMWU:84196227" ] }, - "documentation": { - "type": "Property", - "value": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ] - }, - "frequency": { - "type": "Property", - "value": "two years" - }, - "geographicalCoverage": { - "type": "GeoProperty", - "value": { - "type": "Point", - "coordinates": [ - 22.1394715, - -7.100602 - ] - } - }, "geolocation": { "type": "Property", "value": "True" @@ -134,6 +117,13 @@ "urn:ngsi-ld:Dataset:items:GATZ:02632837" ] }, + "issued": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-10-01T15:46:46Z" + } + }, "keyword": { "type": "Property", "value": [ @@ -151,7 +141,7 @@ "hotel rural", "hotel-apartamento", "pension", - "vivienda de uso turistico" + "vivienda de uso turístico" ] }, "landingPage": { @@ -185,6 +175,13 @@ "urn:ngsi-ld:Dataset:items:ICBO:96194869" ] }, + "page": { + "type": "Property", + "value": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" + ] + }, "provenance": { "type": "Property", "value": [ @@ -210,20 +207,13 @@ "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, - "relatedResource": { + "relation": { "type": "Property", "value": [ "urn:ngsi-ld:Dataset:items:LGBY:74926949", "urn:ngsi-ld:Dataset:items:ZAUC:79968579" ] }, - "releaseDate": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2021-10-01T15:46:46Z" - } - }, "reputation": { "type": "Property", "value": "Level2Reputation" @@ -245,6 +235,16 @@ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ] }, + "spatial": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 22.1394715, + -7.100602 + ] + } + }, "spatialResolution": { "type": "Property", "value": 0.6 @@ -257,7 +257,7 @@ "type": "Property", "value": "https://www.w3.org/" }, - "temporalCoverage": { + "temporal": { "type": "Property", "value": [ "2023-04-03T02:35:57Z" diff --git a/Dataset/examples/example.json b/Dataset/examples/example.json index abcd7dd..45b2d7b 100644 --- a/Dataset/examples/example.json +++ b/Dataset/examples/example.json @@ -3,6 +3,7 @@ "type": "Dataset", "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", + "accuralPeriodicity": "weekly", "addressesAvailable": "True", "applicableLegislation": [ "Regulation 883/2004", @@ -40,20 +41,6 @@ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "documentation": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ], - "frequency": "weekly", - "geographicalCoverage": [ - { - "type": "Point", - "coordinates": [ - 9.922458, - 109.478534 - ] - } - ], "geolocation": "True", "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", @@ -75,14 +62,15 @@ "urn:ngsi-ld:Dataset:items:AMAC:16896252", "urn:ngsi-ld:Dataset:items:IPSO:04920226" ], + "issued": "1983-07-16T12:51:26Z", "keyword": [ "alojamiento", "apartamento rural", - "apartamento tur\u00edstico", + "apartamento turístico", "campamento de turismo", "camping", "casa rural", - "casas de hu\u00e9spedes", + "casas de huéspedes", "hostal", "hostel", "hosteria", @@ -90,7 +78,7 @@ "hotel rural", "hotel-apartamento", "pension", - "vivienda de uso turistico" + "vivienda de uso turístico" ], "landingPage": [ "urn:ngsi-ld:Dataset:items:UMBA:72418275", @@ -106,6 +94,10 @@ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" ], + "page": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" + ], "provenance": [ "1", "2" @@ -119,11 +111,10 @@ "urn:ngsi-ld:Dataset:items:ITFK:67369057", "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ], - "relatedResource": [ + "relation": [ "urn:ngsi-ld:Dataset:items:FXEY:35067714", "urn:ngsi-ld:Dataset:items:YYOL:47950545" ], - "releaseDate": "1983-07-16T12:51:26Z", "reputation": "Level2Reputation", "reputationOrganization": "https://url_to_organization.org", "sample": [ @@ -133,10 +124,19 @@ "source": [ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ], + "spatial": [ + { + "type": "Point", + "coordinates": [ + 9.922458, + 109.478534 + ] + } + ], "spatialResolution": 0.6, "standardization": "Level4Standardization", "standardizationSource": "https://www.w3.org/", - "temporalCoverage": [ + "temporal": [ "2023-04-03T02:35:57Z" ], "temporalResolution": [ diff --git a/Dataset/examples/example.jsonld b/Dataset/examples/example.jsonld index c55756f..ca1bcc8 100644 --- a/Dataset/examples/example.jsonld +++ b/Dataset/examples/example.jsonld @@ -3,6 +3,7 @@ "type": "Dataset", "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", + "accuralPeriodicity": "weekly", "addressesAvailable": "True", "applicableLegislation": [ "Regulation 883/2004", @@ -40,20 +41,6 @@ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "documentation": [ - "urn:ngsi-ld:Dataset:items:EDTJ:28919577", - "urn:ngsi-ld:Dataset:items:GKJO:30040605" - ], - "frequency": "weekly", - "geographicalCoverage": [ - { - "type": "Point", - "coordinates": [ - 9.922458, - 109.478534 - ] - } - ], "geolocation": "True", "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", @@ -75,14 +62,15 @@ "urn:ngsi-ld:Dataset:items:AMAC:16896252", "urn:ngsi-ld:Dataset:items:IPSO:04920226" ], + "issued": "1983-07-16T12:51:26Z", "keyword": [ "alojamiento", "apartamento rural", - "apartamento tur\u00edstico", + "apartamento turístico", "campamento de turismo", "camping", "casa rural", - "casas de hu\u00e9spedes", + "casas de huéspedes", "hostal", "hostel", "hosteria", @@ -90,7 +78,7 @@ "hotel rural", "hotel-apartamento", "pension", - "vivienda de uso turistico" + "vivienda de uso turístico" ], "landingPage": [ "urn:ngsi-ld:Dataset:items:UMBA:72418275", @@ -106,6 +94,10 @@ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" ], + "page": [ + "urn:ngsi-ld:Dataset:items:EDTJ:28919577", + "urn:ngsi-ld:Dataset:items:GKJO:30040605" + ], "provenance": [ "1", "2" @@ -119,11 +111,10 @@ "urn:ngsi-ld:Dataset:items:ITFK:67369057", "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ], - "relatedResource": [ + "relation": [ "urn:ngsi-ld:Dataset:items:FXEY:35067714", "urn:ngsi-ld:Dataset:items:YYOL:47950545" ], - "releaseDate": "1983-07-16T12:51:26Z", "reputation": "Level2Reputation", "reputationOrganization": "https://url_to_organization.org", "sample": [ @@ -133,10 +124,19 @@ "source": [ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ], + "spatial": [ + { + "type": "Point", + "coordinates": [ + 9.922458, + 109.478534 + ] + } + ], "spatialResolution": 0.6, "standardization": "Level4Standardization", "standardizationSource": "https://www.w3.org/", - "temporalCoverage": [ + "temporal": [ "2023-04-03T02:35:57Z" ], "temporalResolution": [ diff --git a/Dataset/notes.yaml b/Dataset/notes.yaml index 0052960..1bca792 100644 --- a/Dataset/notes.yaml +++ b/Dataset/notes.yaml @@ -33,11 +33,6 @@ notesFooter: ## DCAT-AP::Dataset 2.1.1 -> 3.0.0 ($schemaVersion": "2.0.1" -> $schemaVersion": "3.0.0") - - spatial property translated to geographicalCoverage. - - temporal is translated to temporalCoverage. - - page is translated to documentation. - - accuralPeriodicity is translated to frequency. - - relation is translated to relatedResource. - conformsTo changed the Model from 'http://purl.org/dc/terms/Standard' to 'http://purl.org/dc/terms/conformsTo'. - title/description properties were represented as an array of strings, each entry in the array being a translation in a specific language. They are represented now as LanguageProperty defined in the ETSI NGSI-LD specification to offer multilanguage support of the Dataset data. - hasVersion represented as Property, changed to Relationship of Datasets. diff --git a/Dataset/schema.json b/Dataset/schema.json index 71288ac..120ebe3 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -32,6 +32,10 @@ "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public." }, + "accuralPeriodicity": { + "type": "string", + "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." + }, "addressesAvailable": { "type": "string", "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", @@ -183,27 +187,6 @@ ] } }, - "documentation": { - "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset.", - "items": { - "type": "string", - "format": "uri", - "description": "Property. Every page or document." - } - }, - "frequency": { - "type": "string", - "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." - }, - "geographicalCoverage": { - "type": "array", - "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", - "description": "Property. Every location included." - } - }, "geolocation": { "type": "string", "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", @@ -278,6 +261,11 @@ "description": "Property. Every dataset that the current dataset is a version of it." } }, + "issued": { + "type": "string", + "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", + "format": "date-time" + }, "keyword": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a keyword or tag, describing the Dataset.", @@ -896,6 +884,15 @@ "description": "Property. Every additional identifier included." } }, + "page": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/Document'. This property refers to a page or document about this Dataset.", + "items": { + "type": "string", + "format": "uri", + "description": "Property. Every page or document." + } + }, "provenance": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. This property contains a statement about the lineage of a Dataset.", @@ -925,7 +922,7 @@ "description": "Property. Every qualified relation included." } }, - "relatedResource": { + "relation": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property refers to a related resource.", "items": { @@ -934,11 +931,6 @@ "description": "Property. Every related resource included." } }, - "releaseDate": { - "type": "string", - "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", - "format": "date-time" - }, "reputation": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. Reputation level according to MELODA5 reputation dimension: * Level1Reputation: no information about the reputation of the data source. * Level2Reputation: statistics or reports published on user’s opinions. * Level3Reputation: Indicators or rankings on reputation of the data source.", @@ -978,6 +970,14 @@ ] } }, + "spatial": { + "type": "array", + "description": "GeoProperty. Model:'http://purl.org/dc/terms/Location'. This property refers to a geographic region that is covered by the Dataset.", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location", + "description": "Property. Every location included." + } + }, "spatialResolution": { "type": "number", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters." @@ -996,7 +996,7 @@ "type": "string", "description": "Property. Model:'https://schema.org/url'. URI to the source where the definitions of the attributes can be read. It is associated with the standardization property. It can be empty in case of Level1 and Level2 or link to an existing standardization body (e.g., DIN, UNE, etc.) for Level3 or (e.g., ISO, W3C, etc.) for Level4." }, - "temporalCoverage": { + "temporal": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/PeriodOfTime'. This property refers to a temporal period that the Dataset covers.", "items": { From 6e10bc5c4a09aad3a15f8800b9053f067e67767d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:18:51 +0100 Subject: [PATCH 21/27] Update DataService class --- DataService/examples/example-normalized.jsonld | 14 +++++++------- DataService/examples/example.json | 8 ++++---- DataService/examples/example.jsonld | 8 ++++---- DataService/notes.yaml | 2 +- DataService/schema.json | 18 +++++++++--------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 8df5e8a..2356ded 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -69,12 +69,6 @@ "fi": "Euroopan avoimen datan portaalin tietopalvelu" } }, - "documentation": { - "type": "Property", - "value": [ - "http://foo.org/how-to" - ] - }, "endpointDescription": { "type": "Property", "value": [ @@ -117,7 +111,7 @@ "@value": "2021-07-01T10:27:59Z" } }, - "licence": { + "license": { "type": "Property", "value": "EUPL-1.2" }, @@ -131,6 +125,12 @@ ] } }, + "page": { + "type": "Property", + "value": [ + "http://foo.org/how-to" + ] + }, "provenance": { "type": "Property", "value": [ diff --git a/DataService/examples/example.json b/DataService/examples/example.json index 0fb3e84..487b474 100644 --- a/DataService/examples/example.json +++ b/DataService/examples/example.json @@ -44,9 +44,6 @@ "fi": "Euroopan avoimen datan portaalin tietopalvelu" } }, - "documentation": [ - "http://foo.org/how-to" - ], "endpointDescription": [ "SPARQL end point without authentication", "API compliant with CKAN specification" @@ -68,7 +65,7 @@ "https://otherservice.data" ], "lastUpdated": "2021-07-01T10:27:59Z", - "licence": "EUPL.", + "license": "EUPL.", "operationSpace": { "coordinates": [ 72.564509, @@ -76,6 +73,9 @@ ], "type": "Point" }, + "page": [ + "http://foo.org/how-to" + ], "provenance": [ "1", "2" diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index 0cd57c3..0bd36a9 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -44,9 +44,6 @@ "fi": "Euroopan avoimen datan portaalin tietopalvelu" } }, - "documentation": [ - "http://foo.org/how-to" - ], "endpointDescription": [ "SPARQL end point without authentication", "API compliant with CKAN specification" @@ -68,7 +65,7 @@ "https://otherservice.data" ], "lastUpdated": "2021-07-01T10:27:59Z", - "licence": "EUPL.", + "license": "EUPL.", "operationSpace": { "coordinates": [ 72.564509, @@ -76,6 +73,9 @@ ], "type": "Point" }, + "page": [ + "http://foo.org/how-to" + ], "provenance": [ "1", "2" diff --git a/DataService/notes.yaml b/DataService/notes.yaml index 5b0292f..c6ac9ac 100644 --- a/DataService/notes.yaml +++ b/DataService/notes.yaml @@ -6,7 +6,7 @@ notesHeader: - operationSpace, Geojson reference to the Data Service, it can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon. - address, the mailing address or the organization that provide the Data Service. - validationSchema, URL to the technical validation schema for the Data Service (JSON Schema) in the Smart Data Models program. - - licence, this property contains the license under which the Data service is made available. + - license, this property contains the license under which the Data service is made available. notesMiddle: Some properties have been added to allow for more a wider range of usage. Namely assetProvider and configuration. diff --git a/DataService/schema.json b/DataService/schema.json index e956582..e9706b4 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -114,14 +114,6 @@ } ] }, - "documentation": { - "type": "array", - "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n.", - "items": { - "type": "string", - "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." - } - }, "endpointDescription": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement.", @@ -170,7 +162,7 @@ "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Last time at which the data service has been updated in a way that changes its behavior." }, - "licence": { + "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the license under which the Data Service is made available.", "enum": [ @@ -941,6 +933,14 @@ } ] }, + "page": { + "type": "array", + "description": "Property. Model:'http://xmlns.com/foaf/0.1/page'. A page or document about this Data Service. Cardinality: 0..n.", + "items": { + "type": "string", + "description": "Property. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Document'. A textual resource intended for human consumption that contains information, e.g. a web page about a Dataset. This specification does not impose any additional requirements to properties for this entity." + } + }, "provenance": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/ProvenanceStatement'. List of libraries and tools used in the development and execution of the service.", From ab7d8d8f8a778b036613ff293a283c7d9c3666cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:23:08 +0100 Subject: [PATCH 22/27] Remove modifiedAt property from the examples --- DataService/examples/example-normalized.jsonld | 7 ------- DataService/examples/example.json | 1 - DataService/examples/example.jsonld | 1 - 3 files changed, 9 deletions(-) diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index 2356ded..c3cbfe5 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -1,13 +1,6 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", - "modifiedAt": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2021-10-06T16:31:26Z" - } - }, "accessRights": { "type": "Property", "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" diff --git a/DataService/examples/example.json b/DataService/examples/example.json index 487b474..2c81bdc 100644 --- a/DataService/examples/example.json +++ b/DataService/examples/example.json @@ -1,7 +1,6 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", - "modifiedAt": "2021-10-06T16:31:26Z", "accessRights": "No restrictions to access the data but APi requests limit, 5000 requests per hour", "address": { "addressCountry": "Luxembourg", diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index 0bd36a9..af2940f 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -1,7 +1,6 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", - "modifiedAt": "2021-10-06T16:31:26Z", "accessRights": "No restrictions to access the data but APi requests limit, 5000 requests per hour", "address": { "addressCountry": "Luxembourg", From 4744e005a11587dd1be1a33af345dba6de88295d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:29:46 +0100 Subject: [PATCH 23/27] Update values of license property --- DataService/examples/example-normalized.json | 2 +- DataService/examples/example-normalized.jsonld | 2 +- DataService/examples/example.json | 2 +- DataService/examples/example.jsonld | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DataService/examples/example-normalized.json b/DataService/examples/example-normalized.json index 466b473..b67b325 100644 --- a/DataService/examples/example-normalized.json +++ b/DataService/examples/example-normalized.json @@ -66,6 +66,6 @@ }, "license": { "type": "Text", - "value": "EUPL." + "value": "GPL-1.0" } } \ No newline at end of file diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index c3cbfe5..b37b17e 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -106,7 +106,7 @@ }, "license": { "type": "Property", - "value": "EUPL-1.2" + "value": "GPL-1.0" }, "operationSpace": { "type": "GeoProperty", diff --git a/DataService/examples/example.json b/DataService/examples/example.json index 2c81bdc..d4c0b60 100644 --- a/DataService/examples/example.json +++ b/DataService/examples/example.json @@ -64,7 +64,7 @@ "https://otherservice.data" ], "lastUpdated": "2021-07-01T10:27:59Z", - "license": "EUPL.", + "license": "GPL-1.0", "operationSpace": { "coordinates": [ 72.564509, diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index af2940f..7f638a8 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -64,7 +64,7 @@ "https://otherservice.data" ], "lastUpdated": "2021-07-01T10:27:59Z", - "license": "EUPL.", + "license": "GPL-1.0", "operationSpace": { "coordinates": [ 72.564509, From be722d5219b46f2f2eaf90cbf5419f4a722c5d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:40:17 +0100 Subject: [PATCH 24/27] Update example-normalized.json --- DataService/examples/example-normalized.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataService/examples/example-normalized.json b/DataService/examples/example-normalized.json index b67b325..ce24982 100644 --- a/DataService/examples/example-normalized.json +++ b/DataService/examples/example-normalized.json @@ -32,7 +32,7 @@ "type": "Text", "value": "European union and beyond" }, - "endPointURL": { + "endpointURL": { "type": "StructuredValue", "value": [ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", @@ -46,7 +46,7 @@ "Data service del portal europeo de datos abiertos" ] }, - "endPointDescription": { + "endpointDescription": { "type": "StructuredValue", "value": [ "SPARQL end point without authentication", From 7a215c295b065b5664ae038a57d44b29718bb499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Thu, 14 Nov 2024 08:43:43 +0100 Subject: [PATCH 25/27] Update example-normalized.json --- DataService/examples/example-normalized.json | 173 +++++++++++++++---- 1 file changed, 137 insertions(+), 36 deletions(-) diff --git a/DataService/examples/example-normalized.json b/DataService/examples/example-normalized.json index ce24982..a0dc265 100644 --- a/DataService/examples/example-normalized.json +++ b/DataService/examples/example-normalized.json @@ -1,24 +1,12 @@ { "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", - "description": { - "type": "StructuredValue", - "value": [ - "Data service for the solar system open data portal." - ] - }, - "location": { - "type": "geo:json", - "value": { - "type": "Point", - "coordinates": [ - 72.564509, - 11.125289 - ] - } + "accessRights": { + "type": "Property", + "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" }, "address": { - "type": "StructuredValue", + "type": "Property", "value": { "streetAddress": "2, rue Mercier", "addressLocality": "Luxembourg", @@ -28,44 +16,157 @@ "postOfficeBoxNumber": "" } }, + "applicableLegislation": { + "type": "Property", + "value": [ + "Regulation 883/2004", + "Regulation 465/2012" + ] + }, "areaServed": { - "type": "Text", - "value": "European union and beyond" + "type": "Property", + "value": "European Union and beyond" }, - "endpointURL": { - "type": "StructuredValue", + "conformsTo": { + "type": "Property", "value": [ - "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", - "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" + "OGC WFS API" ] }, - "title": { - "type": "StructuredValue", + "contactPoint": { + "type": "Property", "value": [ - "Data service of the european open data portal", - "Data service del portal europeo de datos abiertos" + { + "type": "ContactPoint", + "email": "wheatfarm@email.com" + }, + { + "type": "ContactPoint", + "email": "vehiculoelectrico@ava.es" + } ] }, + "description": { + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, "endpointDescription": { - "type": "StructuredValue", + "type": "Property", "value": [ "SPARQL end point without authentication", "API compliant with CKAN specification" ] }, - "servesDataset": { - "type": "StructuredValue", + "endpointURL": { + "type": "Property", "value": [ - "EU geographic map", - "EU physical map" + "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", + "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ] }, - "accessRights": { - "type": "Text", - "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" + "format": { + "type": "Property", + "value": [ + "CSV", + "JSON" + ] + }, + "keyword": { + "type": "Property", + "value": [ + "Data Service", + "CKAN" + ] + }, + "landingPage": { + "type": "Property", + "value": [ + "https://dataservice.data", + "https://otherservice.data" + ] + }, + "lastUpdated": { + "type": "Property", + "value": { + "@type": "DateTime", + "@value": "2021-07-01T10:27:59Z" + } }, "license": { - "type": "Text", + "type": "Property", "value": "GPL-1.0" + }, + "operationSpace": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 72.564509, + 11.125289 + ] + } + }, + "page": { + "type": "Property", + "value": [ + "http://foo.org/how-to" + ] + }, + "provenance": { + "type": "Property", + "value": [ + "1", + "2" + ] + }, + "publisher": { + "type": "Property", + "value": "Comunidad de madrid" + }, + "servesDataset": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Dataset:id:HUZY:41266715", + "urn:ngsi-ld:Dataset:id:HUZY:41266716" + ] + }, + "theme": { + "type": "Property", + "value": [ + "Economy", + "Tourism" + ] + }, + "title": { + "type": "LanguageProperty", + "languageMap": { + "en": "Data service of the european open data portal", + "de": "Datendienst des Europäischen Portals für offene Daten", + "es": "Data service del portal europeo de datos abiertos", + "fr": "Service de données du portail européen de données ouvertes", + "it": "Servizio dati del Portale europeo dei dati aperti", + "ja": "欧州オープンデータ・ポータルのデータサービス", + "ko": "유럽 오픈 데이터 포털의 데이터 서비스", + "zh": "欧洲开放数据门户的数据服务", + "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", + "nl": "Dataservice van het Europese open dataportaal", + "fi": "Euroopan avoimen datan portaalin tietopalvelu" + } + }, + "validationSchema": { + "type": "Property", + "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" } -} \ No newline at end of file +} From cd1164276014977c657b4bf1ed50726a49158197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20L=C3=B3pez=20Aguilar?= Date: Fri, 6 Dec 2024 19:11:55 +0100 Subject: [PATCH 26/27] Review PR comments about Dataset and DataService --- DataService/examples/example-normalized.json | 54 ++++---- .../examples/example-normalized.jsonld | 6 +- DataService/examples/example.json | 8 +- DataService/examples/example.jsonld | 6 +- DataService/schema.json | 8 +- Dataset/examples/example-normalized.json | 119 +++++++++--------- Dataset/examples/example-normalized.jsonld | 19 +-- Dataset/examples/example.json | 19 +-- Dataset/examples/example.jsonld | 17 ++- Dataset/schema.json | 24 ++-- 10 files changed, 149 insertions(+), 131 deletions(-) diff --git a/DataService/examples/example-normalized.json b/DataService/examples/example-normalized.json index a0dc265..56edc6c 100644 --- a/DataService/examples/example-normalized.json +++ b/DataService/examples/example-normalized.json @@ -2,11 +2,11 @@ "id": "urn:ngsi-ld:DataService:id:JBDJ:56257192", "type": "DataService", "accessRights": { - "type": "Property", + "type": "Text", "value": "No restrictions to access the data but APi requests limit, 5000 requests per hour" }, "address": { - "type": "Property", + "type": "StructuredValue", "value": { "streetAddress": "2, rue Mercier", "addressLocality": "Luxembourg", @@ -17,38 +17,38 @@ } }, "applicableLegislation": { - "type": "Property", + "type": "StructuredValue", "value": [ "Regulation 883/2004", "Regulation 465/2012" ] }, "areaServed": { - "type": "Property", + "type": "Text", "value": "European Union and beyond" }, "conformsTo": { - "type": "Property", + "type": "StructuredValue", "value": [ "OGC WFS API" ] }, "contactPoint": { - "type": "Property", + "type": "StructuredValue", "value": [ { - "type": "ContactPoint", + "type": "Text", "email": "wheatfarm@email.com" }, { - "type": "ContactPoint", + "type": "Text", "email": "vehiculoelectrico@ava.es" } ] }, "description": { - "type": "LanguageProperty", - "languageMap": { + "type": "StructuredValue", + "value": { "en": "Data service of the european open data portal", "de": "Datendienst des Europäischen Portals für offene Daten", "es": "Data service del portal europeo de datos abiertos", @@ -63,53 +63,53 @@ } }, "endpointDescription": { - "type": "Property", + "type": "StructuredValue", "value": [ "SPARQL end point without authentication", "API compliant with CKAN specification" ] }, "endpointURL": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:DataServiceDCAT-AP:items:AFGI:79071729", "urn:ngsi-ld:DataServiceDCAT-AP:items:JAZP:97999812" ] }, "format": { - "type": "Property", + "type": "StructuredValue", "value": [ "CSV", "JSON" ] }, "keyword": { - "type": "Property", + "type": "StructuredValue", "value": [ "Data Service", "CKAN" ] }, "landingPage": { - "type": "Property", + "type": "StructuredValue", "value": [ "https://dataservice.data", "https://otherservice.data" ] }, "lastUpdated": { - "type": "Property", + "type": "StructuredValue", "value": { "@type": "DateTime", "@value": "2021-07-01T10:27:59Z" } }, "license": { - "type": "Property", + "type": "Text", "value": "GPL-1.0" }, "operationSpace": { - "type": "GeoProperty", + "type": "geo:json", "value": { "type": "Point", "coordinates": [ @@ -119,39 +119,39 @@ } }, "page": { - "type": "Property", + "type": "StructuredValue", "value": [ "http://foo.org/how-to" ] }, "provenance": { - "type": "Property", + "type": "StructuredValue", "value": [ "1", "2" ] }, "publisher": { - "type": "Property", + "type": "Text", "value": "Comunidad de madrid" }, "servesDataset": { - "type": "Relationship", + "type": "StructuredValue", "object": [ "urn:ngsi-ld:Dataset:id:HUZY:41266715", "urn:ngsi-ld:Dataset:id:HUZY:41266716" ] }, "theme": { - "type": "Property", + "type": "StructuredValue", "value": [ "Economy", "Tourism" ] }, "title": { - "type": "LanguageProperty", - "languageMap": { + "type": "StructuredValue", + "value": { "en": "Data service of the european open data portal", "de": "Datendienst des Europäischen Portals für offene Daten", "es": "Data service del portal europeo de datos abiertos", @@ -166,7 +166,7 @@ } }, "validationSchema": { - "type": "Property", - "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" + "type": "Text", + "value": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json" } } diff --git a/DataService/examples/example-normalized.jsonld b/DataService/examples/example-normalized.jsonld index b37b17e..adc3eab 100644 --- a/DataService/examples/example-normalized.jsonld +++ b/DataService/examples/example-normalized.jsonld @@ -37,11 +37,9 @@ "type": "Property", "value": [ { - "type": "ContactPoint", "email": "wheatfarm@email.com" }, { - "type": "ContactPoint", "email": "vehiculoelectrico@ava.es" } ] @@ -167,9 +165,9 @@ }, "validationSchema": { "type": "Property", - "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" + "value": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json" }, "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + "https://smart-data-models.github.io/dataModel.DCAT-AP/context.jsonld" ] } diff --git a/DataService/examples/example.json b/DataService/examples/example.json index d4c0b60..26a0d81 100644 --- a/DataService/examples/example.json +++ b/DataService/examples/example.json @@ -20,16 +20,13 @@ ], "contactPoint": [ { - "type": "ContactPoint", "email": "wheatfarm@email.com" }, { - "type": "ContactPoint", "email": "vehiculoelectrico@ava.es" } ], "description": { - "languageMap": { "en": "Data service of the european open data portal", "de": "Datendienst des Europäischen Portals für offene Daten", "es": "Data service del portal europeo de datos abiertos", @@ -41,7 +38,6 @@ "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", "nl": "Dataservice van het Europese open dataportaal", "fi": "Euroopan avoimen datan portaalin tietopalvelu" - } }, "endpointDescription": [ "SPARQL end point without authentication", @@ -89,7 +85,6 @@ "Tourism" ], "title": { - "languageMap": { "en": "Data service of the european open data portal", "de": "Datendienst des Europäischen Portals für offene Daten", "es": "Data service del portal europeo de datos abiertos", @@ -101,7 +96,6 @@ "el": "Υπηρεσία δεδομένων της Ευρωπαϊκής Πύλης Ανοικτών Δεδομένων", "nl": "Dataservice van het Europese open dataportaal", "fi": "Euroopan avoimen datan portaalin tietopalvelu" - } }, - "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json" + "validationSchema": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json" } diff --git a/DataService/examples/example.jsonld b/DataService/examples/example.jsonld index 7f638a8..49020df 100644 --- a/DataService/examples/example.jsonld +++ b/DataService/examples/example.jsonld @@ -20,11 +20,9 @@ ], "contactPoint": [ { - "type": "ContactPoint", "email": "wheatfarm@email.com" }, { - "type": "ContactPoint", "email": "vehiculoelectrico@ava.es" } ], @@ -103,8 +101,8 @@ "fi": "Euroopan avoimen datan portaalin tietopalvelu" } }, - "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/DataService/schema.json", + "validationSchema": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + "https://smart-data-models.github.io/dataModel.DCAT-AP/context.jsonld" ] } diff --git a/DataService/schema.json b/DataService/schema.json index e9706b4..b0f7c85 100644 --- a/DataService/schema.json +++ b/DataService/schema.json @@ -47,7 +47,13 @@ "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Data Service. Cardinality: 0..n.", "items": { "type": "object", - "description": "Property. Model:'https://www.w3.org/ns/dcat#contactPoint'. Relevant contact information for the cataloged resource. Use of vCard is recommended (https://www.w3.org/TR/vcard-rdf/#d4e1819)." + "description": "Property. Every contact element", + "properties": { + "email": { + "type": "string", + "format": "email" + } + } } }, "description": { diff --git a/Dataset/examples/example-normalized.json b/Dataset/examples/example-normalized.json index ab1bd73..27397fa 100644 --- a/Dataset/examples/example-normalized.json +++ b/Dataset/examples/example-normalized.json @@ -2,54 +2,61 @@ "id": "urn:ngsi-ld:Dataset:id:HUZY:68185655", "type": "Dataset", "accessMechanism": { - "type": "Property", + "type": "Text", "value": "Level3AccessMechanism" }, "accessRights": { - "type": "Property", + "type": "Text", "value": "https://creativecommons.org/licenses/by/4.0/legalcode.es" }, "accuralPeriodicity": { - "type": "Property", + "type": "Text", "value": "two years" }, "addressesAvailable": { - "type": "Property", - "value": "True" + "type": "Boolean", + "value": true }, "applicableLegislation": { - "type": "Property", + "type": "StructuredValue", "value": [ "Regulation 883/2004", "Regulation 465/2012" ] }, "belongsToCatalogue": { - "type": "Relationship", + "type": "Text", "object": "urn:ngsi-ld:Catalogue:items:MWVK:61846917" }, "conformsTo": { - "type": "Property", + "type": "StructuredValue", "value": [ "http://www.opengis.net/def/crs/EPSG/0/28992", "http://data.europa.eu/eli/reg/2014/1312/oj" ] }, "contactPoint": { - "type": "Property", + "type": "StructuredValue", "value": [ - "https://datos.gob.es/es/comment/reply/145778." + { + "type": "Text", + "email": "wheatfarm@email.com" + }, + { + "type": "Text", + "email": "vehiculoelectrico@ava.es" + } ] }, "creator": { - "type": "Property", + "type": "StructuredValue", "value": [ "Comunidad de Madrid" ] }, "description": { - "type": "LanguageProperty", - "languageMap": { + "type": "StructuredValue", + "value": { "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", @@ -64,68 +71,68 @@ } }, "dissemination": { - "type": "Property", + "type": "Text", "value": "Level2Dissemination" }, "disseminationOrganization": { - "type": "Property", + "type": "Text", "value": "https://url_to_organization.org" }, "distribution": { - "type": "Relationship", + "type": "StructuredValue", "object": [ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ] }, "geolocation": { - "type": "Property", - "value": "True" + "type": "Boolean", + "value": true }, "hasVersion": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:id:ASDF:68185655", "urn:ngsi-ld:Dataset:id:ASDF:78185655" ] }, "identifier": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:MBNQ:57176010", "urn:ngsi-ld:Dataset:items:DDDJ:93242038" ] }, "inSeries": { - "type": "Relationship", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:id:HUZY:681332655", "urn:ngsi-ld:Dataset:id:HUZY:681970245" ] }, "isReferencedBy": { - "type": "Relationship", + "type": "StructuredValue", "object": [ "urn:ngsi-ld:Dataset:items:HJNK:88711880", "urn:ngsi-ld:Dataset:items:MDEO:95193079" ] }, "isVersionOf": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:RBWE:31388012", "urn:ngsi-ld:Dataset:items:GATZ:02632837" ] }, "issued": { - "type": "Property", + "type": "StructuredValue", "value": { "@type": "DateTime", "@value": "2021-10-01T15:46:46Z" } }, "keyword": { - "type": "Property", + "type": "StructuredValue", "value": [ "alojamiento", "apartamento rural", @@ -145,98 +152,98 @@ ] }, "landingPage": { - "type": "Property", + "type": "StructuredValue", "value": [ "htps://meloda.org" ] }, "language": { - "type": "Property", + "type": "StructuredValue", "value": [ "EN", "ES" ] }, "license": { - "type": "Property", + "type": "Text", "value": "AGPL-3.0" }, "modified": { - "type": "Property", + "type": "StructuredValue", "value": { "@type": "DateTime", "@value": "2021-07-01T10:27:59Z" } }, "otherIdentifier": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:ZNYR:18053145", "urn:ngsi-ld:Dataset:items:ICBO:96194869" ] }, "page": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:EDTJ:28919577", "urn:ngsi-ld:Dataset:items:GKJO:30040605" ] }, "provenance": { - "type": "Property", + "type": "StructuredValue", "value": [ "1", "2" ] }, "publisher": { - "type": "Property", + "type": "Text", "value": "Comunidad de madrid" }, "qualifiedAttribution": { - "type": "Property", + "type": "StructuredValue", "value": [ - "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", - "Home interesting range ever. Magazine the instead particularly. Late have collection." + "urn:ngsi-ld:Agent:2567369057", + "urn:ngsi-ld:Agent:6457369057" ] }, "qualifiedRelation": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:ITFK:67369057", "urn:ngsi-ld:Dataset:items:ZJWX:10596189" ] }, "relation": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:LGBY:74926949", "urn:ngsi-ld:Dataset:items:ZAUC:79968579" ] }, "reputation": { - "type": "Property", + "type": "Text", "value": "Level2Reputation" }, "reputationOrganization": { - "type": "Property", + "type": "Text", "value": "https://url_to_organization.org" }, "sample": { - "type": "Property", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:MLHW:64299003", "urn:ngsi-ld:Dataset:items:GNXL:59256807" ] }, "source": { - "type": "Relationship", + "type": "StructuredValue", "value": [ "urn:ngsi-ld:Dataset:items:YSWN:41266715" ] }, "spatial": { - "type": "GeoProperty", + "type": "StructuredValue", "value": { "type": "Point", "coordinates": [ @@ -246,39 +253,39 @@ } }, "spatialResolution": { - "type": "Property", + "type": "Number", "value": 0.6 }, "standardization": { - "type": "Property", + "type": "Text", "value": "Level4Standardization" }, "standardizationSource": { - "type": "Property", + "type": "Text", "value": "https://www.w3.org/" }, "temporal": { - "type": "Property", + "type": "StructuredValue", "value": [ "2023-04-03T02:35:57Z" ] }, "temporalResolution": { - "type": "Property", + "type": "StructuredValue", "value": [ "PT15M" ] }, "theme": { - "type": "Property", + "type": "StructuredValue", "value": [ "Economy", "Tourism" ] }, "title": { - "type": "LanguageProperty", - "languageMap": { + "type": "StructuredValue", + "value": { "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", @@ -293,25 +300,25 @@ } }, "Type": { - "type": "Property", + "type": "Text", "value": "service" }, "validationSchema": { - "type": "Property", + "type": "Text", "value": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json" }, "version": { - "type": "Property", + "type": "Text", "value": "3.0" }, "versionNotes": { - "type": "Property", + "type": "StructuredValue", "value": [ "With temporal evolution" ] }, "wasGeneratedBy": { - "type": "Property", + "type": "StructuredValue", "value": [ "meloda Team" ] diff --git a/Dataset/examples/example-normalized.jsonld b/Dataset/examples/example-normalized.jsonld index 2b6b3f0..b3b509c 100644 --- a/Dataset/examples/example-normalized.jsonld +++ b/Dataset/examples/example-normalized.jsonld @@ -15,7 +15,7 @@ }, "addressesAvailable": { "type": "Property", - "value": "True" + "value": true }, "applicableLegislation": { "type": "Property", @@ -38,7 +38,12 @@ "contactPoint": { "type": "Property", "value": [ - "https://datos.gob.es/es/comment/reply/145778." + { + "email": "wheatfarm@email.com" + }, + { + "email": "vehiculoelectrico@ava.es" + } ] }, "creator": { @@ -80,10 +85,10 @@ }, "geolocation": { "type": "Property", - "value": "True" + "value": true }, "hasVersion": { - "type": "Property", + "type": "Relationship", "value": [ "urn:ngsi-ld:Dataset:id:ASDF:68185655", "urn:ngsi-ld:Dataset:id:ASDF:78185655" @@ -196,8 +201,8 @@ "qualifiedAttribution": { "type": "Property", "value": [ - "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", - "Home interesting range ever. Magazine the instead particularly. Late have collection." + "urn:ngsi-ld:Agent:2567369057", + "urn:ngsi-ld:Agent:6457369057" ] }, "qualifiedRelation": { @@ -317,6 +322,6 @@ ] }, "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + "https://smart-data-models.github.io/dataModel.DCAT-AP/context.jsonld" ] } diff --git a/Dataset/examples/example.json b/Dataset/examples/example.json index 45b2d7b..e4391ee 100644 --- a/Dataset/examples/example.json +++ b/Dataset/examples/example.json @@ -4,7 +4,7 @@ "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", "accuralPeriodicity": "weekly", - "addressesAvailable": "True", + "addressesAvailable": true, "applicableLegislation": [ "Regulation 883/2004", "Regulation 465/2012" @@ -15,13 +15,17 @@ "http://data.europa.eu/eli/reg/2014/1312/oj" ], "contactPoint": [ - "https://datos.gob.es/es/comment/reply/145778." + { + "email": "wheatfarm@email.com" + }, + { + "email": "vehiculoelectrico@ava.es" + } ], "creator": [ "Comunidad de Madrid" ], "description": { - "languageMap": { "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", @@ -33,7 +37,6 @@ "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." - } }, "dissemination": "Level2Dissemination", "disseminationOrganization": "https://url_to_organization.org", @@ -41,7 +44,7 @@ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "geolocation": "True", + "geolocation": true, "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", "urn:ngsi-ld:Dataset:items:FFVZ:69502935" @@ -104,8 +107,8 @@ ], "publisher": "Statement which consumer product thought total. Nothing concern picture involve paper nor kid.", "qualifiedAttribution": [ - "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", - "Home interesting range ever. Magazine the instead particularly. Late have collection." + "urn:ngsi-ld:Agent:2567369057", + "urn:ngsi-ld:Agent:6457369057" ], "qualifiedRelation": [ "urn:ngsi-ld:Dataset:items:ITFK:67369057", @@ -147,7 +150,6 @@ "Tourism" ], "title": { - "languageMap": { "en": "Tourist accommodation in its different types and categories in the Community of Madrid.", "de": "Touristische Unterkünfte in ihren verschiedenen Arten und Kategorien in der Gemeinschaft Madrid.", "es": "Alojamientos turísticos en sus diferentes modalidades y categorias de la Comunidad de Madrid.", @@ -159,7 +161,6 @@ "el": "Τουριστικά καταλύματα σε διάφορους τύπους και κατηγορίες στην Κοινότητα της Μαδρίτης.", "nl": "Toeristische accommodatie in de verschillende soorten en categorieën in de gemeente Madrid.", "fi": "Matkailijoiden majoitustyypit ja -luokat Madridin alueella." - } }, "Type": "service", "validationSchema": "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/refs/heads/master/Dataset/schema.json", diff --git a/Dataset/examples/example.jsonld b/Dataset/examples/example.jsonld index ca1bcc8..e5fe65b 100644 --- a/Dataset/examples/example.jsonld +++ b/Dataset/examples/example.jsonld @@ -4,7 +4,7 @@ "accessMechanism": "Level3AccessMechanism", "accessRights": "https://creativecommons.org/licenses/by/4.0/legalcode.es", "accuralPeriodicity": "weekly", - "addressesAvailable": "True", + "addressesAvailable": true, "applicableLegislation": [ "Regulation 883/2004", "Regulation 465/2012" @@ -15,7 +15,12 @@ "http://data.europa.eu/eli/reg/2014/1312/oj" ], "contactPoint": [ - "https://datos.gob.es/es/comment/reply/145778." + { + "email": "wheatfarm@email.com" + }, + { + "email": "vehiculoelectrico@ava.es" + } ], "creator": [ "Comunidad de Madrid" @@ -41,7 +46,7 @@ "urn:ngsi-ld:Distribution:items:KJVK:30944451", "urn:ngsi-ld:Distribution:items:MMWU:84196227" ], - "geolocation": "True", + "geolocation": true, "hasVersion": [ "urn:ngsi-ld:Dataset:items:SQSB:90831182", "urn:ngsi-ld:Dataset:items:FFVZ:69502935" @@ -104,8 +109,8 @@ ], "publisher": "Statement which consumer product thought total. Nothing concern picture involve paper nor kid.", "qualifiedAttribution": [ - "Central born manage evidence data. Answer doctor visit ready physical fact. Quite allow however certain lose heart.", - "Home interesting range ever. Magazine the instead particularly. Late have collection." + "urn:ngsi-ld:Agent:2567369057", + "urn:ngsi-ld:Agent:6457369057" ], "qualifiedRelation": [ "urn:ngsi-ld:Dataset:items:ITFK:67369057", @@ -171,6 +176,6 @@ "datos.gob.es" ], "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" + "https://smart-data-models.github.io/dataModel.DCAT-AP/context.jsonld" ] } \ No newline at end of file diff --git a/Dataset/schema.json b/Dataset/schema.json index 120ebe3..2473d6f 100644 --- a/Dataset/schema.json +++ b/Dataset/schema.json @@ -37,9 +37,8 @@ "description": "Property. Model:'http://purl.org/dc/terms/Frequency'. This property refers to the frequency at which the Dataset is updated." }, "addressesAvailable": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset.", - "enum": ["True", "False"] + "type": "boolean", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has postal addresses to identify the elements in the dataset." }, "applicableLegislation": { "type": "array", @@ -76,10 +75,16 @@ }, "contactPoint": { "type": "array", - "description": "Property. Model:'http://www.w3.org/2006/vcard/ns#Kind'. This property contains contact information that can be used for sending comments about the Dataset.", + "description": "Property. Model:'http://www.w3.org/ns/dcat#contactPoint'. Contact information that can be used for sending comments about the Dataset. Cardinality: 0..n.", "items": { - "type": "string", - "description": "Property. Every contact element." + "type": "object", + "description": "Property. Every contact element", + "properties" : { + "email": { + "type": "string", + "format": "email" + } + } } }, "creator": { @@ -188,9 +193,8 @@ } }, "geolocation": { - "type": "string", - "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes.", - "enum": ["True", "False"] + "type": "boolean", + "description": "Property. Model:'https://schema.org/Boolean'. Defines if the data stream has geolocation (coordinates) in any of its attributes." }, "hasVersion": { "type": "array", @@ -907,7 +911,7 @@ }, "qualifiedAttribution": { "type": "array", - "description": "Property. Model:'http://www.w3.org/ns/dcat#Relationship'. This property refers to a link to an Agent having some form of responsibility for the resource.", + "description": "Relationship. Model:'https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Attribution'. This property refers to a link to an Agent having some form of responsibility for the resource.", "items": { "type": "string", "description": "Property. Every attribution included." From ceaf7c356cd2a88b694f5aaa27d7ccf00677df61 Mon Sep 17 00:00:00 2001 From: Smart Data Models Date: Mon, 9 Dec 2024 15:14:19 +0100 Subject: [PATCH 27/27] fix typo in example --- .../examples/example-normalized.jsonld | 124 +++++++++--------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/DataServiceRun/examples/example-normalized.jsonld b/DataServiceRun/examples/example-normalized.jsonld index b6cc0a3..e0d6827 100644 --- a/DataServiceRun/examples/example-normalized.jsonld +++ b/DataServiceRun/examples/example-normalized.jsonld @@ -1,64 +1,64 @@ { - "id": "urn:ngsi-ld:DataServiceRun:example-1234", - "type": "DataServiceRun", - "configuration": { - "type": "Property", - "value": [ - { - "parameter": "param1", - "value": "10" - }, - { - "parameter": "param2", - "value": "3" - } - ] - }, - "dateCreated": { - "type": "Property", - "value": "2022-06-21T08:24:35.905712+02:00" - }, - "dateModified": { - "type": "Property", - "value": "2022-06-22T09:24:35.905712+02:00" - }, - "description": { - "type": "Property", - "value": "This is a representation of one specific run of a data service." - }, - "resultEntities": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:KeyPerformanceIndicator:example3", - "urn:ngsi-ld:KeyPerformanceIndicator:example4" - ] - }, - "resultExternal": { - "type": "Property", - "value": [ - "http://1.2.3.4:5678/files/example-file-3", - "http://1.2.3.4:5678/files/example-file-4" - ] - }, - "sourceEntities": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:Organization:example1", - "urn:ngsi-ld:Organization:example2" - ] - }, - "sourceExternal": { - "type": "Property", - "value": [ - "http://1.2.3.4:5678/files/example-file-1", - "http://1.2.3.4:5678/files/example-file-2" - ] - }, - "service": { - "type": "Relationship", - "object": "urn:ngsi-ld:DataServiceDCAT-AP:example" - }, - "@context": [ - "https://raw.githubusercontent.com/smart-data-models/dataModel.DataServices/master/context.jsonld" + "id": "urn:ngsi-ld:DataServiceRun:example-1234", + "type": "DataServiceRun", + "configuration": { + "type": "Property", + "value": [ + { + "parameter": "param1", + "value": "10" + }, + { + "parameter": "param2", + "value": "3" + } + ] + }, + "dateCreated": { + "type": "Property", + "value": "2022-06-21T08:24:35.905712+02:00" + }, + "dateModified": { + "type": "Property", + "value": "2022-06-22T09:24:35.905712+02:00" + }, + "description": { + "type": "Property", + "value": "This is a representation of one specific run of a data service." + }, + "resultEntities": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:KeyPerformanceIndicator:example3", + "urn:ngsi-ld:KeyPerformanceIndicator:example4" + ] + }, + "resultExternal": { + "type": "Property", + "value": [ + "http://1.2.3.4:5678/files/example-file-3", + "http://1.2.3.4:5678/files/example-file-4" + ] + }, + "sourceEntities": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Organization:example1", + "urn:ngsi-ld:Organization:example2" + ] + }, + "sourceExternal": { + "type": "Property", + "value": [ + "http://1.2.3.4:5678/files/example-file-1", + "http://1.2.3.4:5678/files/example-file-2" + ] + }, + "service": { + "type": "Relationship", + "object": "urn:ngsi-ld:DataServiceDCAT-AP:example" + }, + "@context": [ + "https://raw.githubusercontent.com/smart-data-models/dataModel.DCAT-AP/master/context.jsonld" ] - } \ No newline at end of file +} \ No newline at end of file