{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/confighub/json-schema/confighub-entity-document-edit-schema.json",
  "title": "EntityDocumentEdit",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/confighub-component-api-openapi.yml#/components/schemas/EntityDocumentEdit",
  "required": [
    "Base",
    "Document",
    "Version"
  ],
  "type": "object",
  "properties": {
    "Base": {
      "type": "string",
      "description": "The document as it was read.",
      "x-go-type-skip-optional-pointer": true
    },
    "Document": {
      "type": "string",
      "description": "The document as it was edited.",
      "x-go-type-skip-optional-pointer": true
    },
    "Version": {
      "type": "integer",
      "description": "The Version that came with the document read. The edit is refused if the entity's Version has changed since.",
      "format": "int64",
      "x-go-type-skip-optional-pointer": true
    }
  }
}