Apache CouchDB · JSON Structure

Apache Couchdb Document Structure

A CouchDB document with system fields and user-defined fields

Type: object Properties: 3
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

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

Properties

_id _rev _deleted

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-structure.json",
  "name": "Document",
  "description": "A CouchDB document with system fields and user-defined fields",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Document ID",
      "example": "doc001"
    },
    "_rev": {
      "type": "string",
      "description": "Current revision ID (major-hash format)",
      "example": "1-abc123def456"
    },
    "_deleted": {
      "type": "boolean",
      "description": "Present and true for deleted (tombstone) documents",
      "example": false
    }
  }
}