A convenience class to validate a PHP associative array as a typed JSON message with mandatory properties and default values.