AshR2RML.VerifyMapping.Alignment (AshR2RML v26.8.22)

Copy Markdown View Source

Fail-closed schema alignment verifier plumbing.

Verifies that every mapped attribute and column in AshR2RML.Mapping.Resource corresponds to a valid attribute on the underlying Ash resource module.

Summary

Functions

Verifies attribute alignment on an AshR2RML.Mapping.Resource

Functions

verify(resource)

@spec verify(AshR2RML.Mapping.Resource.t()) :: :ok | {:error, AshR2RML.Refusal.t()}

Verifies attribute alignment on an AshR2RML.Mapping.Resource