mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
return loc/lat/long to required
This commit is contained in:
@@ -6,9 +6,9 @@ const eventSchema = Joi.object().keys({
|
||||
date: Joi.string().required(),
|
||||
time: Joi.string().required(),
|
||||
time_precision: Joi.string().allow(''),
|
||||
location: Joi.string().allow(''),
|
||||
latitude: Joi.string().allow(''),
|
||||
longitude: Joi.string().allow(''),
|
||||
location: Joi.string().allow('').required(),
|
||||
latitude: Joi.string().allow('').required(),
|
||||
longitude: Joi.string().allow('').required(),
|
||||
type: Joi.string().allow(''),
|
||||
category: Joi.string().required(),
|
||||
narrative: Joi.string().allow(''),
|
||||
|
||||
Reference in New Issue
Block a user