Extraction schema:
{"type": "object", "title": "Synthetic election statement-of-votes pivot schema", "description": "Extract the county header, the per-contest column definitions, and every precinct row from a precinct-by-precinct Statement of Votes Cast. Each contest is a pivot grid: rows are precincts, columns are the contest's candidates plus Write-In / Over Votes / Under Votes. The same precincts repeat in every contest. Do NOT extract the bold 'Total' row -- it is a column summary, not a precinct.", "required": ["jurisdiction", "election_title", "election_date", "contests", "precinct_results"], "properties": {"jurisdiction": {"type": "string", "description": "County named in the page header, e.g. 'Goshen County'."}, "election_title": {"type": "string", "description": "Report title from the header, e.g. 'Official Precinct-by-Precinct Summary'."}, "election_date": {"type": "string", "description": "Election date printed in the header, e.g. 'November 5, 2024'."}, "contests": {"type": "array", "description": "One entry per contest (one per page), defining its columns in order.", "items": {"type": "object", "required": ["office", "columns"], "properties": {"office": {"type": "string", "description": "Contest title printed above the grid, e.g. 'United States Senator'."}, "columns": {"type": "array", "description": "Data column headers left-to-right (candidates then Write-In, Over Votes, Under Votes); aligns positionally with each row's votes.", "items": {"type": "string"}}}}}, "precinct_results": {"type": "array", "description": "Every precinct row of every contest, in document order. Excludes the 'Total' summary row printed at the foot of each contest.", "items": {"type": "object", "required": ["office", "precinct", "votes", "source_page"], "properties": {"office": {"type": "string", "description": "Contest this row belongs to (the page's title heading)."}, "precinct": {"type": "string", "description": "Precinct label (row header), e.g. '07-2' or 'Absentee'."}, "votes": {"type": "array", "description": "Vote counts in printed column order, aligned to this contest's 'columns' (candidates, then Write-In, Over Votes, Under Votes).", "items": {"type": "integer"}}, "source_page": {"type": "integer", "description": "One-indexed PDF page where the row is printed."}}}}}}

