Skip to content
YosoiDocs

yosoi.runtime_contracts

yosoi.runtime_contracts

Runtime-authored Rust Contracts over arbitrary public schemas.

Source: python/yosoi/runtime_contracts.py:1

Name Summary
ArchivedContractCandidateField Store portable evidence for one archived candidate field.
ArchivedContractField Pair an archived schema field ID with its accepted value.
ArchivedContractOutcome Inspect a portable Contract outcome without a live Rust handle.
ArchivedContractRecordIssue Retain a rejected portable candidate with its field issues.
ArchivedContractString Store a validated string in the portable archive format.
ArchivedValidatedContractRecord Retain accepted portable values together with source evidence.
RuntimeCandidate Retain raw findings for every field of one runtime candidate.
RuntimeContract Author a Contract schema for extraction and validation in Rust.
RuntimeContractOutcome Inspect runtime validation results while retaining the Rust handle.
RuntimeExactlyOne Carry the single value accepted for a required field.
RuntimeExtracted Inspect runtime extraction results while retaining the Rust handle.
RuntimeMany Carry all accepted values for a repeated field.
RuntimeRecordIssue Retain a rejected candidate and its field validation issues.
RuntimeString Carry a string accepted by runtime Contract validation.
RuntimeValidatedRecord Pair accepted field values with their original candidate evidence.
RuntimeZeroOrOne Carry an optional field after cardinality and conversion checks.
Name Summary
ArchivedContractFieldValue Portable field value tagged as required, optional, or repeated.
ArchivedContractOutcomeData Portable outcome variants tagged by evaluation or phase-failure status.
ArchivedContractValue Portable string payload retained with its source evidence.
ArchivedExtractionFailure Portable schema, counting, grouping, or extraction-budget rejection.
ArchivedExtractionLimitName Names of bounded extraction counters recorded in portable failures.
ArchivedValidationFailure Portable schema, counting, or validation-budget rejection.
ContractSchemaFailure Structured Rust schema error tagged by its variant and typed details.
ExtractionLimitName Names of Rust extraction budgets reported by runtime rejection details.
RuntimeContractOutcomeData Validation variants retaining accepted records, issues, or phase failures.
RuntimeExtractedData Extraction variants distinguishing candidates from incomplete or failed work.
RuntimeExtractionFailure Typed schema, counting, grouping, or extraction-budget rejection.
RuntimeFieldValue Validated runtime field value tagged by its declared cardinality.
RuntimeValidationFailure Typed schema, counting, or validation-budget rejection.
RuntimeValue Raw string accepted by native structural validation.