bill_versions
Bill printings
One row per printing of a bill, per source that supplied it. The full text is deliberately not a column here: bill_sections.body carries it at the grain people query, and the body is re-fetchable by package id and digest.
Coverage. Sampled: bills the bill family has read from GovInfo BILLSTATUS, Congress by Congress from the 108th on; group by the Congress in bill_id to see which Congresses are filled. source is govinfo for a printing whose body was acquired; other rows are printings the publisher lists without an acquired body. (measured 2026-09-28)
Data quality. A numbered reprint is its own printing since spicy-docs 0.37.0: the publisher types it exactly like the printing it follows, so its version_code is its own package suffix (eas2, rfs2) rather than the stage's slug. Public/private laws are distinct publisher listings, not enrolled BILLS printings. Unsupported law bodies remain unacquired: their offered URLs, labels and dates are retained, with no acquired body or section claims. The publication_dates array carries publisher date observations with source locators and digests. See docs/bill-source-detail.md for printing evidence and historical archive access.
- Parquet file:
bill_versions.parquet - MCP
query_sqlsupport: Configured; requires an available artifact. - Publication status: Not established by this schema page or its measurement date.
- Row count: Not stated here; the MCP
describe_tablereply gives the live count underpublication.
| Column | Type | Description |
|---|---|---|
bill_id |
VARCHAR |
The bill this printing belongs to. |
version_code |
VARCHAR |
The printing's code: its stage's sealed slug, or a numbered reprint's own package suffix (eas2). |
printing_id |
VARCHAR |
Which acquisition path supplied this row (govinfo, congress, govinfo-pdf, upload). |
label |
VARCHAR |
The publisher's version-type string verbatim, which is not unique per printing. |
version_date |
VARCHAR |
Congress textVersions action-associated date for this printing, not its online publication time; the merge prefers the larger value. NULL when absent or when the publisher states an empty <date/> (as on enrolled printings, whose dc:date is also empty): order printings with printing_order. |
package_id |
VARCHAR |
The GovInfo BILLS package id, read from a stated format URL rather than derived by name. |
version_code_is_reprint_ambiguous |
BOOLEAN |
True when the publisher's version-type string also names a numbered reprint, so the slug alone cannot tell the two printings apart. |
publisher_stage |
VARCHAR |
The root's own bill-stage or resolution-stage attribute: the publisher's word for it. |
section_count |
BIGINT |
How many content-bearing nodes the flattening produced; the bill_sections row count. |
equivalent_xml_version_code |
VARCHAR |
For a PDF twin, the version_code of the XML row it stands in for. |
equivalent_printing_id |
VARCHAR |
That twin's source. A version code is not unique across acquisition paths, which is why bill_versions keys on source too, so a twin reference needs both halves to resolve. |
kind |
VARCHAR |
Interpreted document kind: full_text, kind_uncertain (a full-text slug whose measured body yielded zero sections or zero bytes), procedural_amendments, procedural_summary, or unknown. |
kind_label |
VARCHAR |
The display label for this kind, supplied by the caller that owns the vocabulary. |
kind_warning |
VARCHAR |
The inline warning this kind carries, for a version picker. NULL for full_text and for unknown, which states none of its own. |
publication_dates |
STRUCT(field VARCHAR, "value" VARCHAR, state VARCHAR, "precision" VARCHAR, locator VARCHAR, source_sha256 VARCHAR, source_url VARCHAR, observed_at VARCHAR, attributes STRUCT("name" VARCHAR, "value" VARCHAR)[])[] |
Native SUMMARY and MODS date observations, preserving values, precision, attributes and exact evidence locators. Stored as native nested values; list order, repeated values, null and empty collections remain distinct. |
publication_evidence_status |
VARCHAR |
Whether SUMMARY was bracketed or changed; every status leaves the metadata/body version link unverified. |
body_version_id |
VARCHAR |
Stable identity of the substantive captured document body, independent of extraction processing. |
source_sha256 |
VARCHAR |
SHA-256 of the retained printing body or its GovInfo ZIP. For a listing-only version, this points to the retained bill status XML that lists the printing. |