Also, is there a Json Schema for the `yaml` defini...
# docker
g
Also, is there a Json Schema for the
yaml
definitions? If there isn't I have no problem in contributing with the creation of one one, but I would need to see some form of documentation defining all the values and shapes it can take.
b
that sounds like a great idea. There is already a documentation, I'm not sure if this is enough though to create a schema for it https://docs.spryker.com/docs/scos/dev/the-docker-sdk/202204.0/deploy-file/deploy-file-reference-1.0.html
and / or here is also some documentation about the deploy configs: https://github.com/spryker/docker-sdk/tree/master/docs/07-deploy-file
g
I've actually stumbled upon the
validator.yml
file. I think building a json schema based validator could be a better idea. I'll work on a PR 🙂
Then the json schema can be used by IDE's to provide autocomplete. Because my PHP Storm is crazy thinking those are docker-compose files 😆
👍 1