Machine Ready US Public Law

California — California Codes

Complete, unannotated statutory corpus and directed cross-reference citation graph for the State of California across all 29 active codes and 1,704 distinct chapters, cryptographically sealed from official California Office of Legislative Counsel (California Legislative Information / CAML 1.0) sources.

29 Active Codes
1,704 Distinct Chapters
162,154 Statutory Sections
708,187 Subsections
184,379 Citation Edges
100% AKN 3.0 XSD Valid
Single-Snapshot Dataset Acquisition • 10/2026 Edition

California Codes — Complete Medallion Snapshot

One-time purchase for the complete October 2026 (10/2026) edition single-snapshot dataset of the California Codes. Includes perpetual commercial license rights to the Bronze raw source payloads, Silver OASIS Akoma Ntoso 3.0 XML archive, Gold Apache Parquet tables (sections, subsections, edges), and SHA-256 provenance manifests.

Price: $2,000 USD  |  Edition: 10/2026 Snapshot  |  Delivery: Snowflake Marketplace / Direct Archive  |  License: Perpetual Snapshot License  |  Purchase & Download Snapshot →
Keystone Legal Data — Commercial Dataset License Agreement Standard Single-Snapshot Terms (v2026.10)

1. Grant of Perpetual Single-Snapshot License

Upon payment of the one-time $2,000 USD license fee, Keystone Data Services LLC, d/b/a Keystone Legal Data ("Licensor"), grants Customer ("Licensee") a perpetual, non-exclusive, non-transferable, worldwide enterprise license to store, query, index, and use the 10/2026 Edition Single-Snapshot Dataset of the California Codes (including all delivered Bronze source files, Silver OASIS Akoma Ntoso 3.0 XML files, Gold Parquet tables, directed citation graph schemas, and cryptographic manifests, collectively the "Licensed Dataset"). Future statutory editions or legislative updates are sold separately as independent snapshots.

2. Permitted Enterprise, Analytics & AI/LLM Uses

Licensee may freely integrate the Licensed Dataset into internal data warehouses, legal research platforms, retrieval-augmented generation (RAG) pipelines, vector databases, knowledge graphs, and machine learning or large language model (LLM) training, fine-tuning, and inference systems, and may display statutory excerpts and citation outputs to end users in the ordinary course of Licensee's products and services.

3. Restrictions on Bulk Redistribution

While the underlying enacted statutory text of the State of California is in the public domain under the government edicts doctrine, the normalized schema, structural subsection shredding, OASIS Akoma Ntoso 3.0 XML markup, resolved citation graph topology, and cryptographic lineage manifests are proprietary data engineering deliverables of Licensor. Licensee may not resell, sublicense, publish, or redistribute the Licensed Dataset in bulk or as a standalone statutory data product or competing data catalog.

4. Provenance & Disclaimer of Warranties

Every record in the Licensed Dataset is cryptographically sealed via SHA-256 to its source legislative payload as published by the official legislative authority as of the snapshot date. The Licensed Dataset is provided "AS IS" for analytical and informational purposes and does not constitute legal advice. Licensor's aggregate liability under this Agreement shall not exceed the license fee paid for the snapshot.


Medallion Architecture Deliverables

Three-tier statutory distribution with end-to-end SHA-256 cryptographic lineage from raw legislative payload to analytical Parquet tables.
Bronze Layer

Immutable Source Payloads

Verbatim section payloads captured from the California Office of Legislative Counsel (California Legislative Information / CAML 1.0) with wire-level SHA-256 hashes and structural hierarchy metadata.

  • Source Authority CA Legislative Counsel
  • Sealed Payloads 162,154 Files
  • Lineage Manifest bronze_manifest.jsonl
  • Integrity Seal manifest.sha256 (0444)
Silver Layer

OASIS Akoma Ntoso 3.0 XML

Normalized, schema-validated OASIS LegalDocML (Akoma Ntoso 3.0) XML documents containing strictly enacted statutory text, subsection hierarchy, and session-law history citations.

  • XML Standard OASIS AKN 3.0 (XSD 1.0)
  • Validated Docs 162,154 / 162,154 (100%)
  • History Coverage 162,154 / 162,154 (100.0%)
  • Third-Party IP / Notes 0 (Strictly Stripped)
Gold Layer

Apache Parquet & Citation Graph

Snappy-compressed Apache Parquet tables (sections, subsections, edges) and pre-indexed DuckDB analytical catalog ready for immediate SQL, Polars, PyArrow, or RAG/LLM ingestion.

  • Section Table 162,154 Rows (99.13 MB)
  • Subsection Table 708,187 Rows (92.68 MB)
  • Citation Graph 184,379 Directed Edges
  • DuckDB Catalog keystone_cacode.duckdb
