devfile icon indicating copy to clipboard operation
devfile copied to clipboard

Publish Schama to schemastore

Open mickaelistria opened this issue 5 years ago • 2 comments

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.

mickaelistria avatar Mar 19 '19 13:03 mickaelistria

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.

mshaposhnik avatar Mar 19 '19 13:03 mshaposhnik

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.

mickaelistria avatar Mar 19 '19 13:03 mickaelistria