{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "operationId": "diff.capture",
  "schemas": {
    "input": {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string",
          "enum": [
            "sd-diff-snapshot/v1",
            "sd-diff-snapshot/v2"
          ]
        },
        "engine": {
          "type": "string",
          "enum": [
            "superdoc-v2"
          ]
        },
        "fingerprint": {
          "type": "string"
        },
        "coverage": {
          "type": "object",
          "properties": {
            "body": {
              "type": "boolean",
              "const": true
            },
            "comments": {
              "type": "boolean"
            },
            "styles": {
              "type": "boolean"
            },
            "numbering": {
              "type": "boolean"
            },
            "headerFooters": {
              "type": "boolean"
            }
          },
          "additionalProperties": false,
          "required": [
            "body",
            "comments",
            "styles",
            "numbering",
            "headerFooters"
          ]
        },
        "payload": {
          "type": "object",
          "description": "Opaque engine-owned snapshot data."
        }
      },
      "additionalProperties": false,
      "required": [
        "version",
        "engine",
        "fingerprint",
        "coverage",
        "payload"
      ]
    }
  }
}
