Fixed up event schema to reduce filters and narratives to associations; removed extraneous comments for deprecated functions

This commit is contained in:
efarooqui
2020-09-09 21:22:22 -07:00
parent ed7c3551d6
commit 2bc6affbf5
4 changed files with 4 additions and 18 deletions

View File

@@ -23,9 +23,10 @@ function createEventSchema (custom) {
type: Joi.string().allow(''),
category: Joi.string().allow(''),
category_full: Joi.string().allow(''),
narratives: Joi.array(),
associations: Joi.array(),
// narratives: Joi.array(),
sources: Joi.array(),
filters: Joi.array().allow(''),
// filters: Joi.array().allow(''),
tags: Joi.array().allow(''),
comments: Joi.string().allow(''),
time_display: Joi.string().allow(''),