{
  "packVersion": 5,
  "generatedAt": "2026-11-21T10:30:00.000Z",
  "generatedBy": "Sample export (made-up data, not a customer)",
  "organisation": {
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Sample organisation (made-up data)"
  },
  "subject": {
    "kind": "flow",
    "id": "00000000-0000-4000-8000-0000000000f1",
    "title": "Refund claim CLM-0000 for €1,250 (sample)",
    "url": "https://deliverd.dev/samples/evidence-pack.json",
    "status": "completed",
    "startedBy": "Sample refunds agent",
    "startedAt": "2026-11-20T09:00:00.000Z"
  },
  "summary": {
    "steps": 1,
    "events": 6,
    "firstEventAt": "2026-11-20T09:00:00.000Z",
    "lastEventAt": "2026-11-20T09:20:00.000Z"
  },
  "steps": [
    {
      "kind": "approval",
      "id": "00000000-0000-4000-8000-0000000000b1",
      "title": "Refund €1,250 to the policyholder on claim CLM-0000",
      "status": "approved",
      "url": "https://deliverd.dev/samples/evidence-pack.json",
      "createdAt": "2026-11-20T09:01:00.000Z",
      "settledAt": "2026-11-20T09:14:00.000Z",
      "requestedBy": "Sample refunds agent",
      "requestedByAgent": true,
      "declared": {
        "agent": {
          "name": "Sample refunds agent",
          "provider": "Sample provider",
          "externalId": "sample-agent-1"
        },
        "model": "sample-model"
      },
      "asked": [
        "Sample finance approver"
      ],
      "outcomes": [
        {
          "who": "Sample finance approver",
          "said": "approved",
          "note": "Receipt matches the claim and the policy covers it.",
          "at": "2026-11-20T09:14:00.000Z"
        }
      ],
      "detail": {
        "risk": "medium",
        "amount": {
          "value": 1250,
          "currency": "EUR"
        },
        "reason": "Refunds over €500 need a finance approver (rule refunds-over-500)."
      }
    }
  ],
  "timeline": [
    {
      "at": "2026-11-20T09:00:00.000Z",
      "event": "flow.started",
      "actor": "Sample refunds agent",
      "actorType": "agent",
      "step": null,
      "metadata": {}
    },
    {
      "at": "2026-11-20T09:00:30.000Z",
      "event": "gate.created",
      "actor": "Sample refunds agent",
      "actorType": "agent",
      "step": null,
      "metadata": {
        "gateId": "00000000-0000-4000-8000-0000000000a1",
        "action": "refund.issue",
        "decision": "requires_approval",
        "rule": "refunds-over-500"
      }
    },
    {
      "at": "2026-11-20T09:01:00.000Z",
      "event": "approval.requested",
      "actor": "Sample refunds agent",
      "actorType": "agent",
      "step": "00000000-0000-4000-8000-0000000000b1",
      "metadata": {
        "approvers": [
          "Sample finance approver"
        ]
      }
    },
    {
      "at": "2026-11-20T09:14:00.000Z",
      "event": "approval.approved",
      "actor": "Sample finance approver",
      "actorType": "user",
      "step": "00000000-0000-4000-8000-0000000000b1",
      "metadata": {
        "via": "email"
      }
    },
    {
      "at": "2026-11-20T09:15:00.000Z",
      "event": "gate.executed",
      "actor": "Sample refunds agent",
      "actorType": "agent",
      "step": null,
      "metadata": {
        "gateId": "00000000-0000-4000-8000-0000000000a1",
        "receipt": "sample-receipt-0001"
      }
    },
    {
      "at": "2026-11-20T09:20:00.000Z",
      "event": "flow.completed",
      "actor": "Sample refunds agent",
      "actorType": "agent",
      "step": null,
      "metadata": {}
    }
  ],
  "holds": [],
  "governance": null,
  "subflows": [],
  "tasks": [
    {
      "id": "00000000-0000-4000-8000-0000000000c1",
      "rootTaskId": "00000000-0000-4000-8000-0000000000c1",
      "parentTaskId": null,
      "kind": "objective",
      "depth": 0,
      "status": "completed",
      "title": "Settle claim CLM-0000 (sample)",
      "objective": "Check the claim against the policy and refund what is covered.",
      "outcome": "Refunded €1,250 after a finance approver said yes.",
      "resultSummary": null,
      "url": "https://deliverd.dev/samples/evidence-pack.json",
      "startedBy": "Sample claims lead",
      "startedAt": "2026-11-20T08:55:00.000Z",
      "completedAt": "2026-11-20T09:20:00.000Z"
    }
  ],
  "findings": [
    {
      "id": "00000000-0000-4000-8000-0000000000d1",
      "taskId": "00000000-0000-4000-8000-0000000000c1",
      "kind": "decision",
      "title": "The policy covers accidental damage to the item claimed",
      "body": "Section 4.2 of the sample policy wording covers it; the excess has been deducted.",
      "evidence": [
        "Sample policy wording, section 4.2"
      ],
      "decisionStatus": "confirmed",
      "decidedBy": "Sample claims lead",
      "decidedAt": "2026-11-20T09:05:00.000Z",
      "approvalId": null,
      "recordedBy": "Sample refunds agent",
      "recordedAt": "2026-11-20T09:03:00.000Z"
    }
  ],
  "gates": [
    {
      "id": "00000000-0000-4000-8000-0000000000a1",
      "action": "refund.issue",
      "decision": "requires_approval",
      "outcome": "executed",
      "reason": "Refunds over €500 need a finance approver.",
      "description": "Refund €1,250 on claim CLM-0000",
      "approvalId": "00000000-0000-4000-8000-0000000000b1",
      "requestedBy": "Sample refunds agent",
      "requestedAt": "2026-11-20T09:00:30.000Z",
      "settledAt": "2026-11-20T09:15:00.000Z"
    }
  ],
  "taskGovernance": [
    {
      "taskId": "00000000-0000-4000-8000-0000000000c1",
      "risk": "medium",
      "purpose": "Settle low-value insurance claims with a person approving every refund over €500.",
      "aiSystemId": "00000000-0000-4000-8000-0000000000e1",
      "controls": {
        "total": 2,
        "required": 2,
        "satisfied": 2,
        "waived": 0,
        "open": 0
      },
      "control": [
        {
          "key": "human-oversight",
          "required": true,
          "status": "satisfied",
          "satisfiedBy": "00000000-0000-4000-8000-0000000000b1",
          "decidedBy": "Sample finance approver",
          "decidedAt": "2026-11-20T09:14:00.000Z"
        },
        {
          "key": "owner-assigned",
          "required": true,
          "status": "satisfied",
          "satisfiedBy": null,
          "decidedBy": "Sample claims lead",
          "decidedAt": "2026-11-20T08:55:00.000Z"
        }
      ],
      "evidence": []
    }
  ],
  "withheld": [],
  "integrity": {
    "algorithm": "sha256",
    "covers": "This digest is taken over the pack as it was exported. A pack whose digest recomputes to the value below, and whose signature checks out against the published key, has not been altered since it left Deliverd.",
    "doesNotCover": "It says nothing about the records themselves. What stands behind those is that the audit table rejects updates and deletions at the database level, and that each organisation's entries are hash-chained, so an entry edited or removed afterwards is detected when the chain is checked — tamper-evident history, not cryptographic immutability.",
    "recordsAreInsertOnly": true,
    "chainHead": null,
    "digest": "89705a0b99d3335735eb05c47a17cd08be9bc63d6afec3e419f43d34dd23b523",
    "signature": {
      "status": "unsigned",
      "reason": "This is a sample built from made-up data, so it is deliberately not signed with Deliverd's key. Packs exported from a real organisation are signed. The digest still recomputes: change any line of this file and the check says so."
    }
  }
}
