function Schema(descriptor) {
	  this.rules = null;
	  this._messages = _messages2.messages;
	  this.define(descriptor);
	}
/**
	 *  Encapsulates a validation schema.
	 *
	 *  @param descriptor An object declaring validation rules
	 *  for this schema.
	 */
Encapsulates a validation schema.
@param descriptor An object declaring validation rules
for this schema.
Encapsulates a validation schema . @param descriptor An object declaring validation rules for this schema .
function Schema(descriptor) {
	  this.rules = null;
	  this._messages = _messages2.messages;
	  this.define(descriptor);
	}
function Schema ( descriptor ) { this . rules = null ; this . _messages = _messages2 . messages ; this . define ( descriptor ) ; }
Encapsulates a validation schema.
Encapsulates a validation schema .