2013-07-01 22:53:10 +00:00
|
|
|
// See Device registration
|
2013-06-26 23:25:51 +00:00
|
|
|
var InstallationSchema = {
|
2013-07-08 23:59:11 +00:00
|
|
|
id: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
id: 1
|
|
|
|
},
|
|
|
|
appId: String,
|
|
|
|
appVersion: String,
|
|
|
|
userId: String,
|
|
|
|
deviceToken: String,
|
|
|
|
deviceType: String,
|
|
|
|
subscriptions: [String],
|
|
|
|
created: Date,
|
|
|
|
lastModified: Date,
|
|
|
|
status: String
|
2013-06-26 23:25:51 +00:00
|
|
|
};
|