I was talking about org.springframework.xd.module.ModuleDefinition which is included in ModuleDeploymentRequest messages. So, that's actually different than the use of these "definitions" within the REST support layer, but it does have a very similar shape - I wonder if we should consider reusing it across both responsibilities?