//! JSON-schema generation for every top-level spec type (gated by the
//! `schemars` feature).
//!
//! Wiring `#[derive(schemars::JsonSchema)]` across the full type tree is a
//! mechanical pass — semver/ulid/PackDescriptor fields need `#[schemars(with =
//! "String")]`, chrono needs the schemars `chrono` feature. Deferred to a
//! follow-up PR so A1 can land the types without dragging the schemars-derive
//! review surface into the same review. The feature flag and entry points are
//! reserved here.
use RootSchema;
use BTreeMap;
/// Returns every top-level schema keyed by its
/// [`SchemaVersion`](crate::version::SchemaVersion) discriminator.
///
/// Currently a stub — see module-level doc. Subsequent PR wires real derives.