# `once query validate-target`

Validate a proposed `[[target]]` table against its target kind schema.

## Synopsis

```text
once query validate-target [OPTIONS]
```

## Description

Reads `{ "target": { ... } }` from `--file` or, if omitted, from stdin.

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--file` | `<PATH>` |  | Path to a JSON file. When omitted, the JSON document is read from stdin. |
