{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://localhost:3000/schemas/post-client-error-response.json#",
    "title": "Get client response",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "error": {
            "type": "string",
            "description": "Single ASCII error code string.",
            "enum": [
                "invalid_redirect_uri",
                "invalid_client_metadata",
                "invalid_software_statement",
                "unapproved_software_statement"
            ],
            "description_invalid_redirect_uri": "The value of one or more redirection URIs is invalid.",
            "description_invalid_client_metadata": "The value of one of the client metadata fields is invalid and the server has rejected this request.  Note that an Authorization server MAY choose to substitute a valid value for any requested parameter of a client's metadata.",
            "description_invalid_software_statement": "The software statement presented is invalid.",
            "description_unapproved_software_statement": "The software statement presented is not approved for use by this authorization server."
        },
        "error_description": {
            "type": "string",
            "desciption": "Human-readable ASCII text description of the error used for debugging."
        }
    }
}