Machine Ready US Public Law

Maryland — Code of Maryland

Complete, unannotated statutory corpus and directed cross-reference citation graph for the State of Maryland across all 36 active articles and 715 distinct titles, cryptographically sealed from official Maryland General Assembly Department of Legislative Services (mgaleg.maryland.gov) sources.

36 Active Articles
715 Distinct Titles
40,043 Statutory Sections
430,852 Subsections
32,790 Citation Edges
100% AKN 3.0 XSD Valid
Single-Snapshot Dataset Acquisition • 10/2026 Edition

Code of Maryland — Complete Medallion Snapshot

One-time purchase for the complete October 2026 (10/2026) edition single-snapshot dataset of the Code of Maryland. 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 Code of Maryland (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 Maryland 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 Maryland General Assembly Department of Legislative Services (mgaleg.maryland.gov) with wire-level SHA-256 hashes and structural hierarchy metadata.

  • Source Authority Maryland General Assembly
  • Sealed Payloads 40,043 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 40,043 / 40,043 (100%)
  • History Coverage 40,043 / 40,043 (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 40,043 Rows (28.08 MB)
  • Subsection Table 430,852 Rows (29.50 MB)
  • Citation Graph 32,790 Directed Edges
  • DuckDB Catalog keystone_mdcode.duckdb
Artifact / Archive Layer / Format Records Size SHA-256 Cryptographic Seal
sections.parquet Gold Columnar Table (Snappy Parquet) 40,043 28.08 MB 236d04f78d0c35e4ed42a11d7d866e39fa59cc96e7347c9f24d24d3686440d91
subsections.parquet Gold Hierarchical Paragraphs (Snappy Parquet) 430,852 29.50 MB 95e4d50e9148034363e1793f630ccaa96042b6367982eca5100fc9b83e52823d
edges.parquet Gold Directed Citation Graph (Snappy Parquet) 32,790 524.17 KB 09b9d7c424dea4ec8dc90405dd4253e41a8cb1af9514da111ea545819fb81658
keystone_mdcode_bronze_2026-10.tar.gz Complete Bronze Source Archive (Raw Payloads + Manifests) 40,043 files 25.17 MB 1cd62cde032e3760518e3a91041d680b1a2cea77a7ad54e1683a212b14240345
keystone_mdcode_silver_2026-10.tar.gz Complete Silver OASIS AKN 3.0 XML Archive (XML + XSD + Manifests) 40,043 docs 34.49 MB d7462bd0aab11d628d5dbd6543a0b8c6efeafc859d158a832400f0c37f582941
keystone_mdcode_gold_2026-10.tar.gz Complete Gold Release Archive (Parquet + Manifests) 503,685 48.30 MB 2d61ec85cece54578a470bd94e088cf75d67de6195f29a8fb351b28d53c811b7
keystone_mdcode_title1_sample.tar.gz Art. AG Sample Showcase Slice (Agriculture) 784 secs 847.16 KB b6aea3e8843aebb2a8895c10ad37f065571f6e8fa051b29c391bc5f7ced8863f

Canonical Record Specimen: Md. Code § AG-1-101

Side-by-side view of Section AG-1-101 (Definitions) in Silver OASIS Akoma Ntoso 3.0 XML and Gold Parquet JSON representation.
data/silver/mdcode/akn_xml/article_ag/MDCODE-AG-1-101.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-md/act/mdcode/article-ag/section-AG-1-101"/>
          <FRBRdate date="2026-10-22" name="snapshot"/>
          <FRBRcountry value="US-MD"/>
        </FRBRWork>
      </identification>
      <proprietary source="#pipeline">
        <meta:source_html_sha256>20842bbbd3be2850...ca29e</meta:source_html_sha256>
        <meta:doc_id>MDCODE-AG-1-101</meta:doc_id>
        <meta:jurisdiction>US-MD</meta:jurisdiction>
        <meta:container_id>AG</meta:container_id>
        <meta:chapter_id>AG-1</meta:chapter_id>
        <meta:chapter_name>Title 1</meta:chapter_name>
        <meta:history_note>Md. Code, Agriculture § 1-101 (MGA 2027RS). Recent Legislative Actions: (a) without amendments (SB0242 /...</meta:history_note>
      </proprietary>
    </meta>
    <body>
      <section eId="sec_AG-1-101">
        <num>AG-1-101</num>
        <heading>Definitions</heading>
        <paragraph eId="sec_AG-1-101__para_1" class="indent-1">
          <num>(a)</num>
          <content>
            <p>(a) In this article the following words have the meanings
            indicated.</p>
          </content>
        </paragraph>
        <paragraph eId="sec_AG-1-101__para_2" class="indent-1">
          <num>(b)</num>
          <content>
            <p>(b) “Any state” means any state, possession or territory of
            the United States, the District of Columbia, or the
            Commonwealth of Puerto Rico.</p>
          </content>
        </paragraph>
        <!-- 7 additional paragraph(s) omitted for brevity -->
      </section>
    </body>
  </act>
</akomaNtoso>
gold.sections / gold.subsections / gold.edges Gold Parquet Row
// 1. sections.parquet (Primary Key: doc_id = "MDCODE-AG-1-101")
{
  "jurisdiction": "US-MD",
  "doc_id": "MDCODE-AG-1-101",
  "universal_doc_id": "US-MD-MDCODE-AG-1-101",
  "container_type": "article",
  "container_id": "AG",
  "container_name": "Agriculture",
  "title": 1,
  "chapter_id": "AG-1",
  "chapter_name": "Title 1",
  "subchapter_id": "AG-1-1",
  "subchapter_name": "Subtitle 1",
  "section_number": "AG-1-101",
  "heading": "Definitions",
  "paragraph_count": 9,
  "history_note": "Md. Code, Agriculture § 1-101 (MGA 2027RS). Recent Legislative Actions: (a) without amendments (SB0242 / CH0694, SB...",
  "source_html_sha256": "20842bbbd3be285077a848e5f985811be0212788e788462c76cd38384dcca29e",
  "akn_sha256": "918668c8bb6c6e3177090fd732818e70a855a43e1d12472de535862eff5cb6b6"
}

// 2. subsections.parquet (9 rows for MDCODE-AG-1-101)
{
  "doc_id": "MDCODE-AG-1-101",
  "paragraph_eid": "sec_AG-1-101__para_1",
  "paragraph_seq": 1,
  "enum_label": "(a)",
  "indent_level": 1,
  "text": "(a) In this article the following words have the meanings indicated."
}

// 3. edges.parquet (Sample Directed Citation Edge in Code of Maryland)
{
  "jurisdiction": "US-MD",
  "source_doc_id": "MDCODE-AB-1-101",
  "source_section": "AB-1-101",
  "target_doc_id": "MDCODE-AB-2-138",
  "target_section": "AB-2-138",
  "target_title": 2,
  "citation_count": 2
}

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-MD), collection-scoped primary key (MDCODE-AG-1-101), and global key.
container_type / container_id / container_name VARCHAR Top-level statutory container metadata (e.g., article, AG, Agriculture).
chapter_id / chapter_name VARCHAR Intermediate chapter/article identifier and official heading (100% populated across all 40,043 sections).
section_number / heading VARCHAR Canonical section number (e.g., AG-1-101) 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 (40,043 / 40,043 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_AG-1-101__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 36-Article Inventory (Code of Maryland)

Breakdown of distinct titles and statutory sections across all 36 active articles in the October 2026 edition.
Article Article Heading Titles Sections
Art. AGAgriculture16784
Art. ABAlcoholic Beverages and Cannabis323,181
Art. BOBusiness Occupations and Professions241,199
Art. BRBusiness Regulation291,198
Art. CLCommercial Law271,763
Art. CACorporations and Associations121,007
Art. CSCorrectional Services11557
Art. CJCourts and Judicial Proceedings131,039
Art. CRCriminal Law14878
Art. CPCriminal Procedure17641
Art. ECEconomic Development151,266
Art. EDEducation311,931
Art. ELElection Law18484
Art. ENEnvironment171,558
Art. ETEstates and Trusts20711
Art. FLFamily Law15733
Art. FIFinancial Institutions14975
Art. GPGeneral Provisions8404
Art. HGHealth - General222,227
Art. HOHealth Occupations221,549
Art. HSHousing and Community Development25701
Art. HUHuman Services11652
Art. INInsurance331,918
Art. LELabor and Employment151,059
Art. LULand Use26649
Art. LGLocal Government261,213
Art. NRNatural Resources71,052
Art. PSPublic Safety161,031
Art. PUPublic Utilities27778
Art. RPReal Property19837
Art. SFState Finance and Procurement22919
Art. SGState Government191,184
Art. SPState Personnel and Pensions35845
Art. TGTax - General14729
Art. TPTax - Property15638
Art. TRTransportation281,753
Total (36 Articles) Complete Code of Maryland Corpus 715 40,043