code: function(){
          baseSchema.constructor.apply(this, arguments);
          //copy base schema
          var This = this;
          baseSchema.eachPath(function(key, val) {
            if (key != '__t')
              This.paths[key] = val;
          });
        }
docs: schema is just the definition create a new schema class derived from the base class