lib/schema.js
function convertObject (schema, self) {
  var keys = Object.keys(schema);
  var ret = {};

  for (var i = 0; i < keys.length; ++i) {
    var key = keys[i];
    ret[key] = convertElement(schema[key], self);
  }

  return ret;
}
function convertObject (schema, self) {
  var keys = Object.keys(schema);
  var ret = {};

  for (var i = 0; i < keys.length; ++i) {
    var key = keys[i];
    ret[key] = convertElement(schema[key], self);
  }

  return ret;
}
function convertObject ( schema , self ) { var keys = Object . keys ( schema ) ; var ret = { } ; for ( var i = 0 ; i < keys . length ; ++ i ) { var key = keys [ i ] ; ret [ key ] = convertElement ( schema [ key ] , self ) ; } return ret ; }
Converts an object containing schemas to a plain object
Converts an object containing schemas to a plain object