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