This repository contains code and specifications to support harmonized data models developed by FIWARE
Python JavaScript Shell
Latest commit aafaaef Jan 20, 2017 @jmcanterafonseca jmcanterafonseca committed with gtorodelvalle Weather forecast schema (#96)
* ADD Schema for Weather Forecast

* Empty line end of file

* Fix empty line

FIWARE Data Models

MIT license License Documentation badge Support badge

This repository contains:

  • code that allows to expose different harmonized datasets useful for different applications. Such datasets are exposed through the FIWARE NGSI version 2 API (query).
  • JSON Schemas and documentation on harmonized datamodels for smart cities, developed jointly with OASC, and other domains.

This work is aligned with the results of the GSMA IoT Big Data Project. Such project is working on the harmonization of APIs and data models for fueling IoT and Big Data Ecosystems. In fact the FIWARE datamodels are a superset of the GSMA Data Models.

All the code in this repository is licensed under the MIT License. However each original data source may have a different license. So before using harmonized data please check carefully each data license.

All the datamodels documented here are offered under a Creative Commons by Attribution 4.0 License.

JSON Schemas

We intend to provide a JSON Schema for every harmonized data model. In the future all the documentation could be generated from a JSON Schema, as it is part of our roadmap. The different JSON Schemas usually depend on common JSON Schema definitions found at the root directory of this repository.

There are different online JSON Schema Validators, for instance: For the development of these schemas the AJV JSON Schema Validator is being used. For using it just install it through npm:

    npm install ajv
    npm install ajv-cli

A script is provided for convenience.

Note: JSON Schemas only capture the NGSI simplified representation (options=keyValues)

How to contribute

Contributions should come in the form of pull requests.

Related Projects