{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snap-render-com/json-schema/snap-render-com-schedule-capture-schema.json",
  "title": "ScheduleCapture",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snap-render-com-openapi.json#/components/schemas/ScheduleCapture",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "completed",
        "failed"
      ]
    },
    "capturedAt": {
      "type": "string",
      "format": "date-time"
    },
    "diffPercent": {
      "type": [
        "number",
        "null"
      ],
      "description": "Share of the page that changed since the previous capture, in percent. Null for the first capture."
    },
    "changed": {
      "type": "boolean"
    },
    "sha256": {
      "type": [
        "string",
        "null"
      ]
    },
    "bytes": {
      "type": [
        "integer",
        "null"
      ]
    },
    "width": {
      "type": [
        "integer",
        "null"
      ]
    },
    "height": {
      "type": [
        "integer",
        "null"
      ]
    },
    "renderMs": {
      "type": [
        "integer",
        "null"
      ]
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "downloadUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Valid for one hour."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the capture is deleted under the plan's retention."
    }
  }
}