Expand description
Public validated output namespace. Use it for the documented validated output API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Durable and observable SDK records. Use these DTOs for events, journals, effects, context, output, and feature evidence. Constructing records is data-only; persistence, publication, and external actions happen through ports or application coordinators. This file contains the validated output portion of that contract.
Structs§
- Decoded
Typed Output - Carries the decoded typed output record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Output
Lineage - Carries the output lineage record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Structured
Output Result - Carries the structured output result record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Typed
Result Publication Record - Carries the typed result publication record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Validated
Output - Carries the validated output record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Validated
Output Params - Carries the validated output params record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Validation
Report Record - Carries the validation report record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
- Validation
Report Ref - Carries the validation report ref record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Enums§
- Typed
Output Error - Enumerates the finite typed output error cases. Serialized names are part of the SDK contract; update fixtures when variants change.
- Typed
Result Publication Status - Enumerates the finite typed result publication status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
- Validated
Output Publication Step - Enumerates the finite validated output publication step cases. Serialized names are part of the SDK contract; update fixtures when variants change.
- Validation
Status - Enumerates the finite validation status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Constants§
- TYPED_
RESULT_ PUBLICATION_ RECORD_ SCHEMA_ VERSION - Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.
- VALIDATED_
OUTPUT_ RECORD_ SCHEMA_ VERSION - Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.
- VALIDATION_
REPORT_ RECORD_ SCHEMA_ VERSION - Constant value for the records::validated_output contract. Use it to keep SDK records and tests aligned on the same stable value.
Functions§
- validate_
typed_ result_ publication_ order - Validates the records::validated_output invariants and returns a typed error on failure. Validation is pure and does not perform I/O, dispatch, journal appends, or adapter calls.