Using Schemas
JSON schemas can be assigned to TOML documents according to the following in priority order starting with the highest priority:
- set manually in the environment, e.g. as a CLI flag or an IDE setting
- schema directives at the top of the document
- as an URL under the
$schema
key in the root of the document - configuration file rule
- default schema set in the configuration file
- contributed by an extension (Visual Studio Code only)
- 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