Structure Government Data with Confidence

A modern schema specification for standardizing government records and public sector data

<?xml version="1.0" encoding="UTF-8"?> <govset xmlns="http://schema.govset.org/v1"> <record type="legislation"> <metadata> <id>HR2023-1234</id> <jurisdiction>federal</jurisdiction> <status>enacted</status> </metadata> <content> <title>Digital Government Standards Act</title> <section id="1"> <heading>Purpose</heading> <text>To establish unified data standards...</text> </section> </content> </record> </govset>
Read the Docs

Features

Schema Validation

Built-in validation ensures data consistency across all government records.

Jurisdiction Support

Flexible support for federal, state, and local government structures.

Version Control

Track changes and maintain backwards compatibility with built-in versioning.

Implementation Examples

Legislation Record XML
<record type="legislation"> <metadata> <id>HR2023-1234</id> <jurisdiction>federal</jurisdiction> </metadata> </record>
Financial Transaction XML
<record type="transaction"> <metadata> <id>TX2023-5678</id> <amount>250000.00</amount> <currency>USD</currency> </metadata> </record>

Get Started

Start using govset in your project today. Our comprehensive documentation and active community are here to help.

Read the Documentation

Community Driven

Join thousands of developers building the future of government data standards.

Open Source

MIT licensed and free to use in any project. Contributions welcome.

Active Community

Join discussions, report issues, and contribute to development.

Enterprise Ready

Production tested and battle-hardened in government systems.

govset/examples

legislation

Fast and efficient legislative record parsing with built-in validation.

Automatic schema validation and error handling
Support for multiple legislative formats
import govset
from govset import LegislationRecord

async def parse():
    record = LegislationRecord(
        id="HR2023-1234",
        jurisdiction="federal",
        status="enacted"
    )
    await record.validate()

transactions

Standardized financial transaction records with audit support.

Complete transaction history tracking
Built-in compliance with ISO standards
use govset::Transaction;

fn main() {
    let tx = Transaction::new()
        .with_id("TX2023-5678")
        .with_amount(250000.00)
        .with_currency("USD");
    
    tx.validate().unwrap();
}