An S3 mapping_configuration is a named list of correspondences between two reference catalogues.
Construction
Use read_mapping_configuration() to read and validate mapping.yaml.
Lookup defaults and returned properties are made explicit, and correspondence-file paths become absolute.
Reading does not load catalogue rows or open correspondence files.
Structure
schema_version: the mapping format version.catalogues: thesourceandtargetselections, naming reference configurations and their catalogues.mappings: a named list keyed by target table ID, each containing a list of mapping alternatives.Each alternative declares
source.table,source.lookup, targetlookupand returnedproperty.Optional
source.propertyandfileselect the correspondence source and are mutually exclusive.
Alternatives are always stored as lists, including when the YAML uses the compact single-alternative form.
Catalogue definitions and their data are not embedded in this object.
Attributes
provenance: the mapping YAML's absolutepathand SHA-256sha256checksum.mapping_lookups: added to the returned copy byresolve_mapping_lookups(), with resolved lookup policies.
Use
Pass the object and named reference_configuration objects to prepare_mapping_references().
Mapping alternatives require an explicit, unambiguous selection; they are not fallbacks.
There are no class-specific S3 methods.