basic photobook support

This commit is contained in:
Lachlan Kermode
2018-12-29 13:39:56 +01:00
parent 99e9219e02
commit 64e7218b71
5 changed files with 76 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ import Joi from 'joi';
const sourceSchema = Joi.object().keys({
id: Joi.string().required(),
path: Joi.string().required(),
paths: Joi.array().required(),
type: Joi.string().allow(''),
affil_1: Joi.string().allow(''),
affil_2: Joi.string().allow(''),