{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nittim-com/json-schema/nittim-com-scan-result-schema.json",
  "title": "ScanResult",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nittim-com-openapi.json#/components/schemas/ScanResult",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "persisted": {
      "type": "boolean",
      "description": "Whether the scan was saved. share_url is present only when this is true — a save can fail (e.g. a transient storage error); treat report as the durable result and share_url as best-effort."
    },
    "share_url": {
      "type": "string",
      "format": "uri",
      "description": "Present only when persisted is true."
    },
    "report": {
      "type": "object",
      "description": "A FreeReport — deterministic evidence only. Never carries a verdict or a score field.",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "free"
          ]
        },
        "signal": {
          "type": "string",
          "enum": [
            "hard_evidence",
            "no_deterministic_findings"
          ]
        },
        "hardEvidenceCount": {
          "type": "integer"
        },
        "framing": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}