Created
August 12, 2016 19:07
-
-
Save iammoen/40a125ebd668d17582b970969d8aa748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform: {type: String, required: true}, | |
platformid: {type: String, required: true}, | |
posttime: {type: Date, required: true}, | |
feedid: {type: String, required: true}, | |
clientid: {type: String, required: true}, | |
meta: { | |
tags: [{type: String}], | |
rating: {type: Number, min: 1, max: 10, default: 0, required: true}, | |
approval: { | |
isapproved: {type: Boolean, required: true, default: false}, | |
approvedby: [{type: Schema.Types.ObjectId, ref: 'User'}], | |
approveddate: {type: Date} | |
}, | |
custom: [{type: Schema.Types.Mixed}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment