Skip to content

Interoperability

Interoperability is what lets a service built for one city run in another city without a new integration. CitCom measures it with a simple ladder of three levels, built on the Minimal Interoperability Mechanisms.

MIMs

The Minimal Interoperability Mechanisms (MIMs) are a small set of agreements, published by Open & Agile Smart Cities (OASC), that cities adopt so their systems can talk to each other. They are minimal on purpose: a city does not replace its platform, it adds a common interface on top.

The current version, MIMs Plus v9 (June 2026), orders the foundational MIMs along the journey of the data: make it accessible (MIM0), represent it with standard models (MIM2), exchange it under clear terms and trust (MIM3) and interlink it (MIM1). CitCom builds on the first two for level 1, and its data space covers MIM3 at level 2:

MIM What it fixes In CitCom
MIM0 Accessing Data All data is available through an API, ideally based on open standards The NGSI-LD API, served by a context broker (Orion-LD, Scorpio)
MIM2 Representing Data The data is described with shared, standard models Smart Data Models as NGSI-LD entities, such as WasteContainer or AirQualityObserved

NGSI-LD and Smart Data Models work as one package: the main mechanism of MIM2 is Smart Data Models with NGSI-LD, in which the models are NGSI-LD entities with a JSON Schema and a JSON-LD @context. Older versions of the MIMs had them as two separate MIMs (MIM1 Context information management and MIM2 Data models), a numbering that many documents still use.

Interoperability levels

flowchart LR
    L0["<b>Level 0</b><br/>Custom integration<br/><i>one adapter per city</i>"]
    L1["<b>Level 1</b><br/>NGSI-LD + Smart Data Models<br/><i>same API and models everywhere</i>"]
    L2["<b>Level 2</b><br/>Data space<br/><i>same API, plus trust and access control</i>"]
    L0 -- "adopt NGSI-LD +<br/>Smart Data Models" --> L1
    L1 -- "add a connector" --> L2

Level 0: custom integration

There is no common standard. Each platform is connected with an integration written for it: its own API, its own field names, its own authentication. It works, but every new city means a new integration, and the data cannot be reused easily by others.

Level 1: pivotal interoperability points

The platform exposes its data through NGSI-LD and describes it with Smart Data Models, the package of MIM2. The platform can keep its own internals: what matters is that the interface is the same. A service written for level 1 reads waste containers in Valencia and in any other level-1 city with the same code.

What is still missing is control: a level-1 broker is usually either open to everyone or protected with an ad hoc key.

Level 2: common interface with integrated security

The NGSI-LD interface is placed behind a data space connector. Level 1 stays as it is, and the connector adds what is needed to share data between organisations that do not know each other in advance:

  • a trust framework: who belongs to the data space, managed by a trust anchor;
  • identity: each organisation, person and machine proves who it is with verifiable credentials;
  • authorisation: access rules (ODRL policies) that the provider defines and the connector enforces, usually created when a consumer buys an offer in the marketplace.

Data spaces in 5 minutes explains these pieces.

The levels in practice

The MIAIS, the worked example of this site, has one version per level. Its code shows what really changes from one level to the next:

Level How the MIAIS gets the waste containers
0 From a custom API of the city platform
1 From an NGSI-LD broker, as WasteContainer entities
2 From the same NGSI-LD API, through the Valencia connector, after buying the offer in the marketplace and presenting a credential

For a city that already runs an NGSI-v2 platform, Lepus is a shortcut to level 1: it serves the NGSI-v2 data as NGSI-LD without migrating the platform. Valencia uses it this way.

Learn more

Next step Data spaces in 5 minutesThe core concepts: participant, trust anchor, connector, credential, offer and policy.