> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localcode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Legislative chain

# Legislative Chain

Legislative chain data models how legal authorities and ordinances relate to a code section over time.

For v1, relationship edges are represented as directed links with explicit semantics:

* `relationship_type`
* `source_verification_status`
* `analysis_confidence`

The API returns records that show what legal source supports each relationship, not just abstract graph links.

For prospects, this is the core trust layer: it explains why a section appears as it does and what legal relationships support that interpretation.

## For developers

Developer-facing implementation maps lineage edges and supporting evidence records into API-facing chain objects.
