Data providers

After you define your concept, entity and event types, you can define a data provider. A data provider is a service that accepts inputs and that returns outputs.

You define a data provider in the business model definitions so it can be used to enrich attributes in the business model statements. For more information, see Enriched attributes.

You write the definition of a data provider by using the following syntax:

<a data provider> is a data provider,
accepts <an input>,
returns <an output>.
Where the input and output elements are the parameters of the data provider.

The following example shows a weather data provider that returns the temperature, the wind speed, and the precipitation, based on the latitude and longitude of an airport.

a weather provider is a data provider,
    accepts a latitude (numeric) and a longitude (numeric),
    returns a temperature (numeric), a wind speed (numeric) and a precipitation level (numeric).