The internet requirement of the validate subcommand has been a fairly regular annoyance when using this tool in CI jobs and the like (where it's possible for the GET to fail intermittently), not to mention that it means you can't do any config validation in an air-gapped setup.
In the past, using gojsonschema's support for embedded data was ruled out because it was too annoying to maintain, but now that Go 1.16 has the embed package with //go:embed it seems that we should be able to implement this in a fairly painless way.
The internet requirement of the validate subcommand has been a fairly regular annoyance when using this tool in CI jobs and the like (where it's possible for the
GETto fail intermittently), not to mention that it means you can't do any config validation in an air-gapped setup.In the past, using
gojsonschema's support for embedded data was ruled out because it was too annoying to maintain, but now that Go 1.16 has theembedpackage with//go:embedit seems that we should be able to implement this in a fairly painless way.