the $ref to http://standards.ncats.io/workflow/1.0.0/schema cause errors in BTE (which is using node's api-schema-builder). We've had to comment those sections in order for BTE to handle its smartapi yaml correctly.
Perhaps this is an issue with the package we are using? Or perhaps there is a bit of an issue with how $ref is used here?