I am aware of an UI way, how to set json schema to json document in Visual Studio 2013+. Basically, if an json document is opened in Visual Studio, it is possible to type path to json schema into dropdown above editor.
Is there a way how to set json schema for document in VSX extension?
I would like to create extension, which will be setting schema to my json files on opening, based on some external logic.