Extracting Deterministic JSON from IP India’s State-Wise Registered GI PDF

Last updated: 28 Nov 2026

Why layout-based PDF text extraction scrambles state columns and how row-stream parsing with SHA-256 checks preserves 684 records intact.

Layout Drift vs. Raw Logical Stream

In IP India’s 12-page PDF, visual layout extraction places the State column at a different vertical coordinate than the GI product name, causing adjacent rows to bleed together. Extracting the PDF in raw logical stream order with UTF-8 encoding keeps every field aligned to its serial number.

Verifying Source Integrity

Every weekly ingestion run checks HTTP ETag and Last-Modified headers, computes the SHA-256 digest of the official PDF, enforces strict 1..N serial continuity, and publishes full provenance on /v1/meta.

Example
curl "https://india-gi-tags-api.vercel.app/v1/meta"