Input for creating or updating a CouchDB document
{ "$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-input-schema.json", "title": "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" } } }