data_contracts/
lib.rs

1//! Shared data contracts for runs, manifests, and capture metadata.
2//!
3//! This crate defines serializable schemas for:
4//! - `CaptureMetadata`: Per-frame capture metadata (labels, timestamps, provenance).
5//! - `RunManifest`: Run-level configuration and metadata.
6//! - `ImageStats`: Preprocessing statistics for normalization.
7//!
8//! These types are used across the CortenForge stack for dataset persistence, validation,
9//! and reproducibility. All types implement `Serialize`/`Deserialize` for JSON storage.
10
11pub mod capture;
12pub mod manifest;
13pub mod preprocess;
14
15pub use capture::{CaptureMetadata, DetectionLabel, LabelSource, ValidationError};
16pub use manifest::{RunManifest, RunManifestSchemaVersion};
17pub use preprocess::{ImageStats, ImageStatsError};