devfile
devfile copied to clipboard
Publish Schama to schemastore
http://schemastore.org/api/json/catalog.json is used by multiple clients to load a schema for given files according to their name pattern. The devfile schema should be published there so yaml-language-server and downstream, as long as some other clients that look at the schema.
As far as i understood those schemas used for json autocompletion and validation in VScode plugins, but since devfile is not a json, i'm not sure it will help a lot. But we can publish it anyway even just to improve visibility.
The Yaml-Language-Server (that's used by Che, VSCode and Eclipse IDE) does load look at those schema for yaml autocompletion, hover, validation... as well. Basically, if the devfile schema manages to find its way to schemastore, then anyone opening a devfile in one of our tools would immediately get a lot of extra features. Being on schemastore will provide a lot of value to end-users.