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

# validate

> Validate Flipt flag state (.yaml, .yml) files

```
flipt validate [flags]
```

## Synopsis

Validates Flipt flag state files (`.yaml`, `.yml`) for syntax errors and schema compliance.

## Options

```
  -e, --extra-schema string   path to extra schema constraints
  -F, --format string         output format: json, text (default "text")
  -h, --help                  help for validate
      --issue-exit-code int   exit code to use when issues are found (default 1)
  -d, --work-dir string       set the working directory (default ".")
```

## Examples

```bash theme={null}
flipt validate
flipt validate --work-dir /path/to/flags
flipt validate --format json
flipt validate --extra-schema /path/to/schema.json
```
