Baggz/Amanda — pull request #23 by craftgear (2012-02-07 03:53:40+00:00)
Title: add functionality to set a custom error message

When schema is defined, a custom error message can be passed as 'message' property.

How to use:
var person = {
type: 'object',
properties: {
age: {
type: 'number',
minimum: 10,
message: 'your age must be over ten!'
}
}
}