Artifact / Archive Layer / Format Records Size SHA-256 Cryptographic Seal
sections.parquet Gold Columnar Table (Snappy Parquet) 162,154 99.13 MB 64f741a6485dded994e1e7e36a9155706d5225aa2edaddf162f3bb67fd032947
subsections.parquet Gold Hierarchical Paragraphs (Snappy Parquet) 708,187 92.68 MB 42f6cfead16957c8760df6638e394d0b96fb01b7bcb20e4006cbecc2164d0847
edges.parquet Gold Directed Citation Graph (Snappy Parquet) 184,379 2.66 MB e10b1efbd10999578c2e057c280432c7052ae5713c9c7a015b342909ac23ca43
keystone_cacode_bronze_2026-10.tar.gz Complete Bronze Source Archive (Raw Payloads + Manifests) 162,154 files 85.03 MB 5257d628cb996000e09a51b78bd049ff4c8475fccf5bdf1bc294cb0b83eba81a
keystone_cacode_silver_2026-10.tar.gz Complete Silver OASIS AKN 3.0 XML Archive (XML + XSD + Manifests) 162,154 docs 117.28 MB 9a68e48affa34206d106695cd97a1f8bb9bb85d7a64ca2ebea166ed7f9f8d89b
keystone_cacode_gold_2026-10.tar.gz Complete Gold Release Archive (Parquet + Manifests) 1,054,720 163.36 MB 770f36d2404ee27a0c892f5d98873e101bc8dcd1be3768343bfcaa15e73d6907
keystone_cacode_title3_sample.tar.gz CIV Sample Showcase Slice (Civil Code) 4,089 secs 5.11 MB 8a710018fd1b79c291d03958f78f0db0952787f39820caac2beee58fd5ec1c7f

Canonical Record Specimen: Cal. Code § BPC-100

Side-by-side view of Section BPC-100 (The Department) in Silver OASIS Akoma Ntoso 3.0 XML and Gold Parquet JSON representation.
data/silver/cacode/akn_xml/code_bpc/CACODE-BPC-100.xml Silver OASIS AKN 3.0
<?xml version='1.0' encoding='utf-8'?>
<akomaNtoso xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0"
            xmlns:meta="https://pipeline.local/schema/meta">
  <act name="statute">
    <meta>
      <identification source="#pipeline">
        <FRBRWork>
          <FRBRthis value="/us-ca/act/cacode/code-bpc/section-BPC-100"/>
          <FRBRdate date="2026-10-22" name="snapshot"/>
          <FRBRcountry value="US-CA"/>
        </FRBRWork>
      </identification>
      <proprietary source="#pipeline">
        <meta:source_html_sha256>0f2abb6068acbc35...94c2d</meta:source_html_sha256>
        <meta:doc_id>CACODE-BPC-100</meta:doc_id>
        <meta:jurisdiction>US-CA</meta:jurisdiction>
        <meta:container_id>BPC</meta:container_id>
        <meta:chapter_id>1</meta:chapter_id>
        <meta:chapter_name>The Department</meta:chapter_name>
        <meta:history_note>Amended by Stats. 2026, Ch. 28, Sec. 1. (SB 170) Effective June 29, 2026. Operative July 1, 2026, by its...</meta:history_note>
      </proprietary>
    </meta>
    <body>
      <section eId="sec_BPC-100">
        <num>BPC-100</num>
        <heading>The Department</heading>
        <paragraph eId="sec_BPC-100__para_1" class="indent-1">
          <num>(a)</num>
          <content>
            <p>(a) There is in the state government, in the Business and
            Consumer Services Agency, a Department of Consumer Affairs.</p>
          </content>
        </paragraph>
        <paragraph eId="sec_BPC-100__para_2" class="indent-1">
          <num>(b)</num>
          <content>
            <p>(b) The amendments made to this section by the act adding this
            subdivision shall become operative on July 1, 2026.</p>
          </content>
        </paragraph>
      </section>
    </body>
  </act>
