{
  "claim": "https://atep.dev/claims/audited",
  "name": "audited",
  "core": true,
  "status": "core",
  "profile": "core",
  "definition": "Subject passed the named audit on the given date; evidence hash required.",
  "data-schema": "audited-data = { ? audit: tstr, ? date: tstr, * tstr => any }   ; recommended layout, not enforced\n; the attestation MUST carry evidence: bstr .size 32",
  "title": "Audited",
  "description": [
    "The evidence field (SHA-256 of the audit report) is REQUIRED; every consumer rejects an audited attestation without it as attestation_schema_invalid. Because it carries evidence it is audit-backed and may live up to 400 days."
  ],
  "issued-by": "Auditor",
  "subject": "Agent ID that passed the audit",
  "data-schema-format": "cddl",
  "attestation-schema": "attestation = {\n  subject: agent-id,\n  issuer: agent-id,                      ; MUST equal the envelope signer\n  claim: uri,\n  data: { * tstr => any },\n  ? evidence: bstr .size 32,\n  ? evidence-uri: uri,\n  id: bstr .size 16,\n}\nagent-id = bstr .size 32\nuri = tstr",
  "data-checked-by": "Evidence presence by every consumer; the data map is not checked.",
  "evidence": "required",
  "lifetime": "up to 400 days (audit-backed)",
  "spec": [
    "Specification section 7 (Evidence requirement, lifetimes)"
  ],
  "example-data": {
    "audit": "SOC 2 Type II",
    "date": "2026-09-01"
  },
  "links": {
    "self": "/claims/audited",
    "html": "/claims/audited.html",
    "json": "/claims/audited.json",
    "directory": "/claims/"
  }
}
