Support schema works using vscode but not using theia

I’m trying to load a local schema for ‘manifest.json’ files to theia, but it doesn’t work as vscode.
I was trying the following:

  1. fileMatch: ["/manifest.json", “manifest.json”] - worked for vscode but not for theia.

  2. fileMatch: ["**/manifest.json"] - my schema is loaded, but I got errors that are not coming from. my schema.

What is the right way to load only my schema for ‘manifest.json’ files?

[original thread by Sapir Pol]

Is it the same as https://github.com/eclipse-theia/theia/issues/7140?

[Sapir Pol]

No, my schema is loaded (using full path / url), but I receive some errors that are not coming from my schema.

Is there a way to reproduce it from sources? Please file a bug.