{
  "$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-request-schema.json",
  "title": "PostApiV3CompareRequest",
  "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/PostApiV3CompareRequest",
  "type": "object",
  "properties": {
    "before": {
      "type": "object",
      "description": "Source for the before state"
    },
    "before.url": {
      "type": "string",
      "description": "URL of the page to capture for the before state"
    },
    "before.width": {
      "type": "integer",
      "description": "Viewport width for the before capture"
    },
    "before.fullSize": {
      "type": "boolean",
      "description": "Whether to capture full page for the before state"
    },
    "before.hideCookie": {
      "type": "boolean",
      "description": "Whether to hide cookie banner for the before state"
    },
    "after": {
      "type": "object",
      "description": "Source for the after state"
    },
    "after.url": {
      "type": "string",
      "description": "URL of the page to capture for the after state"
    },
    "after.width": {
      "type": "integer",
      "description": "Viewport width for the after capture"
    },
    "after.fullSize": {
      "type": "boolean",
      "description": "Whether to capture full page for the after state"
    },
    "after.hideCookie": {
      "type": "boolean",
      "description": "Whether to hide cookie banner for the after state"
    },
    "threshold": {
      "type": "number",
      "description": "Mismatch threshold for triage"
    }
  },
  "required": [
    "before",
    "before.url",
    "before.width",
    "before.fullSize",
    "before.hideCookie",
    "after",
    "after.url",
    "after.width",
    "after.fullSize",
    "after.hideCookie"
  ]
}