Two important elements for a practical implementation are:
How VTL programs can be stored and exchanged together with the
SDMX structures of the datasets involved
How SDMX artefacts can be referenced in VTL code as inputs and
/ or outputs of Transformations and for validation Rules
Storage and exchange of VTL
In the SDMX context, VTL code is managed as structural
metadata
The SDMX information model provides several artefacts for
this purpose
Centres on the Transformation Scheme artefact which
encapsulates a VTL program
Allows VTL to be stored and exchanged in the same way as
other SDMX structures
Referencing SDMX artefacts in VTL Statements and Rules
SDMX artefacts can be referenced in VTL code using full or
partial URNs
Or, by user defined aliases defined using VTL Mapping Schemes
which allow SDMX artefacts to be given symbolic names
FMR support for storage and exchange of VTL
All VTL structures supported in FMR 11
VTL syntax checking on structure submission
Basic authoring and maintenance using the FMR web user
interface
Better VTL code development environments can interface to
the FMR repo by the REST API
FMR support for referencing SDMX artefacts in VTL code
Deep structure cross referencing
FMR identifies SDMX artefacts referenced by full or partial URN
in the VTL code
Manages them as structural metadata cross references
Why?
Execution engines can efficiently retrieve both the VTL program
and structural metadata for input datasets and validation rules
in a single REST web service call for the Transformation Scheme
with references=descendants
Enforces metadata referential integrity
FMR support for referencing SDMX artefacts in VTL code - Example
A Transformation Scheme is constructed with a single
Transformation
On submission of the Transformation Scheme to the metadata
registry, FMR will:
Syntactically analyse the VTL code
Identify ECB:EXR(1.0) as an SDMX partial URN
Infer that it is a Dataflow from the code context
Verify that the Dataflow exists in the registry
Create a cross reference to the Dataflow from the Transformation
Scheme