Added fire - telegram links, for more info

This commit is contained in:
vjrj 2018-01-18 10:55:58 +01:00
parent 40aedbfdfb
commit c79f8b5f8b
7 changed files with 72 additions and 51 deletions

View file

@ -7,15 +7,22 @@ const firesCommonSchema = {
ourid: LocationSchema,
lat: Number,
lon: Number,
address: { type: String, optional: true },
scan: Number,
type: String,
when: Date,
// Neighbour notified fires
owner: { type: String, optional: true },
dateformat: { type: String, optional: true },
// NASA types
address: { type: String, optional: true }, // reverse geo
scan: { type: Number, optional: true },
track: { type: Number, optional: true },
acq_date: { type: String, optional: true },
acq_time: { type: String, optional: true },
satellite: { type: String, optional: true },
confidence: { type: Number, optional: true },
confidence: { type: String, optional: true },
version: { type: String, optional: true },
frp: { type: Number, optional: true },
daynight: { type: String, optional: true },
@ -23,6 +30,8 @@ const firesCommonSchema = {
bright_t31: { type: Number, optional: true },
bright_ti4: { type: Number, optional: true },
bright_ti5: { type: Number, optional: true },
// common
createdAt: defaultCreatedAt,
updatedAt: defaultUpdateAt
};