Files
specs/openspec/schemas/wealth-ledger-sdd-lab/templates/data-mapping.md
T
codex-bot 322ddf6a7f
Specs security / security (push) Successful in 6s
Specs verify / verify (push) Successful in 7s
feat: add experimental wealth-ledger-sdd-lab OpenSpec schema (#61)
2026-10-29 05:58:29 +03:00

30 lines
982 B
Markdown

# Data Mapping
<!-- guide: Field-level transformation between systems. Large mappings go to a
machine-checkable file in contracts/ and are referenced here. Remove guides. -->
## Source and Target
| Mapping | Source (owner) | Target (owner) | Direction | Trigger |
| --- | --- | --- | --- | --- |
## Field Mapping
| Target field | Source field(s) | Transformation | Unit / currency / scale | Nullability | Default | Validation | On failure |
| --- | --- | --- | --- | --- | --- | --- | --- |
## Invariants
<!-- guide: Conservation rules that must hold after mapping, e.g. "total = sum of
positions + cash; each money unit counted once", sign conventions, rounding
point. Each invariant references the spec requirement it protects. -->
## Double-counting and Classification Risks
<!-- guide: Every source record type that could fall into two target aggregates,
and the rule that assigns it to exactly one. -->
## Transformation Errors
## Open Questions