MAP002 - Synthesised Value During Mapping¶
Description¶
A required target-side field had no donor on the source side, so the shim invented a default value (typically a default identifier scheme, role enum, or language tag).
Category¶
Mapping Errors
Severity¶
warning
When emitted¶
Emitted by the UNTP ↔ CIRPASS shims via
compat/_mapping_codes.py
constant MAP_CODE_SYNTHESISED. Common synthesis points include UNTP
roles falling back to EUDPPRoleClass.ECONOMIC_OPERATOR and
identifier schemes defaulting when the source uses a free-form URI.
Common causes¶
- UNTP
Partyentries with norolemapping into CIRPASSrelatedActors— the shim emitsMAP002and usesECONOMIC_OPERATORas a permissive default. - UNTP identifier schemes that don't appear in
compat/_identifier_schemes.py— the shim wraps them and emitsMAP002.
How to fix¶
- Inspect the synthesised value and override it in the source payload if the default doesn't match your intent.
- Re-run the migration after enriching the source side —
MAP002goes away once the donor field is populated.