lib/api/JsonSchemaLib/read.js
function finished (schema, callback) {
  schema.plugins.finished();
  delete schema.config.sync;
  callback(null, schema);
}
function finished (schema, callback) {
  schema.plugins.finished();
  delete schema.config.sync;
  callback(null, schema);
}
function finished ( schema , callback ) { schema . plugins . finished ( ) ; delete schema . config . sync ; callback ( null , schema ) ; }
Performs final cleanup steps on the schema after all files have been read successfully.

@param {Schema} schema
@param {function} callback
Performs final cleanup steps on the schema after all files have been read successfully .