## BFF-local domain contracts (id-mappings)

This folder contains **BFF-internal** contracts/schemas/validation for the `id-mappings` module.

- **Why it’s local**: these types are not part of the shared portal/BFF domain API; they describe internal mapping records and admin operations that are tightly coupled to the BFF’s persistence model.
- **When to move it to `packages/domain/`**: if the portal (or another app) needs to consume these contracts directly, or we want shared runtime validation/error codes around mapping operations across apps.

If/when we migrate, follow the import hygiene rules in `docs/development/domain/import-hygiene.md` and expose only the required public surface from `@customer-portal/domain/<module>`.
