PDF Field Mapping
When mapping case data to PDF fields:
- Analyze Field IDs: Look for keywords in the
field_id(e.g.,PlaintiffName,DefendantAddress,ClaimAmount). - Use Bounding Boxes: If IDs are cryptic, use the
rect(bounding box) and the page number to identify the field's position on the form. - Handle Checkboxes: Identify the
checked_valuefor "Yes" or "No" options. Usually,/1is Yes and/2or/Offis No, but verify infield_info.json. - Consistency Check: Ensure that data like names and addresses are consistent across different sections of the form (e.g., caption vs. detailed info).