wave-framework/wave — pull request #6 by mattrenner (2013-08-13 22:40:12+00:00)
Title: Added support for custom violation messages on the 'required' validation...

... constraint

Should be defined like so:

```php
'value' => array(
'type' => 'string',
'required' => array(
'value' => true,
'message' => 'Custom message goes here'
),
),
```

'value' property also takes functions and strings.