ObjectSchema constructor
Creates a new validation schema and sets its values.
allowUndefined
true to allow properties undefines in the schemarequired
(optional) true to always require non-null values.rules
(optional) a list with validation rules.
See IValidationRule