MAP005 - Temporal Collapse¶
Description¶
Source-side temporal semantics collapsed into a less-expressive
target shape — for example, UNTP's validFrom + validUntil pair
folded into a single CIRPASS EffectivePeriod.
Category¶
Mapping Errors
Severity¶
warning
When emitted¶
Emitted by the UNTP ↔ CIRPASS shims via
compat/_mapping_codes.py
constant MAP_CODE_TEMPORAL_COLLAPSE. The forward projection emits
MAP005 whenever both endpoints of a UNTP validity period are
present and the target only carries one.
Common causes¶
- UNTP payloads with both
validFromandvalidUntilprojecting onto CIRPASSEffectivePeriod(which carries the same information but via a single nested shape). - Reverse projection rebuilding a UNTP validity period from a CIRPASS
EffectivePeriod— same warning fires when the reverse shape changes.
How to fix¶
MAP005 is informational; the projection preserves the temporal
information, only the surface shape changes. Suppress in CI with
--accept-warnings if the collapse is intentional.