Smart Data Models
Smart Data Models is the shared vocabulary of MIM2 Representing Data, used together with NGSI-LD as one package: open data models for smart cities, energy, environment, mobility and more, maintained by FIWARE, TM Forum, IUDX and OASC. A model fixes the entity type, the attribute names, their units and their meaning, and publishes a JSON-LD @context for NGSI-LD.
When two cities publish their waste containers as WasteContainer, a service written for one works with the other.
Models used in CitCom
| Model | Subject | Used for |
|---|---|---|
WasteContainer |
Waste management | Location and filling level of the containers of Valencia; read by the MIAIS |
AirQualityObserved |
Environment | Air quality stations of Valencia |
TrafficFlowObserved |
Transportation | Traffic intensity of Valencia |
TrafficState |
— | Real-time state of the road segments of Valencia, as modelled by the VLCi platform |
VehicleModel |
Transportation | The trucks of the MIAIS |
Using a model
- Search smartdatamodels.org for your entity before creating your own.
- Follow the model's
schema.jsonfor attribute names and types; the repository of each model has examples in NGSI-LD. - Reference the
@contextof the subject (for exampledataModel.WasteManagement) in your NGSI-LD requests, or let Lepus add it. - If nothing fits, extend an existing model or contribute a new one.