A CouchDB document with system fields and user-defined fields
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-schema/apache-couchdb-document-schema.json", "title": "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 } } }