Skip to main content

AUDIT_SCHEMA_VERSION

Constant AUDIT_SCHEMA_VERSION 

Source
pub const AUDIT_SCHEMA_VERSION: &str = "marque-mvp-2";
Expand description

Audit-record schema version emitted by this build.

Set at build time by crates/engine/build.rs (see MARQUE_AUDIT_SCHEMA), validated against the closed accept-list ["marque-mvp-1", "marque-mvp-2"]. Defaults to "marque-mvp-2" (Phase D); a build can downgrade by exporting MARQUE_AUDIT_SCHEMA=marque-mvp-1. Re-exported through this crate so CLI and WASM emitters can populate the schema field without each owning a separate copy of the constant (whitepaper §980 / FR-014).

Per FR-014 the value is fixed for the lifetime of a build — a single binary emits exactly one schema, never a mix.