lib/obs.js
function getObjectSchema(object) {
  var outputObject = {};

  if (isObjectObject(object)) {
    Object.keys(object).forEach(function(key) {
      outputObject[key] = isObjectObject(object[key]) ? getObjectSchema(object[key]) : '';
    });
  }

  return outputObject;
}
function getObjectSchema(object) {
  var outputObject = {};

  if (isObjectObject(object)) {
    Object.keys(object).forEach(function(key) {
      outputObject[key] = isObjectObject(object[key]) ? getObjectSchema(object[key]) : '';
    });
  }

  return outputObject;
}
function getObjectSchema ( object ) { var outputObject = { } ; if ( isObjectObject ( object ) ) { Object . keys ( object ) . forEach ( function ( key ) { outputObject [ key ] = isObjectObject ( object [ key ] ) ? getObjectSchema ( object [ key ] ) : '' ; } ) ; } return outputObject ; }
Create an object schema - an object with keys and empty strings as values.

@param {object} object
@returns {object} Object schema. An object with keys and empty strings as
values.
Create an object schema - an object with keys and empty strings as values .