Skip to content
YosoiDocs

PolicyIdentity

yosoi.policy.PolicyIdentity

class PolicyIdentity(ImmutableModel):

Versioned Rust digest identifying effective policy behavior.

Attributes: version: Positive identity-format version. sha256: Canonical 64-character lowercase hexadecimal digest of the resolved policy identity.

Source: python/yosoi/policy.py:902

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

version: PositiveU16
sha256: Annotated[str, Field(pattern='^[0-9a-f]{64}$')]