Skip to main content

av_events/
lib.rs

1//! OCSF `ai_operation`-profile event model (Module E of the brief).
2//!
3//! Every event binds agent config state — `ai_agent.version`, `ai_agent.charter`,
4//! `ai_agent.instance_uid` — alongside `stop_reason_id`, per the pattern authored
5//! in Levaj2000/ocsf-schema PR #1 (merged, aligned with upstream ocsf#1704 /
6//! v1.10.0). The roadmap Fingerprint chaining (per-forward-pass inventory) is
7//! implemented behind [`OcsfEvent::inventory`] fields, default `None`.
8//!
9//! Evolution policy (EVOLUTION.md): inbound-tolerant (top-level unknown
10//! fields land in `unmapped`; nested objects stay strict), outbound-strict
11//! (emitters always produce the current schema).
12
13pub mod model;
14pub mod stop_reason;
15pub mod validate;
16
17pub use model::{
18    AgentIdentity, CharterFile, EventClass, EventMetrics, Fingerprint, Metadata, OcsfEvent, OcsfEventBuilder,
19    Product, StatusId, CATEGORY_UID, OCSF_VERSION, PRODUCT_NAME,
20};
21pub use stop_reason::StopReason;
22pub use validate::{validate_event, ValidationError};