Smart City Template
The Smart City Template is the fixed JSON schema used by every Sensorbee integration:
- ·The Push API sends payloads in this format every polling interval.
- ·The REST API
/reportendpoint returns data in this format. - ·The CSV export from the Report page uses the same column ordering.
Only the fields matching sensors actually fitted to the device are populated. The rest are blank or null.
Schema
The full parameter reference — installation metadata, GPS, particulate matter (mass and count), environmental, gases, weather, external sensors, power, and vibration — lives on the Report page. There is no second copy here so the two can't drift apart.
Stability guarantees
- ·The order of existing fields does not change.
- ·New fields are only ever appended to the right (or the bottom of the JSON object).
- ·A renamed sensor or unit is treated as a new field, not an in-place change.
This means consumers — your dashboards, ETL pipelines, downstream databases — don't break when Sensorbee adds support for new sensors.
