Apache CouchDB · JSON Structure

Apache Couchdb Document Input Structure

Input for creating or updating a CouchDB document

Type: object Properties: 2
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

DocumentInput is a JSON Structure definition published by Apache CouchDB, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

_id _rev

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-structure/apache-couchdb-document-input-structure.json",
  "name": "DocumentInput",
  "description": "Input for creating or updating a CouchDB document",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Optional document ID (auto-generated if omitted for POST)",
      "example": "doc001"
    },
    "_rev": {
      "type": "string",
      "description": "Required for updates \u2014 current revision ID",
      "example": "1-abc123def456"
    }
  }
}