Skip to content
On this page

Using Schemas ‚Äč

JSON schemas can be assigned to TOML documents according to the following in priority order starting with the highest priority:

  1. set manually in the environment, e.g. as a CLI flag or an IDE setting
  2. schema directives at the top of the document
  3. as an URL under the $schema key in the root of the document
  4. configuration file rule
  5. default schema set in the configuration file
  6. contributed by an extension (Visual Studio Code only)
  7. an association based on a schema catalog

Extra root CA certificate could be added by specifying with the TAPLO_EXTRA_CA_CERTS environment. The provided paths must be absolute paths. For example, TAPLO_EXTRA_CA_CERTS=/home/taplo-user/custom-ca.pem