Strongly typed schema definitions with built-in validation and error handling.
Flexible architecture that supports custom extensions and jurisdiction-specific needs.
Built-in versioning system with guaranteed backwards compatibility.
A modern schema specification for standardizing government records and public sector data across jurisdictions.
Strongly typed schema definitions with built-in validation and error handling.
Flexible architecture that supports custom extensions and jurisdiction-specific needs.
Built-in versioning system with guaranteed backwards compatibility.
The govset schema is designed to standardize government records across different jurisdictions and levels of government. It provides a flexible yet structured way to represent various types of government data.
JurisdictionLevel: - federal - state - local - tribal - territorial - international
RecordType: - legislation - regulation - judicial - administrative - financial - transaction - document - meeting - event
Every record contains metadata that provides essential information about the record:
For formally structured data with specific schemas:
<content> <structured> <legislation> <title>Digital Government Standards Act</title> <sections>...</sections> </legislation> </structured> </content>
For documents and text that don't follow a specific structure:
<content> <unstructured> <format>text/plain</format> <data>...</data> </unstructured> </content>
For recording events, changes, and financial transactions:
Transaction Elements: - transactionId - timestamp - type - parties - amount (optional) - details
The schema supports versioning at multiple levels:
Start using govset in your project with a few lines of code:
govset is built by and for the government data community. Join us in creating the future of public sector data standardization.
MIT licensed and free to use in any project. Contributions welcome.
Join discussions, report issues, and contribute to development.
Production tested and battle-hardened in government systems.