Schema: error

Schema Definition

{
    "$schema": "http:\/\/json-schema.org\/schema#",
    "type": "object",
    "properties": {
        "status": {
            "enum": [
                "failure"
            ],
            "type": "string",
            "description": "The Status string, always \"failure\" for error type codes"
        },
        "detail": {
            "type": "string",
            "description": "Any text based, human readable error message"
        }
    }
}

Schema Samples