{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/purecipher-com/json-schema/purecipher-com-compare-response-schema.json",
  "title": "CompareResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/purecipher-com-openapi.json#/components/schemas/CompareResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success",
      "description": "Indicates whether the hash comparison was successful."
    },
    "match": {
      "type": "boolean",
      "title": "Match",
      "description": "True if the original and extracted files have matching hashes."
    },
    "original_hash": {
      "type": "string",
      "title": "Original Hash",
      "description": "The SHA-256 hash of the original file."
    },
    "extracted_hash": {
      "type": "string",
      "title": "Extracted Hash",
      "description": "The SHA-256 hash of the extracted file."
    },
    "error": {
      "type": "string",
      "title": "Error",
      "description": "An optional field that contains error details if the comparison fails."
    }
  },
  "type": "object",
  "required": [
    "success"
  ]
}