Skip to content

Provision Agreement

A Provision Agreement links a data provider to a dataflow. It records that the provider supplies data for that dataflow. The document starts with ref: "ProvisionAgreement=AGENCY:ID(1.0.0)".

The writer is ProvisionAgreementCanonicalWriter.

Simple form

format: "fusion-yaml(1.0.0)"
ref: "ProvisionAgreement=ACY:DF_EXR_P1(1.0.0)"
name: "TEST"
dataflow: "ECB:DF_EXR(1.0.0)"
dataprovider: "ACY:DATA_PROVIDERS(1.0).P1"
Source: provisionagreement/testProvision.yaml

The document starts with the common header. The body has two references:

  • dataflow: the short URN of the structure usage, which is the dataflow. The field name comes from the class of the referenced structure.
  • dataprovider: the short URN of the data provider. A data provider is an item in a Data Provider Scheme, so its short URN ends with the item id: AGENCY:SCHEME_ID(VERSION).PROVIDER_ID.

A provision agreement has no complex form.

Field reference

Field Value Written when
dataflow short URN of the dataflow (structure usage) the agreement references a structure usage
dataprovider short URN of the data provider the agreement references a data provider

Reading notes

The reader treats dataprovider as the data provider. It reads any other field whose name is a structure class, such as dataflow, as the structure usage.