Skip to content

Ingrid Kao 高英瑋律師kuoingrid0118@gmail.com

Write to me

Legal Workflow Lab

Working example / Data quality

Verify the move.
Keep the exceptions visible.

At Lawsnote, I validated a migration of more than 10,000 contract records through field mapping and import checks. This fictional example makes that checking method inspectable.

XML → JSONIndependent source comparisonEight fictional contracts

All eight records arrived. Why are five on hold?

Select a held record to see its exception, or switch to the corrected batch.

Flawed import

Destination records
Records held
Records clean
Exception types

Every source record remains accounted for.

These labels show metadata-check results, not a production release decision.

The exception handoff

Expected value, observed value and next action stay together.

What is checked

Executable controls, with a defined boundary.

Compare the destination with an independent source

The check does not validate a transformation against itself. It compares the XML export with the separately saved JSON destination, using a source-to-destination crosswalk.

Source IDs, revisions, required owners, dates and access metadata remain visible when a record is held.

Preserve meaning during import

Amounts use exact decimals. A missing amount stays null; a known zero stays zero. DTD/entity input is rejected, and destination identifiers are checked for case-insensitive collisions.

Metadata matching does not establish that real system permissions are enforced.

Inspect the field mapping
XML sourceJSON fieldTransformation

Reproduce the fixed example

This page displays archived results for deliberately flawed and corrected fictional fixtures. Changing the view does not rerun the validator. The Python code and tests are included. Record-owner signoff and platform checks remain separate release requirements.