After the creation of hipstapas.core npm package, changed the code for the API to use the newly created npm package.
There was a slight problem with the validation, but at the end all problems were solved, the API uses the npm package and the validation works as expected.
Lessons learned: upgrade your own json-validation to use proofed json-schemata validation libraries :)