Organisation of the collections
MongoDb is a database composed of collections, each containing documents. Each document is in JSON format.
Niagara dedicates a collection to each data type and container (Devices) and a collection for the application of commands (Messages).
The "Devices" collection can represent a device, a Folder…
Organisation of documents
Example of documents