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.

Changelog:

– 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!

    New version of the contribution manual

    The contribution manual has minor updates frequently, but now we have created a brand new version

    Restructuring the contents

    – Including explanation on how to use the test service for new data models

    – Making more understandable the contribution workflow

    Guidelines for contributing

    – The list of support channels, including the new on discord

    – Move to the annex the slides for the automatic documents generated on the publication process

    and helping to make more understandable to those users recently joining the Smart Data Models initiative.

    As always the shortcut to reach it works: https://bit.ly/contribution_manual

    But you can also find a direct link in these locations

    Upper menu -> Contribution manual (7th option)

    Main menu -> documentation -> Contribution manual (5th option in the drop down menu)

    Feel free to make your comments on info@smartdatamodels.org or as comments in the manual.

     

    Released the script for generating the specifications (new version)

    The new version of the script for generating the specifications has been released in the directory utils of the umbrella repository data-models.

    It allows the creation of the markdown specifications out of the json schema in multiple languages. If you have an account of DeepL API you can make the translations automatically.

    Thanks to Konstantinos Gompakis from tuc.gr for this suggestion on others.

    Extension of the Smart Data Models

    Hopefully you have unnoticed about several structural changes this weekend that has happen at SDM.

    Database of attributes,

    Now there are several additional information included.

    — A unique id for every attribute of a version of a data model (i.e.

    — The link to the parent’s attribute (whenever there is a parent) context link (i.e. https://smartdatamodels.org/address)

    — The unique id of the parent attribute (whenever there is a parent) (i.e.

    — The @context link of the attributes pointing to an existing web page with some details about the attribute (i.e. https://smartdatamodels.org/postOfficeBoxNumber)

    Specifications

    Now the second level of attributes is available in the specification document for all the languages (i.e. https://github.com/smart-data-models/dataModel.User/blob/master/Activity/doc/spec.md)

    Context file

    Now the second and subsequent levels of the attributes have URI entries in the @context included in the file context.jsonld file in every subject (i.e. https://github.com/smart-data-models/dataModel.Environment/blob/master/context.jsonld)

    The URI of the data models points to a existing web page (i.e. https://smartdatamodels.org/dataModel.Environment/ambientNoiseTSA)

    Besides this we welcome a new member of the SDM team, Rihab Feki.


    questions/suggestions to info@smartdatamodels.org

    New Version of the Python Package pysmartdatamodels 0.6.0

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

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

    Changelog:

    – Four new functions

    • New functions to generate fake example files given the schema payload of the data model in normalized ngsi-ld format,  key value ngsi-ld format and geojson feature format
    • New function to update a broker compliant with a specific data model

    – Acknowledgement session has been added into the README.

    pysmartdatamodels 0.6.0

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

    Would you use an attestation of your contribution to SDM?

    We are considering to officially provide an attestation of your contributions to SDM.

    Before launching it officially we have created a drafted document for those contributors with a valid mail and name (there are people who do not want to disclose their contribution).

    Accordingly, if you browse the database of contributors you will see a new column with the heading attestation and a download draft link.

    By clicking on that link you can download the draft version of an attestation of your contribution.

    We’ll be glad to receive your feedback on this initiative and the format and content of the attestation in the info@smartdatamodels.org address.

    You can see an example below

    attestation_alberto.abella@fiware.org_dataModel.Agrifood_2022

     

    Discord channel for Smart data models, #smart-data-models

    Now you can see in the right widget a new entry with the link for our channel on discord #smart-data-models, you can also send your question there. (But only once you have joined by using this invitation )

    If you need help on discord channel you can browse this link.

     

    Simple but useful programs to interact with a broker in PHP

    We have released two very simple programs to create an entity in a context broker and for removing an entity based on its id.

    Although this is pretty straight forward, being coded in PHP allows you to integrate with, in example, in a WordPress site.

    In fact these programs are working in the test Orion-LD broker option, located here at home -> tools -> test Orion-LD broker

    The source code is available at the utils directory and the  data-models umbrella repository

    create_broker_entity.php

    remove_broker_entity.php

    Test an Orion-LD broker populated with the SDM examples

    In the tools menu there is a new option “Test Orion-LD broker“.
    In this address https://smartdatamodels:1026 there is an Orion-LD Broker installed open for testing purposes. You can check

    It is wiped out every hour, on minute 27, and then repopulated with some hundreds of examples (most of the current examples in data models).

    Some examples of queries:

    full specification 1.6.1