ArchivedValidatedContractRecord
yosoi.runtime_contracts.ArchivedValidatedContractRecord
class ArchivedValidatedContractRecord(ImmutableModel):
Retain accepted portable values together with source evidence.
Attributes: document_id: Identity of the source document. region: Grouping region lineage, or None for an ungrouped record. fields: Accepted field values in the portable archive representation. evidence: Original per-field findings accompanying the accepted values.
Source: python/yosoi/runtime_contracts.py:246
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”document_id: str
region: RegionLineage | None = None
fields: tuple[ArchivedContractField, ...] = Field(repr=False)
evidence: tuple[ArchivedContractCandidateField, ...] = Field(repr=False)