diff --git a/src/validations/prefab/component.ts b/src/validations/prefab/component.ts index 74118313..b536df38 100644 --- a/src/validations/prefab/component.ts +++ b/src/validations/prefab/component.ts @@ -113,11 +113,8 @@ const wrapperSchema = ( label: Joi.string(), optionCategories: Joi.array().items(optionCategorySchema).min(1), options: Joi.array() - .items(linkedOptionSchema, linkedPartialSchema) + .items(optionSchema, linkedOptionSchema, linkedPartialSchema) .required(), - displayType: Joi.string() - .valid('inline-block', 'block', 'inline') - .optional(), descendants: Joi.array() .items( Joi.custom(validateComponent(styles, componentStyleMap, prefabType)),