diff --git a/src/reducers/schema/eventSchema.js b/src/reducers/schema/eventSchema.js index 3ecc635..5528510 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('').required(), - latitude: Joi.string().required(), - longitude: Joi.string().required(), + location: Joi.string().allow(''), + latitude: Joi.string().allow(''), + longitude: Joi.string().allow(''), type: Joi.string().allow(''), category: Joi.string().required(), narrative: Joi.string().allow(''),