{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/writerslogic-com/json-schema/writerslogic-com-evidence-summary-response-schema.json",
  "title": "EvidenceSummaryResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-writerslogic-openapi.json#/components/schemas/EvidenceSummaryResponse",
  "type": "object",
  "properties": {
    "session": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "platform": {
          "type": "string"
        },
        "document_id": {
          "type": "string"
        },
        "document_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_hash": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "started_at": {
          "type": "string",
          "format": "date-time"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "evidence_score": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "metrics": {
      "type": "object",
      "properties": {
        "event_count": {
          "type": "integer"
        },
        "checkpoint_count": {
          "type": "integer"
        },
        "duration_seconds": {
          "type": "integer"
        },
        "events_per_minute": {
          "type": "number"
        }
      }
    },
    "checkpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "sequence": {
            "type": "integer"
          },
          "content_hash": {
            "type": "string"
          },
          "checkpoint_hash": {
            "type": "string"
          },
          "prev_checkpoint_hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  }
}