text: 'use strict';
  
  var mongoose = require('mongoose'),
      Schema = mongoose.Schema;
  
  var FormProcessingReportSchema = new Schema({
  	form: {
  		type: Schema.ObjectId,
  		ref: 'Form',
  		required: true
  	},
  	formData: {
  		type: Schema.Types.Mixed
  	},
  	analyticsData: {
  		type: Schema.Types.Mixed
  	},
  	actionsPerformed: {
  		type: Array
  	},
  	whenProcessed: {
  		type: Date,
  		default: Date.now
  	}
  });
  
  mongoose.model('FormProcessingReport', FormProcessingReportSchema);
  