---
url: https://docs.mochiexec.io/reference/cli/mochi_schema.md
description: Validate flowfiles and workspace configs against their schemas.
---

# mochi schema

Validate flowfiles and workspace configs against their schemas.

## Synopsis

Utilities for working with flow YAML schemas. Use these commands to validate flowfiles
and workspace configs against their JSON schemas — useful in CI pipelines and pre-commit hooks.

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for schema |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi](mochi.md) — Run and organize your development tasks
* [mochi schema validate](mochi_schema_validate.md) — Validate flow files and workspace configs against their schemas.
