If you read the documentation for lsp-mode-lsp-json here, this is the section that deals with setting schemas:
Available configurations
lsp-json-schemas
Default: nil
Associate schemas to JSON files in the current project
I have no idea how to use that. Is there an example somewhere?
lsp-json-schemas is a variable defined in ‘lsp-json.el’.
Its value is nil
Documentation:
Associate schemas to JSON files in the current project
You can customize this variable.
This variable was introduced, or its default value was changed, in version 6.3 of the lsp-mode package.
I googled, but can't find an example of how to use this variable anywhere.