{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/htmlradar-com/json-schema/htmlradar-com-post-api-v1-documents-id-replace-request-schema.json",
  "title": "PostApiV1DocumentsIdReplaceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/htmlradar-com-openapi-generated.yml#/components/schemas/PostApiV1DocumentsIdReplaceRequest",
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "Whole page HTML."
    },
    "edits": {
      "type": "array",
      "description": "List of find/replace pairs."
    },
    "expected_version": {
      "type": "integer",
      "description": "Current version from GET /documents."
    },
    "request_id": {
      "type": "string",
      "description": "Idempotency token."
    }
  }
}