render.yaml schema specification
complete
G
Griko Nibras
Helpful for code editors, IDEs, and validators to make sure render.yaml values are valid, especially for devs where autocomplete will benefit much.
Related:
Log In
A
Alex Bi
complete
r
robdimarco
We have published a JSON schema definition for render.yaml files at https://render.com/schema/render.yaml.json
j
justin
robdimarco Great! Will you also be updating the docs?
r
robdimarco
justin: Yes, updates to docs is forthcoming.
S
Syngeos Developer
There is one issue I found: The postgresMajorVersion key should accept an integer, while the schema expects a string
As in examples here: https://docs.render.com/blueprint-spec
S
Syngeos Developer
This has been fixed in docs in meanwhile
Anurag Goel
in progress
w
will
The work required to implement this feature is trivial. All we need is a public Github gist of the JSON schema file that is used to validate the render.yaml files already. Happy to help with this.
N
Nestor Magalhaes
any news?
D
Dustin Wyatt
Here's a JSON schema generated by GPT-4 by giving it the sample YAML from https://render.com/docs/yaml-spec.
Not fool proof, but it's a start!
j
justin
This doesn't seem like a huge ask? I would assume you'd have to have a schema already. https://joshuaavalon.io/intellisense-json-yaml-vs-code
T
Tom Davidson
with VS Code you get intellisense off the schema too.
F
Fabian Morón Zirfas
F
Fabian Morón Zirfas
I started working on a schema, but don't have to time to bring it to perfection. I would also transfer ownership if needed.
Load More
→