Skip to content

Metadataflow

A Metadataflow references the Metadata Structure Definition that metadata is reported against, and optionally the structures (targets) the metadata can be attached to. Documents start ref: "Metadataflow=AGENCY:ID(1.0)".

Simple form

The document starts with the common header, followed by the MSD reference and the target.

format: "fusion-yaml(1.0.0)"
ref: "Metadataflow=ACY:MDF(1.0.0)"
name: "MDF"
metadatastructure: "ACY:MDF(1.0.0)"
target: "Dimension=ACY:TGT(1.0.0).*"
Source: metadataflow/testSingleAbsoluteTargetDimension.yaml

  • metadatastructure: short URN of the Metadata Structure Definition, see references.
  • target: the structure that metadata can be reported against, written as a canonical value (Class=AGENCY:ID(VERSION), plus the item id for an identifiable target). Because targets can be any class, the class is always part of the value.

Complex form

With more than one target, target becomes an array (value or array). Targets can be wildcarded in the agency, id, version and item id.

format: "fusion-yaml(1.0.0)"
ref: "Metadataflow=ACY:MDF(1.0.0)"
name: "MDF"
metadatastructure: "ACY:MDF(1.0.0)"
target:
- "Dataflow=*:*(*)"
- "Code=ACY:CL_REF_AREA(1.0+.0).UK"
- "Concept=ACY:CS(*).INDICATOR"
Source: metadataflow/testMultipleTargetsIncludingWildcards.yaml

Targets are written in the order held by the Metadataflow; they are not sorted.

Field reference

Field Value Written when
metadatastructure Short URN of the Metadata Structure Definition The MSD reference is set
target Canonical value, or an array of canonical values The Metadataflow has one or more targets