diff --git a/src/reducers/schema/eventSchema.js b/src/reducers/schema/eventSchema.js index 5528510..9dd4f90 100644 --- a/src/reducers/schema/eventSchema.js +++ b/src/reducers/schema/eventSchema.js @@ -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(''),