ecological-state-toolkit 0.15.1

Validated ecological inputs, state schemas, trajectory observation, and terminal products
Documentation
//! Canonical ecological state layout for Workflow-integrated models.

use scientific_workflow::state::StateSchemaProvider;

/// Stable provenance identity for the canonical ecological state layout.
pub const ECOLOGICAL_STATE_SCHEMA_ID: &str = "ecological-state-toolkit.ecological-state.v1";

/// Returns the toolkit's canonical ecological state-schema provider.
///
/// The JSON is embedded in this crate, making Ecological State Toolkit its sole
/// owner. This function performs no filesystem IO or parsing. A downstream
/// execution unit returns the descriptor from
/// `ExecutionUnit::standard_state_schema`; Workflow validates and caches it
/// during Study preflight.
/// The returned descriptor is a Workflow 0.16 type; receiving models must use
/// that same dependency generation.
pub const fn ecological_state_schema() -> StateSchemaProvider {
    StateSchemaProvider::new(
        ECOLOGICAL_STATE_SCHEMA_ID,
        include_bytes!("../schemas/ecological_state.json"),
    )
}