fetch_dsd_schema()

Fetch a DSD schema from a Fusion Metadata Registry (FMR).

Usage

Source

fetch_dsd_schema(
    fmr_params,
    env,
    dsd_id,
)
WarningDeprecated since version Use

fetch_schema() instead.

Parameters

fmr_params: dict

Base URL and endpoints to access FMR’s API.

env: str

FMR environment (e.g. 'sandbox', 'qa', 'dev', 'prod').

dsd_id: str
The DSD identifier in the format "agency:id(version)".

Returns

Schema
The schema of the requested Data Structure Definition.

Raises

ValueError
If the URL is not syntactically valid.