index.js
function Schema(options) {
  this.options = options || {};
  this.data = new Data();
  this.isSchema = true;
  this.utils = utils;
  this.initSchema();
  this.addFields(this.options);
  var only = utils.arrayify(this.options.pick || this.options.only);
  utils.define(this.options, 'only', only);
}
function Schema(options) {
  this.options = options || {};
  this.data = new Data();
  this.isSchema = true;
  this.utils = utils;
  this.initSchema();
  this.addFields(this.options);
  var only = utils.arrayify(this.options.pick || this.options.only);
  utils.define(this.options, 'only', only);
}
function Schema ( options ) { this . options = options || { } ; this . data = new Data ( ) ; this . isSchema = true ; this . utils = utils ; this . initSchema ( ) ; this . addFields ( this . options ) ; var only = utils . arrayify ( this . options . pick || this . options . only ) ; utils . define ( this . options , 'only' , only ) ; }
Create a new `Schema` with the given `options`.

```js
var schema = new Schema()
.field('name', 'string')
.field('version', 'string')
.field('license', 'string')
.field('licenses', 'array', {
normalize: function(val, key, config) {
// convert license array to `license` string
config.license = val[0].type;
delete config[key];
}
})
.normalize(require('./package'))
```
@param {Object} `options`
@api public
Create a new Schema with the given options .