Each CleverMaps project consists of data and metadata.

In metadata, we configure the user interface, create the data model, define metrics, define map visualizations, etc.

All metadata are written using JSON format. JSON is designed to be human-readable, and basic understanding of JSON is enough to work with CleverMaps metadata.

Metadata objects

All object types are based on a template and share a common syntax. Each type extends this syntax with its own specific keys. It contains useful keys like id, name or description and is further described in the common syntax article.

There are 12 types of metadata objects:

Visualization of the model

This is the basic overview of the model. As you can see, the model is built around datasets - other objects mostly process and/or visualise their data in some way.

The objects have references between them. There are two types of references:

In case of the URI link references, we enforce a reference validation. This means that to successfully add an object A which references object B, then object B must exist in the project first. Also, using the same case, it's not possible to delete object B if it's still referenced by object A. This validation tightly couples the objects in the data model and prevents possible errors on the front end side.

_

The examples in all articles in this section describe and use examples of metadata objects from the publicly available Retail Solution Demo project.