> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geval.io/llms.txt
> Use this file to discover all available pages before exploring further.

# geval validate-contract

> Validate contract YAML and load every referenced policy — fail fast before CI.

## Synopsis

```bash theme={null}
geval validate-contract <contract.yaml> [more-contracts...] [--json]
```

## Behavior

* Parses each **contract** file.
* Resolves and loads **all policies** referenced by path.
* Surfaces YAML and schema errors **without** requiring signals.

## Examples

```bash theme={null}
geval validate-contract .geval/contract.yaml
geval validate-contract gates/a.yaml gates/b.yaml
```

Use **`--json`** for machine-readable validation output (when supported by your Geval version).

## See also

[check](/cli/check) · [Contract and policies](/configuration/contract-and-policies)
