{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-document-write-response-schema.json",
  "title": "DocumentWriteResponse",
  "description": "Response from a document write operation",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/couchbase-local-documents-api-openapi.yml#/components/schemas/DocumentWriteResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Document ID"
    },
    "rev": {
      "type": "string",
      "description": "New revision ID"
    },
    "ok": {
      "type": "boolean",
      "description": "Whether the operation succeeded"
    }
  }
}