diff --git a/app/validators/createMetadataRequest.js b/app/validators/createMetadataRequest.js index c7d2d8c..cbcdd67 100644 --- a/app/validators/createMetadataRequest.js +++ b/app/validators/createMetadataRequest.js @@ -16,6 +16,8 @@ const schema = Joi.object() creator: Joi.string().optional(), + creatorDid: Joi.string().optional(), + description: Joi.string().optional(), image: Joi.string().optional(), @@ -38,6 +40,8 @@ const schema = Joi.object() .optional() ), + attributes: Joi.array().items(Joi.object().optional()), + // Properties seems like a free-for-all 😂 properties: Joi.object() .keys({