{
  "schema_version": "survblaze-ai-interaction-audit-v1",
  "exported_at": "2026-11-18T10:26:00Z",
  "case": {
    "origin_application": "SurvBlaze",
    "id": "fictional-case-001",
    "tenant_id": "fictional-tenant-001",
    "reference": "DEMO-ROOF-001",
    "survey_type": "Residential survey",
    "created_at": "2026-11-18T09:14:00Z",
    "updated_at": "2026-11-18T10:26:00Z"
  },
  "interaction_id": "fictional-interaction-001",
  "started_at": "2026-11-18T10:14:00Z",
  "completed_at": "2026-11-18T10:19:00Z",
  "event_count": 8,
  "events": [
    {
      "id": "sample-event-01",
      "request_correlation_id": "fictional-interaction-001",
      "action": "chat_message_sent",
      "action_label": "Message sent",
      "action_description": "Records the prompt you submitted in this case, before the safety checks and AI response.",
      "entity_type": "message",
      "metadata": {},
      "created_at": "2026-11-18T10:14:00Z"
    },
    {
      "id": "sample-event-02",
      "request_correlation_id": "fictional-interaction-001",
      "action": "input_sanitised",
      "action_label": "Input sanitised",
      "action_description": "Prepares your text for processing and replaces recognised personal details with placeholders. View JSON shows whether any redactions were made.",
      "entity_type": "request",
      "metadata": {
        "redactions": 1,
        "findings": [
          {
            "category": "ADDRESS",
            "action": "redacted",
            "replacement": "[ADDRESS_REDACTED]"
          }
        ]
      },
      "created_at": "2026-11-18T10:14:08Z"
    },
    {
      "id": "sample-event-03",
      "request_correlation_id": "fictional-interaction-001",
      "action": "ai_suitability_gate_checked",
      "action_label": "Suitability checked",
      "action_description": "Uses a separate AI check to assess your request in context, including professional risks. It decides whether to allow it, apply constraints, ask for clarification or block it.",
      "entity_type": "request",
      "metadata": {
        "decision": "allowed",
        "reason": "Wording support within the stated inspection limits."
      },
      "created_at": "2026-11-18T10:14:19Z"
    },
    {
      "id": "sample-event-04",
      "request_correlation_id": "fictional-interaction-001",
      "action": "ai_request_logged",
      "action_label": "AI request logged",
      "action_description": "Records the main AI call's provider, model, token usage and tracking references so the request can be traced.",
      "entity_type": "request",
      "metadata": {
        "provider": "OpenAI",
        "model": "example-model"
      },
      "created_at": "2026-11-18T10:14:24Z"
    },
    {
      "id": "sample-event-05",
      "request_correlation_id": "fictional-interaction-001",
      "action": "assistant_response_generated",
      "action_label": "Assistant response generated",
      "action_description": "Stores the AI response made available in your case conversation after output checking.",
      "entity_type": "message",
      "metadata": {},
      "created_at": "2026-11-18T10:14:41Z"
    },
    {
      "id": "sample-event-06",
      "request_correlation_id": "fictional-interaction-001",
      "action": "ai_output_guard_completed",
      "action_label": "Output guard completed",
      "action_description": "Checks the generated response for recognised sensitive information, risky wording and professional-boundary issues before it is shown. View JSON records the result.",
      "entity_type": "response_check",
      "metadata": {
        "decision": "allowed"
      },
      "created_at": "2026-11-18T10:14:46Z"
    },
    {
      "id": "sample-event-07",
      "request_correlation_id": "fictional-interaction-001",
      "action": "assistant_response_edited",
      "action_label": "Response edited by surveyor",
      "action_description": "Saves a new surveyor-edited version while preserving the original AI response. This records an edit, not verification of every statement.",
      "entity_type": "response_version",
      "metadata": {},
      "created_at": "2026-11-18T10:17:00Z"
    },
    {
      "id": "sample-event-08",
      "request_correlation_id": "fictional-interaction-001",
      "action": "assistant_response_accepted",
      "action_label": "Response accepted as final",
      "action_description": "Records the surveyor's explicit acceptance of a saved response version as final.",
      "entity_type": "response_version",
      "metadata": {},
      "created_at": "2026-11-18T10:19:00Z"
    }
  ]
}
