{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "The value returned by POST /{db}/_bulk_docs",
    "items": {
        "oneOf": [
            {
                "properties": {
                    "error": {
                        "type": "string"
                    },
                    "reason": {
                        "type": "string"
                    }
                },
                "required": [
                    "error",
                    "reason"
                ]
            },
            {
                "properties": {
                    "ok": {
                        "type": "boolean"
                    },
                    "rev": {
                        "type": "string"
                    }
                },
                "required": [
                    "ok"
                ]
            }
        ],
        "type": "object"
    },
    "title": "CouchDB _bulk_docs",
    "type": "array"
}