function Schema(descriptor) {
  this.rules = null;
  this._messages = __WEBPACK_IMPORTED_MODULE_4__messages__["a" /* messages */];
  this.define(descriptor);
}
Encapsulates a validation schema.

 @param descriptor An object declaring validation rules
 for this schema.