Minor extension of pysmartdatamodels

There is a minor new version of the package pysmartdatamodels.

Now it allows to have in the metadata of a data model the direct links to the specification in the 8 languages.

you can access thanks to the function list_datamodel_metadata and accessing the objects with the keys, spec, spec_DE, spec_ES, spec_FR, spec_IT, spec_JA, spec_KO and spec_ZH

from pysmartdatamodels import pysmartdatamodels as sdm
subject = "dataModel.Weather"
dataModel ="WeatherForecast"
metadata = sdm.list_datamodel_metadata(dataModel, subject))

You can install the update

pip install –upgrade pysmartdatamodels

New version of pysmartdatamodels package 0.6.4 with adaptations to Data Spaces

There is a new version of the python package pysmartdatamodels

to use it you have just to type

pip install pysmartdatamodels

in your system

Besides the update in the list of data models it includes two new functions
look_for_data_model that allows approximate searches for a data model based on their name
list_datamodel_metadata that returns the metadata of a data model including context link, data model version, model tags, link to the schema and to the yaml version of the schema, title, description, $id, required, links to the examples, link to the adopters, link to the contributors of the subject and a link to the sql export of a data model

These new functions are the result of some requests of data spaces managers and several others will be included soon to help you out in the management of the semantic contents of a data space.

A code example of these two new functions

from pysmartdatamodels import pysmartdatamodels as sdm

subject = "dataModel.Weather"
dataModel = "WeatherForecast"
# Look for a data model name 
print("22 : ")
print(sdm.look_for_datamodel("WeatherFora", 84))
# retrieve the metadata, context, version, model tags, schema, yaml schema, title, description, $id, required, examples, adopters, contributors and sql export of a data model
print("23 : ")
print(sdm.list_datamodel_metadata(dataModel, subject))

Metadata of the catalogue available

Now in the tools menu (currently the last option) you have a complete list of the most relevant links to the assets of the data models compile in the Smart Data Models initiative.

You can check in the main menu -> Tools  -> Metadata of the data models

The information is coded in a json format and includes:


New scripts released

4 of the python scripts that are used to maintain the Smart Data models have been released.

Use them or study it at your own convenience. Glad to receive comments and improvements

Check them out here:

Joining the Metaverse Standards Forum

FIWARE Foundation has joined the “Metaverse Standards Forum” The Metaverse Standards Forum is a non-profit, member-funded consortium of standards-related organizations, companies, and institutions that are cooperating to foster interoperability for an open and inclusive metaverse.

The Smart Data Models initiative is willing to contribute to those standards with all its data models to enable its use in the metaverse.


Update: Generate the schema out of your payload

We provide a service to generate JSON schemas from the example payloads you provide. This service is designed to assist contributors who may have limited experience with JSON schemas but with actual examples. You can access the service through this link.

We are pleased to announce that we have made some updates to this service::

  • Added support for generating sub-property descriptions
  • Fixed the bug of duplicated property generation

Please feel free to try it out and leave your comments on info@smartdatamodels.org.

New Sections in README

We have introduced several new sections in the README.md for all the smart data models that we’ve published

These are:

  • Links to CSV extensions of example payloads
  • Links to SQL schema
  • Services we designed to help self-contribution

Such as in the data model WeatherForecast:

Hope you find it useful and feel free to make your comments on info@smartdatamodels.org.

New Version of the Python Package pysmartdatamodels 0.6.1

There is a new version of the python package for pysmartdatamodels 0.6.1.

This python package includes all the data models and several functions to use them in your developments.


– Two updated functions

  • New extension for function update_broker() to allow updating nonexistent attribute into broker
  • Function validate_data_model_schema(), with wider range of validation

– Minor changes on providing links of repository, issues, updating on latest statistics, etc.

Get more details on the pypi page and feel free to try it out!

Vote for the new SQL service (Just two questions)

We are very close to launch a new service and we want to have your feedback on how to create this service.

So we made a Survey and you can help us by submitting your preference.

    This is a survey about the type of service that we want to create for the users of the Smart Data Models that generates a PostgreSQL schema SQL script.

    2. We would like to propose the following ways to interact with the service, choose one of these approaches :

    If you want us to discuss the suggestion fill your email here otherwise please leave it empty

    By using this form you agree with the storage and handling of your data by this website.

    Thank you!