pub struct OperatorEnvelope {Show 21 fields
pub schema: String,
pub binary_id: String,
pub operator: String,
pub schema_version: String,
pub crate_name: String,
pub plan_hash: String,
pub requirement_id: String,
pub subject_ids: Vec<u64>,
pub result_definition_ref: String,
pub anchor_tags: Vec<String>,
pub neo4j_hit: bool,
pub nodes: Vec<OperatorNode>,
pub relationships: Vec<OperatorRel>,
pub properties: Map<String, Value>,
pub verify: bool,
pub coverage_state: String,
pub no_finding_reason: Option<String>,
pub limitations: Vec<String>,
pub content_hash: String,
pub graph: Option<OperatorGraph>,
pub telemetry: Option<Value>,
}Expand description
Closed operator JSON. Unknown fields are never written.
Fields§
§schema: StringAlways OPERATOR_ENVELOPE_V1.
binary_id: StringCatalog BIN.*.
operator: StringCatalog operator name.
schema_version: StringEnvelope semver.
crate_name: StringCatalog crate name.
plan_hash: StringObservation Plan bind (hex). Payload hash when unbound.
requirement_id: StringCoverage key. "unbound" when the host did not supply one.
subject_ids: Vec<u64>Subject ids looked up.
result_definition_ref: StringPlan result type.
Tags that justified this return.
neo4j_hit: boolNeo4j availability only. Never Trust.
nodes: Vec<OperatorNode>Operator-typed nodes.
relationships: Vec<OperatorRel>Operator-typed relationships.
properties: Map<String, Value>Operator-typed properties (PROP binaries; otherwise empty object).
verify: boolSheet VERIFY bit after projection.
coverage_state: Stringproposal | no-finding | limitation | truncation | failure.
no_finding_reason: Option<String>Required when nodes is empty and state is no-finding.
limitations: Vec<String>Distinct from failure.
content_hash: StringHash of the operator payload (nodes + rels + properties), not notes.
graph: Option<OperatorGraph>Grammar position of this return (weight / height / anchors / shape), deterministic from the frozen catalog. Graph-first renderers read it; additive to sheet 09’s required keys.
telemetry: Option<Value>Shared Aria spine. Optional (sheet 09). Not an API contract.
Implementations§
Source§impl OperatorEnvelope
impl OperatorEnvelope
Sourcepub fn schema_tag() -> &'static str
pub fn schema_tag() -> &'static str
Format tag constructor helper.
Sourcepub fn has_working_data(&self) -> bool
pub fn has_working_data(&self) -> bool
Working vertical: at least one node, relationship, or property. Empty no-finding / HOST limitation / empty pass-through are skeletons and must not ship on the production callback (PCVC, Neo4j, CLI).