Check Evidence Freshness
is_evidence_freshChecks whether typed attestation evidence remains fresh by evaluating rotating TTLs, optional snapshot max age, and always-fresh static evidence.
Instructions
Check whether typed attestation evidence is still fresh. Rotating evidence requires a ttl, snapshot evidence takes an optional maxAge, and static evidence is always fresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ISO 8601 override for current time | |
| ttl | No | Seconds (required for rotating) | |
| type | Yes | ||
| max_age | No | Seconds (optional for snapshot) | |
| valid_at | Yes | ISO 8601 timestamp evidence was produced |