{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/purecipher-com/json-schema/purecipher-com-detection-response-schema.json",
  "title": "DetectionResponse",
  "description": "Response model for steganography detection results.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/purecipher-com-openapi.json#/components/schemas/DetectionResponse",
  "properties": {
    "steganography_detected": {
      "type": "boolean",
      "title": "Steganography Detected",
      "description": "Indicates whether steganography was detected in the file."
    },
    "confidence": {
      "type": "number",
      "title": "Confidence",
      "description": "Confidence score of the detection (0.0 to 1.0)."
    },
    "detection_methods": {
      "type": "object",
      "title": "Detection Methods",
      "description": "Results from individual detection methods."
    },
    "file_type": {
      "type": "string",
      "title": "File Type",
      "description": "Detected file type."
    },
    "report": {
      "anyOf": [
        {
          "type": "string",
          "format": "binary"
        },
        {
          "type": "null"
        }
      ],
      "title": "Report",
      "description": "Generated report in the requested format"
    },
    "report_format": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Report Format",
      "description": "Format of the generated report (pdf, html, json)"
    }
  },
  "type": "object",
  "required": [
    "steganography_detected",
    "confidence",
    "detection_methods",
    "file_type"
  ]
}