adding validation for CompositeAppDefinition