1var mongoose =require('mongoose');
2var Schema = mongoose.Schema;
3
4var standardmessage = new Schema({
5 id: Number,
6 name: String,
7 type: String,
8 message: {
9 messageType: String,
10 timestamp: Number,
11 messagestatus: String
12 }
13});