{
  "kind": "case-investigation-package",
  "integrity": {
    "payloadSha256": "f06e437f96dc91913def912e32774be42e784f79a33e9b2f25991f481e545a13",
    "signatureAlgorithm": "hmac-sha256",
    "signature": "22a148bf250152de69a0a3a326d26d4642321142f81837176d8123d19591640a",
    "signedAt": "2026-06-10T22:23:48.974Z"
  },
  "payload": {
    "generatedAt": "2026-06-10T22:23:48.974Z",
    "tenantId": "bcrg",
    "caseRecord": {
      "id": "77777777-7777-4777-8777-000000000004",
      "tenantId": "bcrg",
      "workflowTaskId": "44444444-4444-4444-8444-000000000010",
      "caseType": "document-remediation",
      "subjectType": "organization",
      "subjectId": "22222222-2222-4222-8222-000000000004",
      "title": "Pièces manquantes — Bangoura Agro",
      "reason": "Certificat d'immatriculation et attestation fiscale manquants (Route de Kindia, Manquepas, Kindia). Capital prévu 75 000 000 GNF.",
      "status": "open",
      "priority": "p1",
      "queueKey": "overdue-escalation",
      "slaDueAt": "2026-06-10T06:54:15.315Z",
      "escalationLevel": 1,
      "lastEscalatedAt": "2026-06-10T06:54:31.161Z",
      "createdAt": "2026-06-07T06:54:15.315Z",
      "updatedAt": "2026-06-10T06:54:31.161Z"
    },
    "workflowTask": {
      "id": "44444444-4444-4444-8444-000000000010",
      "tenantId": "bcrg",
      "workflowType": "kyb",
      "subjectType": "organization",
      "subjectId": "22222222-2222-4222-8222-000000000004",
      "state": "draft",
      "riskFlags": [],
      "missingDocumentTypes": [
        "registration-certificate",
        "tax-certificate"
      ],
      "notes": "Dossier ouvert — Route de Kindia, Manquepas. Capital prévu 75 000 000 GNF.",
      "lastEvaluatedAt": "2026-06-07T06:54:15.315Z",
      "createdAt": "2026-06-07T06:54:15.315Z",
      "updatedAt": "2026-06-07T06:54:15.315Z"
    },
    "subject": {
      "id": "22222222-2222-4222-8222-000000000004",
      "tenantId": "bcrg",
      "legalName": "Bangoura Agro SARL",
      "registrationNumber": "RCCM/GN/KNDA/2026/B/0004",
      "taxId": "NIF-GN-700004",
      "sector": "agro-industrie",
      "riskLevel": "medium",
      "status": "draft",
      "createdAt": "2026-06-07T06:54:15.315Z"
    },
    "subjectRelationships": [],
    "relatedCases": [
      {
        "id": "77777777-7777-4777-8777-000000000004",
        "tenantId": "bcrg",
        "workflowTaskId": "44444444-4444-4444-8444-000000000010",
        "caseType": "document-remediation",
        "subjectType": "organization",
        "subjectId": "22222222-2222-4222-8222-000000000004",
        "title": "Pièces manquantes — Bangoura Agro",
        "reason": "Certificat d'immatriculation et attestation fiscale manquants (Route de Kindia, Manquepas, Kindia). Capital prévu 75 000 000 GNF.",
        "status": "open",
        "priority": "p1",
        "queueKey": "overdue-escalation",
        "slaDueAt": "2026-06-10T06:54:15.315Z",
        "escalationLevel": 1,
        "lastEscalatedAt": "2026-06-10T06:54:31.161Z",
        "createdAt": "2026-06-07T06:54:15.315Z",
        "updatedAt": "2026-06-10T06:54:31.161Z"
      }
    ],
    "documents": [],
    "caseAuditTrail": [
      {
        "id": "00791c44-3b16-499f-88fc-00fcac81c54d",
        "tenantId": "bcrg",
        "eventType": "event.case.escalated",
        "entityType": "case",
        "entityId": "77777777-7777-4777-8777-000000000004",
        "subjectType": "organization",
        "subjectId": "22222222-2222-4222-8222-000000000004",
        "actor": {
          "type": "system",
          "label": "sla-automation"
        },
        "payload": {
          "status": "open",
          "caseType": "document-remediation",
          "priority": "p1",
          "queueKey": "overdue-escalation",
          "overdueHours": 0,
          "notificationId": "7b8027cc-2898-4824-b837-38ef75c768d2",
          "workflowTaskId": "44444444-4444-4444-8444-000000000010",
          "escalationLevel": 1,
          "lastEscalatedAt": "2026-06-10T06:54:31.161Z",
          "previousPriority": "p2",
          "previousQueueKey": "kyb-ops"
        },
        "payloadHash": "2c8a06886411e7d5e8f814db5d0a9a71501e1075672118599d2ba0030b545bbf",
        "previousHash": "1784c8e83ed4d43d826d7012b49f51d1b469d75946f9edbefd32ab1c9b830c8f",
        "eventHash": "542ff738a7343357b550d76abfc60d4675f22aeef2d1de3a644119a1f1ba38fd",
        "createdAt": "2026-06-10T06:54:31.168Z"
      }
    ],
    "subjectAuditExcerpt": {
      "filters": {
        "subjectType": "organization",
        "subjectId": "22222222-2222-4222-8222-000000000004"
      },
      "limitApplied": 200,
      "events": [
        {
          "id": "00791c44-3b16-499f-88fc-00fcac81c54d",
          "tenantId": "bcrg",
          "eventType": "event.case.escalated",
          "entityType": "case",
          "entityId": "77777777-7777-4777-8777-000000000004",
          "subjectType": "organization",
          "subjectId": "22222222-2222-4222-8222-000000000004",
          "actor": {
            "type": "system",
            "label": "sla-automation"
          },
          "payload": {
            "status": "open",
            "caseType": "document-remediation",
            "priority": "p1",
            "queueKey": "overdue-escalation",
            "overdueHours": 0,
            "notificationId": "7b8027cc-2898-4824-b837-38ef75c768d2",
            "workflowTaskId": "44444444-4444-4444-8444-000000000010",
            "escalationLevel": 1,
            "lastEscalatedAt": "2026-06-10T06:54:31.161Z",
            "previousPriority": "p2",
            "previousQueueKey": "kyb-ops"
          },
          "payloadHash": "2c8a06886411e7d5e8f814db5d0a9a71501e1075672118599d2ba0030b545bbf",
          "previousHash": "1784c8e83ed4d43d826d7012b49f51d1b469d75946f9edbefd32ab1c9b830c8f",
          "eventHash": "542ff738a7343357b550d76abfc60d4675f22aeef2d1de3a644119a1f1ba38fd",
          "createdAt": "2026-06-10T06:54:31.168Z"
        }
      ]
    }
  }
}