{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snapshot-site-com/json-schema/snapshot-site-com-post-api-v3-compare-response-schema.json",
  "title": "PostApiV3CompareResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/snapshot-site-com-openapi-generated.yml#/components/schemas/PostApiV3CompareResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Result status"
    },
    "message": {
      "type": "string",
      "description": "Human‑readable message"
    },
    "fetchTime": {
      "type": "string",
      "description": "ISO‑8601 timestamp of the operation"
    },
    "before": {
      "type": "object",
      "description": "Info about the before image"
    },
    "before.link": {
      "type": "string",
      "description": "URL to the before screenshot"
    },
    "before.width": {
      "type": "integer",
      "description": "Width of the before image"
    },
    "before.height": {
      "type": "integer",
      "description": "Height of the before image"
    },
    "before.source": {
      "type": "string",
      "description": "Original source URL for the before image"
    },
    "after": {
      "type": "object",
      "description": "Info about the after image"
    },
    "after.link": {
      "type": "string",
      "description": "URL to the after screenshot"
    },
    "after.width": {
      "type": "integer",
      "description": "Width of the after image"
    },
    "after.height": {
      "type": "integer",
      "description": "Height of the after image"
    },
    "after.source": {
      "type": "string",
      "description": "Original source URL for the after image"
    },
    "diff": {
      "type": "object",
      "description": "Info about the diff image"
    },
    "diff.link": {
      "type": "string",
      "description": "URL to the diff screenshot"
    },
    "diff.width": {
      "type": "integer",
      "description": "Width of the diff image"
    },
    "diff.height": {
      "type": "integer",
      "description": "Height of the diff image"
    },
    "summary": {
      "type": "object",
      "description": "Mismatch metrics"
    },
    "summary.mismatchPixels": {
      "type": "integer",
      "description": "Number of pixels that differ"
    },
    "summary.mismatchPercentage": {
      "type": "number",
      "description": "Percentage of mismatched pixels"
    },
    "summary.totalPixels": {
      "type": "integer",
      "description": "Total pixel count compared"
    },
    "summary.sameDimensions": {
      "type": "boolean",
      "description": "Whether the two images share dimensions"
    }
  }
}