{"size": 263, "ext": "js", "max_stars_repo_path": "models/researcherModel.js", "max_stars_repo_name": "mmgfrcs/research-server", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/researcherModel.js", "max_issues_repo_name": "mmgfrcs/research-server", "max_issues_repo_issues_event_min_datetime": "2020-06-22T08:52:05.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T13:00:13.000Z", "max_forks_repo_path": "models/researcherModel.js", "max_forks_repo_name": "mmgfrcs/research-server", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 23.9090909091, "max_line_length": 64, "alphanum_fraction": 0.6730038023}
let mongoose = require("mongoose");

let researcherSchema = new mongoose.Schema({
    "name": String,
    "password": String,
    "token": String,
    "secret": String,
    "permission": Number
});

module.exports = mongoose.model("Researcher", researcherSchema);