text: const mongoose = require('mongoose')
  
  let projectSchema = mongoose.Schema({
    _id: mongoose.Schema.Types.ObjectId,
    activeStatePeriod: Number,
    address: String,
    ipfsHash: String,
    listSubmitted: Boolean,
    location: [Number],
    name: String,
    nextDeadline: Date,
    passThreshold: Number,
    photo: String,
    proposer: String,
    proposerType: Number,
    proposerRewarded: Boolean,
    reputationBalance: Number,
    reputationCost: Number,
    stakedStatePeriod: Number,
    state: Number,
    summary: String,
    taskList: String,
    topTaskHash: String,
    tokenBalance: Number,
    turnoverTime: Number,
    validateStatePeriod: Number,
    voteCommitPeriod: Number,
    voteRevealPeriod: Number,
    weiBal: Number,
    weiCost: Number
  })
  
  const Project = mongoose.model('Project', projectSchema)
  
  module.exports = Project
  