validate_field_map
Validate a field mapping JSON file by comparing each source value against its ASM value, returning match counts, mismatches, and a summary message.
Instructions
Validate a field mapping file produced by a custom converter script.
Reads the JSON file at ``field_map_path`` and compares each entry's
``source_value`` against its ``asm_value`` using string equality (primary)
and numeric float equality (fallback). Returns a structured JSON result
with match counts, mismatches, and a summary message.
Args:
field_map_path: File path to the field mapping JSON file.
Returns:
JSON string with ``matched``, ``total``, ``mismatches``, and
``message`` keys on success, or an ``error`` key on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_map_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |