The Smart Data Models Initiative Embraces JSON Schema as the Core Component for Interoperable Smart Solutions

The Smart Data Models (SDM) initiative, led by FIWARE Foundation in collaboration with IUDX, TM Forum, and OASC, has firmly established JSON Schema as the core component and single source of truth for creating exports in YAML, SQL, and soon RDF. This strategic move aligns the SDM initiative with the growing JSON schema community, enabling a wider adoption of this powerful data modeling standard.

The SDM initiative is an open collaboration aiming to promote the adoption of a reference architecture and compatible common data models across various sectors, starting with Smart Cities. By leveraging JSON schema as the foundation, the initiative ensures that the data models developed are not only technically robust but also interoperable with a wide range of semantic and linked data initiatives.

“The adoption of JSON schema as the core component of the Smart Data Models initiative is a significant step forward in our mission to enable interoperable smart solutions,” said Alberto Abella (Data Modeling Expert, FIWARE Foundation). “This collaboration with the JSON schema community will further strengthen the initiative and drive the widespread adoption of these common data models.”

In addition to the JSON schema-based data models, the SDM initiative also creates comprehensive specifications in eight languages, including English, French, German, Spanish, Italian, Korean, Chinese, and Japanese. This multilingual approach ensures that the data models are accessible and usable by a global audience, fostering international collaboration and knowledge sharing.

“The alignment of the Smart Data Models initiative with the JSON Schema community is a testament to the power and versatility of this data modeling standard,” said Benjamin Granados (Community Development Senior Manager – Open Technologies, JSON Schema Community, Postman). “We are excited to work closely with the SDM team to further enhance the adoption and integration of JSON schema across various smart applications and services.”

The Smart Data Models initiative welcomes contributions from the public. The data models are licensed under a royalty-free, open-source model, permitting free use, modification, and sharing. This collaborative approach fosters innovation and the creation of interoperable smart solutions, which can be replicated and scaled across various sectors and regions.

For more information about the Smart Data Models initiative and its adoption of JSON schema, please visit the official website at https://smartdatamodels.org or follow the initiative on X @smartdatamodels or in Linkedin.

New data model Berth in subject Marine Transport

New data model Berth in the subject Marine Transport of the domain Smart Logistics.

  • Berth. This data model is intended to provide information about Berths. We define ‘berth’ to each stop of a ship during a PortCall, both for a port-facility (berth) and as an anchorage area. Each berth has a berthing time (estimated, planned, etc.), a lifecycle (estimated, requested, approved, etc.), an main activity during the stop (commercial operations, major repair, etc.) and a number of attributes described below. When commercial operations take place, an Operation entity will define the details of each commercial operation

Port Newark–Elizabeth Marine Terminal

Version 0.8 of the pysmartdatamodels package

Due to the new configuration of files of the package pysmartdatamodels it will be no longer required to use the from clause (initially)

Therefore now to import the package in python it will be simply

import pysmartdatamodels as sdm

Accordingly the examples of code in all data models are being changed, including a comment on this version change.

This updated of the examples o code will be announced soon.

New version of pysmartdatamodels package 0.7.2

The changes in this new version are:

  • Including a new function to find the subject based on the data model name (In example when in a payload only is available the entity type)
  • for this function to be shown it has to be included a function to load the content open_jsonref
  • Extending the README.md

It also has an updated version of all data models (but you can get this also by running the function sdm.update_data() with the old versions)

The source code for the new version 0.7.2 is here at the data-models repository

 

 

Public tender clause document

Some of the users of the Smart Data Models are public entities. Those entities are willing to use Smart Data Models in the provisioning of their IT systems.

They can do it because SDM are open licensed models not depending on any software maker but in public standards and the license of the data models allows them to customize the models and to share the modifications with only attributing the authors.

Here you can see and comment a draft document with some examples of the technical clauses for public tenders (currently only in Spanish and English)

It is open for comments and suggestions

This document arised as a consequence of a webinar held past May 16th with the Spanish Network of Smart Cities (RECI).

Examples of code associated to every data model

In order to make easier the use of the Smart Data Models now in every repository in GitHub there is a new directory named ‘code’ that contains for the python code using the pysmartdatamodels  for the architecture in the image below.

The idea is a code that fills several attributes of the data model with suitable values and insert them into a context broker installed by default.

The code for installing an instance of the context broker is also included as comments in the header of the code

The code is generated automatically (like most of what we do)

You can see an example of this code here

https://github.com/smart-data-models/dataModel.Transportation/blob/master/EVChargingStation/code/code_for_using_dataModel.Transportation_EVChargingStation.py

Of course there could be many things that could be improved and extended. Let us know in this mail account or in the usual support channels.

In the future if there are interest we could create also in other languages. Please let us know if you have interest on this possibility.

New version of pysmartdatamodels python package 0.7.1

The changes in this new version are:

– Including new function validate_dcat_ap_distribution_sdm
– Updating the comments of most of the functions
– Some code improvements by jilin.he@fiware.org
– Included a new directory with templates for the creation of a data model. Not used yet but next version they will be used for the creation of local data models. Available at my_subject directory
– Fixing the missing dependency of ruamel.yaml package

It also has an updated version of all data models (but you can get this also by running the function sdm.update_data() with the old versions)

The source code for the new version 0.7.1 is here at the data-models repository

 

 

New subject Gaia-X

Thanks to the collaboration in the Data Spaces Business Alliance (DSBA) there is a new subject to compile the mapping of the semantic assets of Gaia-X to be used in NGSI-LD systems. It allows the storage of the information related to assets according to the definitions of Gaia-X. The first group of models is coming from the outcomes of the Service characteristics group.

It is located in the domain Cross sector and the subject is dataModel.Gaia-X

Data models will be soon added.

 

Major release of PortCall data model at MarineTransport subject

A new major version of the PortCall data model in the subject of Marine Transport has been published.

Additions includes a more precise timing attributes and alignment with maritime regulations.

In example

Thanks to the adopters and contributors for the valuable contribution
Nyk Aphrodite p2 approaching Port of Rotterdam, Holland 09-Apr-2007