{
  "schema_version": 1,
  "scope": "Entirely fictional, local evidence replay. Not captured provider logs.",
  "provider_semantics": "Proposed adapter fields; names inspired by documented provider events, not actual Resend JSON.",
  "messages": [
    {
      "id": "M1",
      "business_action_id": "BA1",
      "provider": "example-mail",
      "provider_message_id": "PM1",
      "idempotency_key": "notification/BA1",
      "payload_identity": "fictional-notification-BA1",
      "app_queued_at": "2026-11-04T10:00:00Z"
    },
    {
      "id": "M2",
      "business_action_id": "BA2",
      "provider": "example-mail",
      "provider_message_id": "PM2",
      "idempotency_key": "notification/BA2",
      "payload_identity": "fictional-notification-BA2",
      "app_queued_at": "2026-11-04T10:00:00Z"
    },
    {
      "id": "M3",
      "business_action_id": "BA3",
      "provider": "example-mail",
      "provider_message_id": "PM3",
      "idempotency_key": "notification/BA3",
      "payload_identity": "fictional-notification-BA3",
      "app_queued_at": "2026-11-04T10:00:00Z"
    },
    {
      "id": "M4",
      "business_action_id": "BA4",
      "provider": "example-mail",
      "provider_message_id": "PM4",
      "idempotency_key": "notification/BA4",
      "payload_identity": "fictional-notification-BA4",
      "app_queued_at": "2026-11-04T10:00:00Z"
    }
  ],
  "attempts": [
    {
      "id": "A1",
      "message_id": "M1",
      "at": "2026-11-04T10:00:05Z",
      "result": "accepted",
      "provider_message_id": "PM1",
      "idempotency_key": "notification/BA1",
      "payload_identity": "fictional-notification-BA1"
    },
    {
      "id": "A2",
      "message_id": "M2",
      "at": "2026-11-04T10:00:05Z",
      "result": "accepted",
      "provider_message_id": "PM2",
      "idempotency_key": "notification/BA2",
      "payload_identity": "fictional-notification-BA2"
    },
    {
      "id": "A3",
      "message_id": "M3",
      "at": "2026-11-04T10:00:05Z",
      "result": "accepted",
      "provider_message_id": "PM3",
      "idempotency_key": "notification/BA3",
      "payload_identity": "fictional-notification-BA3"
    },
    {
      "id": "A4a",
      "message_id": "M4",
      "at": "2026-11-04T10:00:05Z",
      "result": "timeout",
      "provider_message_id": null,
      "idempotency_key": "notification/BA4",
      "payload_identity": "fictional-notification-BA4"
    },
    {
      "id": "A4b",
      "message_id": "M4",
      "at": "2026-11-04T10:00:20Z",
      "result": "accepted",
      "provider_message_id": "PM4",
      "idempotency_key": "notification/BA4",
      "payload_identity": "fictional-notification-BA4"
    }
  ],
  "scenarios": [
    {
      "id": "main",
      "label": "Main journal",
      "default_step": 4,
      "receipts": [
        {
          "receipt_id": "R1",
          "event": {
            "provider": "example-mail",
            "event_id": "E1",
            "message_id": "PM1",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:01:01Z"
        },
        {
          "receipt_id": "R2",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:02:01Z"
        },
        {
          "receipt_id": "R3",
          "event": {
            "provider": "example-mail",
            "event_id": "E3",
            "message_id": "PM2",
            "type": "bounced",
            "event_at": "2026-11-04T10:02:20Z"
          },
          "received_at": "2026-11-04T10:02:21Z"
        },
        {
          "receipt_id": "R4",
          "event": {
            "provider": "example-mail",
            "event_id": "E4",
            "message_id": "PM3",
            "type": "delivery_delayed",
            "event_at": "2026-11-04T10:03:00Z"
          },
          "received_at": "2026-11-04T10:03:01Z"
        },
        {
          "receipt_id": "R5",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:04:00Z"
        },
        {
          "receipt_id": "R6",
          "event": {
            "provider": "example-mail",
            "event_id": "E5",
            "message_id": "PM3",
            "type": "delivered",
            "event_at": "2026-11-04T10:08:00Z"
          },
          "received_at": "2026-11-04T10:09:00Z"
        },
        {
          "receipt_id": "R7",
          "event": {
            "provider": "example-mail",
            "event_id": "E6",
            "message_id": "PM3",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:10:00Z"
        },
        {
          "receipt_id": "R8",
          "event": {
            "provider": "example-mail",
            "event_id": "E7",
            "message_id": "PM1",
            "type": "opened",
            "event_at": "2026-11-04T10:04:00Z"
          },
          "received_at": "2026-11-04T10:11:00Z"
        }
      ]
    },
    {
      "id": "conflict",
      "label": "Conflicting outcome",
      "default_step": 9,
      "receipts": [
        {
          "receipt_id": "R1",
          "event": {
            "provider": "example-mail",
            "event_id": "E1",
            "message_id": "PM1",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:01:01Z"
        },
        {
          "receipt_id": "R2",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:02:01Z"
        },
        {
          "receipt_id": "R3",
          "event": {
            "provider": "example-mail",
            "event_id": "E3",
            "message_id": "PM2",
            "type": "bounced",
            "event_at": "2026-11-04T10:02:20Z"
          },
          "received_at": "2026-11-04T10:02:21Z"
        },
        {
          "receipt_id": "R4",
          "event": {
            "provider": "example-mail",
            "event_id": "E4",
            "message_id": "PM3",
            "type": "delivery_delayed",
            "event_at": "2026-11-04T10:03:00Z"
          },
          "received_at": "2026-11-04T10:03:01Z"
        },
        {
          "receipt_id": "R5",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:04:00Z"
        },
        {
          "receipt_id": "R6",
          "event": {
            "provider": "example-mail",
            "event_id": "E5",
            "message_id": "PM3",
            "type": "delivered",
            "event_at": "2026-11-04T10:08:00Z"
          },
          "received_at": "2026-11-04T10:09:00Z"
        },
        {
          "receipt_id": "R7",
          "event": {
            "provider": "example-mail",
            "event_id": "E6",
            "message_id": "PM3",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:10:00Z"
        },
        {
          "receipt_id": "R8",
          "event": {
            "provider": "example-mail",
            "event_id": "E7",
            "message_id": "PM1",
            "type": "opened",
            "event_at": "2026-11-04T10:04:00Z"
          },
          "received_at": "2026-11-04T10:11:00Z"
        },
        {
          "receipt_id": "R9",
          "event": {
            "provider": "example-mail",
            "event_id": "E8",
            "message_id": "PM1",
            "type": "bounced",
            "event_at": "2026-11-04T10:12:00Z"
          },
          "received_at": "2026-11-04T10:13:00Z"
        }
      ]
    },
    {
      "id": "missing_time",
      "label": "Missing event time",
      "default_step": 9,
      "receipts": [
        {
          "receipt_id": "R1",
          "event": {
            "provider": "example-mail",
            "event_id": "E1",
            "message_id": "PM1",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:01:01Z"
        },
        {
          "receipt_id": "R2",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:02:01Z"
        },
        {
          "receipt_id": "R3",
          "event": {
            "provider": "example-mail",
            "event_id": "E3",
            "message_id": "PM2",
            "type": "bounced",
            "event_at": "2026-11-04T10:02:20Z"
          },
          "received_at": "2026-11-04T10:02:21Z"
        },
        {
          "receipt_id": "R4",
          "event": {
            "provider": "example-mail",
            "event_id": "E4",
            "message_id": "PM3",
            "type": "delivery_delayed",
            "event_at": "2026-11-04T10:03:00Z"
          },
          "received_at": "2026-11-04T10:03:01Z"
        },
        {
          "receipt_id": "R5",
          "event": {
            "provider": "example-mail",
            "event_id": "E2",
            "message_id": "PM1",
            "type": "delivered",
            "event_at": "2026-11-04T10:02:00Z"
          },
          "received_at": "2026-11-04T10:04:00Z"
        },
        {
          "receipt_id": "R6",
          "event": {
            "provider": "example-mail",
            "event_id": "E5",
            "message_id": "PM3",
            "type": "delivered",
            "event_at": "2026-11-04T10:08:00Z"
          },
          "received_at": "2026-11-04T10:09:00Z"
        },
        {
          "receipt_id": "R7",
          "event": {
            "provider": "example-mail",
            "event_id": "E6",
            "message_id": "PM3",
            "type": "sent",
            "event_at": "2026-11-04T10:01:00Z"
          },
          "received_at": "2026-11-04T10:10:00Z"
        },
        {
          "receipt_id": "R8",
          "event": {
            "provider": "example-mail",
            "event_id": "E7",
            "message_id": "PM1",
            "type": "opened",
            "event_at": "2026-11-04T10:04:00Z"
          },
          "received_at": "2026-11-04T10:11:00Z"
        },
        {
          "receipt_id": "R9",
          "event": {
            "provider": "example-mail",
            "event_id": "E9",
            "message_id": "PM4",
            "type": "sent",
            "event_at": null
          },
          "received_at": "2026-11-04T10:13:00Z"
        }
      ]
    }
  ]
}