</akomaNtoso>
gold.sections / gold.subsections / gold.edges Gold Parquet Row
// 1. sections.parquet (Primary Key: doc_id = "CACODE-BPC-100")
{
  "jurisdiction": "US-CA",
  "doc_id": "CACODE-BPC-100",
  "universal_doc_id": "US-CA-CACODE-BPC-100",
  "container_type": "code",
  "container_id": "BPC",
  "container_name": "Business and Professions Code",
  "title": 1,
  "chapter_id": "1",
  "chapter_name": "The Department",
  "subchapter_id": "",
  "subchapter_name": "",
  "section_number": "BPC-100",
  "heading": "The Department",
  "paragraph_count": 2,
  "history_note": "Amended by Stats. 2026, Ch. 28, Sec. 1. (SB 170) Effective June 29, 2026. Operative July 1, 2026, by its own provisions.",
  "source_html_sha256": "0f2abb6068acbc350134b669dfe216d2905657f9386d08f467daa0e44ee94c2d",
  "akn_sha256": "4a49c85080e0620d15da76d6565f8cad44722c4f194fff79d3d66653ebed5763"
}

// 2. subsections.parquet (2 rows for CACODE-BPC-100)
{
  "doc_id": "CACODE-BPC-100",
  "paragraph_eid": "sec_BPC-100__para_1",
  "paragraph_seq": 1,
  "enum_label": "(a)",
  "indent_level": 1,
  "text": "(a) There is in the state government, in the Business and Consumer Services Agency, a Department of Consumer Affairs."
}

// 3. edges.parquet (Sample Directed Citation Edge in California Codes)
{
  "jurisdiction": "US-CA",
  "source_doc_id": "CACODE-BPC-10008.5",
  "source_section": "BPC-10008.5",
  "target_doc_id": "CACODE-BPC-10131",
  "target_section": "BPC-10131",
  "target_title": 1,
  "citation_count": 1
}

Gold Parquet Schema Specification

Standardized cross-jurisdiction schema shared across all 57 Keystone Legal Data statutory repositories.
Table Column Name Parquet Type Description
sections.parquet jurisdiction / doc_id / universal_doc_id VARCHAR Jurisdiction code (US-CA), collection-scoped primary key (CACODE-BPC-100), and global key.
container_type / container_id / container_name VARCHAR Top-level statutory container metadata (e.g., code, BPC, Business and Professions Code).
chapter_id / chapter_name VARCHAR Intermediate chapter/article identifier and official heading (100% populated across all 162,154 sections).
section_number / heading VARCHAR Canonical section number (e.g., BPC-100) and cleaned catchline heading.
full_text VARCHAR Complete, newline-delimited statutory text of the section (strictly enacted text only).
history_note VARCHAR Legislative session-law enactment and amendment history citations (162,154 / 162,154 sections populated).
paragraph_count INT64 Number of child subsection paragraphs shredded into subsections.parquet.
source_html_sha256 / akn_sha256 VARCHAR Cryptographic SHA-256 digests linking the Gold row to its exact Silver XML and Bronze raw payload.
subsections.parquet paragraph_eid / paragraph_seq VARCHAR / INT64 OASIS AKN 3.0 element ID (sec_BPC-100__para_1) and deterministic 1-based sequence order within the section.
enum_label / indent_level VARCHAR / INT64 Extracted structural enumerator (e.g., (a), (1), (A)) and hierarchical indentation depth (1–6).
text VARCHAR Cleaned text of the individual statutory subsection or paragraph.
edges.parquet source_doc_id / target_doc_id VARCHAR Directed citation graph edge resolving in-text statutory references from citing section to cited target section.
source_section / target_section / citation_count VARCHAR / INT64 Canonical section numbers and frequency count of cross-references between the pair.

Complete 29-Code Inventory (California Codes)

Breakdown of distinct chapters and statutory sections across all 29 active codes in the October 2026 edition.
Code Code Heading Divisions / Chapters Sections
BPCBusiness and Professions Code11610,526
CCPCode of Civil Procedure313,424
CIVCivil Code374,089
COMCommercial Code14669
CORPCorporations Code272,433
EDCEducation Code13111,585
ELECElections Code282,389
EVIDEvidence Code7506
FACFood and Agricultural Code529,664
FAMFamily Code171,636
FGCFish and Game Code312,301
FINFinancial Code383,320
GOVGovernment Code17521,888
HNCHarbors and Navigation Code121,333
HSCHealth and Safety Code18017,737
INSInsurance Code504,516
LABLabor Code392,642
MVCMilitary and Veterans Code221,246
PCCPublic Contract Code341,667
PENPenal Code775,769
PRCPublic Resources Code1328,204
PROBProbate Code232,711
PUCPublic Utilities Code387,568
RTCRevenue and Taxation Code1077,384
SHCStreets and Highways Code584,633
UICUnemployment Insurance Code171,120
VEHVehicle Code243,824
WATWater Code8210,140
WICWelfare and Institutions Code1057,230
Total (29 Codes) Complete California Codes Corpus 1,704 162,154