core/server/data/meta/schema.js
function trimSchema(schema) {
    var schemaObject = {};

    _.each(schema, function (value, key) {
        if (value !== null && typeof value !== 'undefined') {
            schemaObject[key] = value;
        }
    });

    return schemaObject;
}
function trimSchema(schema) {
    var schemaObject = {};

    _.each(schema, function (value, key) {
        if (value !== null && typeof value !== 'undefined') {
            schemaObject[key] = value;
        }
    });

    return schemaObject;
}
function trimSchema ( schema ) { var schemaObject = { } ; _ . each ( schema , function ( value , key ) { if ( value !== null && typeof value !== 'undefined' ) { schemaObject [ key ] = value ; } } ) ; return schemaObject ; }
Creates the final schema object with values that are not null
Creates the final schema object with values that are not null