Expected output:
{"jurisdiction": "Weston County", "election_title": "Official Precinct-by-Precinct Summary", "election_date": "November 5, 2024", "contests": [{"office": "United States Senator", "columns": ["John Barrasso (R)", "Scott D Morrow (D)", "Write-Ins", "Overvotes", "Undervotes"]}, {"office": "United States Representative", "columns": ["Harriet Hageman (R)", "Kyle G. Cameron (D)", "Richard Brubaker (L)", "Jeffrey Haggit (C)", "Write-Ins", "Overvotes", "Undervotes"]}, {"office": "House District 2", "columns": ["JD Williams (R)", "Write-Ins", "Overvotes", "Undervotes"]}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "columns": ["Yes", "No", "Overvotes", "Undervotes"]}, {"office": "Kate M. Fox", "columns": ["Yes", "No", "Overvotes", "Undervotes"]}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "columns": ["Yes", "No", "Overvotes", "Undervotes"]}, {"office": "James Michael Causey", "columns": ["Yes", "No", "Overvotes", "Undervotes"]}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "columns": ["Yes", "No", "Overvotes", "Undervotes"]}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "columns": ["For", "Against", "Overvotes", "Undervotes"]}], "precinct_results": [{"office": "United States Senator", "precinct": "1-1", "votes": [617, 66, 0, 0, 25], "source_page": 1}, {"office": "United States Senator", "precinct": "1-2", "votes": [442, 56, 4, 0, 18], "source_page": 1}, {"office": "United States Senator", "precinct": "2-1", "votes": [145, 10, 1, 0, 8], "source_page": 1}, {"office": "United States Senator", "precinct": "3-1", "votes": [246, 17, 2, 0, 15], "source_page": 1}, {"office": "United States Senator", "precinct": "4-1", "votes": [451, 36, 2, 0, 10], "source_page": 1}, {"office": "United States Senator", "precinct": "5-1", "votes": [373, 60, 1, 1, 12], "source_page": 1}, {"office": "United States Senator", "precinct": "5-2", "votes": [356, 62, 2, 0, 13], "source_page": 1}, {"office": "United States Senator", "precinct": "5-3", "votes": [396, 68, 3, 0, 15], "source_page": 1}, {"office": "United States Representative", "precinct": "1-1", "votes": [604, 47, 17, 11, 1, 1, 27], "source_page": 2}, {"office": "United States Representative", "precinct": "1-2", "votes": [432, 47, 10, 7, 1, 7, 16], "source_page": 2}, {"office": "United States Representative", "precinct": "2-1", "votes": [144, 6, 4, 5, 0, 0, 5], "source_page": 2}, {"office": "United States Representative", "precinct": "3-1", "votes": [250, 15, 6, 1, 0, 0, 8], "source_page": 2}, {"office": "United States Representative", "precinct": "4-1", "votes": [421, 32, 17, 15, 2, 1, 11], "source_page": 2}, {"office": "United States Representative", "precinct": "5-1", "votes": [349, 54, 11, 14, 3, 2, 14], "source_page": 2}, {"office": "United States Representative", "precinct": "5-2", "votes": [330, 54, 20, 10, 1, 2, 16], "source_page": 2}, {"office": "United States Representative", "precinct": "5-3", "votes": [378, 54, 18, 12, 2, 10, 8], "source_page": 2}, {"office": "House District 2", "precinct": "1-1", "votes": [589, 48, 0, 71], "source_page": 3}, {"office": "House District 2", "precinct": "1-2", "votes": [0, 0, 0, 0], "source_page": 3}, {"office": "House District 2", "precinct": "2-1", "votes": [0, 0, 0, 0], "source_page": 3}, {"office": "House District 2", "precinct": "3-1", "votes": [0, 0, 0, 0], "source_page": 3}, {"office": "House District 2", "precinct": "4-1", "votes": [0, 0, 0, 0], "source_page": 3}, {"office": "House District 2", "precinct": "5-1", "votes": [333, 29, 0, 85], "source_page": 3}, {"office": "House District 2", "precinct": "5-2", "votes": [346, 27, 1, 59], "source_page": 3}, {"office": "House District 2", "precinct": "5-3", "votes": [394, 39, 0, 49], "source_page": 3}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "1-1", "votes": [433, 166, 0, 109], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "1-2", "votes": [321, 109, 1, 89], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "2-1", "votes": [96, 36, 0, 32], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "3-1", "votes": [153, 72, 0, 55], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "4-1", "votes": [321, 97, 0, 81], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "5-1", "votes": [257, 91, 0, 99], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "5-2", "votes": [281, 80, 0, 72], "source_page": 4}, {"office": "Supreme Court Justice, Wyoming Supreme Court John G. Fenn", "precinct": "5-3", "votes": [325, 101, 0, 56], "source_page": 4}, {"office": "Kate M. Fox", "precinct": "1-1", "votes": [440, 165, 0, 103], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "1-2", "votes": [336, 102, 0, 82], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "2-1", "votes": [97, 35, 0, 32], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "3-1", "votes": [164, 69, 0, 47], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "4-1", "votes": [337, 93, 0, 69], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "5-1", "votes": [281, 84, 0, 82], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "5-2", "votes": [281, 84, 0, 68], "source_page": 5}, {"office": "Kate M. Fox", "precinct": "5-3", "votes": [336, 101, 0, 45], "source_page": 5}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "1-1", "votes": [454, 155, 0, 99], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "1-2", "votes": [333, 104, 0, 83], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "2-1", "votes": [103, 31, 1, 29], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "3-1", "votes": [155, 76, 0, 49], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "4-1", "votes": [330, 92, 0, 77], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "5-1", "votes": [284, 86, 0, 77], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "5-2", "votes": [282, 87, 0, 64], "source_page": 6}, {"office": "District Court Judge, Sixth Judicial District Matthew F.G. Castano", "precinct": "5-3", "votes": [338, 99, 0, 45], "source_page": 6}, {"office": "James Michael Causey", "precinct": "1-1", "votes": [448, 159, 0, 101], "source_page": 7}, {"office": "James Michael Causey", "precinct": "1-2", "votes": [319, 113, 0, 88], "source_page": 7}, {"office": "James Michael Causey", "precinct": "2-1", "votes": [101, 33, 0, 30], "source_page": 7}, {"office": "James Michael Causey", "precinct": "3-1", "votes": [156, 73, 0, 51], "source_page": 7}, {"office": "James Michael Causey", "precinct": "4-1", "votes": [330, 87, 0, 82], "source_page": 7}, {"office": "James Michael Causey", "precinct": "5-1", "votes": [265, 92, 0, 90], "source_page": 7}, {"office": "James Michael Causey", "precinct": "5-2", "votes": [277, 83, 1, 72], "source_page": 7}, {"office": "James Michael Causey", "precinct": "5-3", "votes": [336, 98, 0, 48], "source_page": 7}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "1-1", "votes": [443, 161, 2, 102], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "1-2", "votes": [327, 102, 0, 91], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "2-1", "votes": [101, 32, 0, 31], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "3-1", "votes": [168, 64, 0, 48], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "4-1", "votes": [328, 91, 0, 80], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "5-1", "votes": [284, 84, 0, 79], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "5-2", "votes": [290, 79, 0, 64], "source_page": 8}, {"office": "Circuit Court Judge, Sixth Judicial District Wendy M. Bartlett", "precinct": "5-3", "votes": [341, 95, 0, 46], "source_page": 8}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "1-1", "votes": [298, 348, 0, 62], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "1-2", "votes": [258, 219, 0, 43], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "2-1", "votes": [67, 81, 0, 16], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "3-1", "votes": [112, 148, 0, 20], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "4-1", "votes": [275, 187, 0, 37], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "5-1", "votes": [222, 174, 0, 51], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "5-2", "votes": [217, 176, 0, 40], "source_page": 9}, {"office": "Constitutional Amendment A Separate Residential Property Class for Tax Assessment", "precinct": "5-3", "votes": [263, 180, 0, 39], "source_page": 9}]}