code: function getFilteredSchema(source, suffix, remove) {
      var target = {};
      for (var prop in source) {
          var m = prop.match(suffix);
          var copy = (m) ? m.index : checkRemove(prop, remove);
  
          if (copy) target[prop.substr(0, copy)] = handleElement(source[prop], suffix, remove);
      }
      return target;
  }
docs: Filtered Schemas