Require a codemark has a resource
Fix requirements for resource_type