---
name: taplo
description: "Use when adopting Taplo to assess this standard: Validate TOML structure and schema"
---

# Apply Taplo

Validate configuration files against their schema where available. Pin schema versions and check arrays, value types and required keys before consuming the configuration.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Taplo.
2. Use Taplo in this repository to meet this standard: Validate TOML structure and schema. Validate configuration files against their schema where available. Pin schema versions and check arrays, value types and required keys before consuming the configuration. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://taplo.tamasfe.dev/) for configuration and prerequisites.

## Tool invocation

```
taplo check
```
