docs: function getModel(model) {
    const schemaPaths = model.schema.paths;
    const name = model.modelName;
  
    const fields = extractPaths(schemaPaths, { name });
  
    return {
      name,
      fields,
      model
    };
  }