Expand description
Minimal domain model (V1.0 NEUTRAL). Open vocabularies; policy controls acceptance.
DESIGN: EventType, EvidenceKind, and RelType are opaque string wrappers. The core provides well-known constants for convenience, but accepts ANY string. Unknown types are NOT rejected at schema stage—validation is the policy’s job.
This achieves true neutrality: healthcare, logistics, AI, and 100 other domains can extend the vocabulary without modifying proof-core.
Modules§
- id_
prefix - ID prefixes (wire format
<prefix>:v1:<b64uNoPad(sha256)>).
Structs§
- Attestation
Content - Attestation content (without id and signature).
- Claim
- Event
Content - Event content (without id).
metadatais flat string→scalar, max 16 entries. - Event
Type - Event type (open vocabulary). The core transports any string; policy decides which types are acceptable. Well-known V1 types provided as constants.
- Evidence
- Evidence (without id).
digestbinds the material;attestation_refandhintare optional references. IDs are derived, never stored. - Evidence
Kind - Evidence kind (open vocabulary). Policy controls which kinds are acceptable.
- Proof
- Portable proof package (without canonical bytes).
proof_idbinds the proposition plus the exact member id sets (seeproof-crypto::id).created_atis informational only and is NOT covered by the id. - Proposition
- Machine-readable proposition: what the proof attempts to establish.
description(human text) is never authoritative and is not stored here. - RelType
- Relationship type (open vocabulary). Policy controls which types are acceptable.
- Relationship
- Relationship (without id): typed directed edge between object ids.
from/toreference verified artifact ids (events, attestations, evidence, or external object ids known to the verifier). Trust-relevant types MUST carryevidence_reforattestation_ref(enforced inproof-graph). - Stored
Attestation - A stored attestation inside a Proof: content plus its COSE_Sign1 envelope.
Enums§
- Lifecycle
Status - Per-attestation lifecycle state, computed by verification stages TIME and
REVOCATION (ARCHITECTURE §4, stages 7–8). Authority: the pipeline only.
SUPERSEDEDkeeps evidence validity (historical record preserved); every other non-ACTIVEstate fails closed. - Meta
Value