Create a validation script that ensure that the types generated with the `publish` command conform to the expected input and output.