For background see How to make VS Code to treat other file extensions as certain language?
That question is concerned with how to define a file association manually. This question is about how to express that in the contributes section of the package.json file for a VS Code extension.
Basically I want VS Code to treat .mdbook as an alias for .json because it's a json file with a specific schema. It's not obvious to me which contribution point is relevant or how to express this.