//! Schema metadata, relation registry, CI validator and ER export.
//! Spec: docs/superpowers/specs/26-06-11-armdb-schema-metadata.md

mod access;
mod hook_factory;
mod mermaid;
mod registry;
mod validate;

pub use access::{BrandedKey, IndexTarget, SchemaCollection};
pub use hook_factory::IndexHook;
pub use mermaid::{MermaidEr, SchemaFormatter};
pub use registry::{BuiltRegistry, FkLabel, RegistryBuildError, SchemaRegistry};
pub use validate::{Finding, ValidationReport, validate};

#[cfg(test)]
mod tests;
