ADR-0001: Model as Code
- Identifier:
urn:enterprise-data-architecture:decision:adr-0001 - Status: Accepted
Context
Enterprise ontology and information meanings have historically been recorded in documents and tool-specific representations that can diverge.
Decision
Authoritative ontology and information models are maintained as version- controlled, machine-readable source artefacts. YAML is used for ontology source, and generated artefacts are derived rather than manually duplicated.
Rationale
Model as code creates reviewable history, deterministic validation and consistent generation across representations.
Consequences
Source files require schema validation and repository governance. Visual, physical and documentation representations must not become independent authoritative sources.
Alternatives considered
- Human-authored documents as the authority.
- Tool-specific repositories or proprietary modelling databases.