lev docs

Schema lookup

Treat the schema string as the contract name. Do not infer it from the command spelling. Match on the string in the JSON document itself, then parse the payload that belongs to that version.

The tables below are organized by emitting family so you can work in either direction: from command to schema, or from saved report back to the command family that produced it.

Read the contract name from a saved report
jq -r '.schema' profile.json
Example result
lev.cli.inspect.performance/v1

Inspection and policy

This family covers environment inspection, performance reports, import analysis, trust scans, graph output, and workspace-level import summaries.

CommandSchema
lev inspect --jsonlev.cli.inspect/v1
lev inspect performance --jsonlev.cli.inspect.performance/v1
lev inspect graph --format jsonlev.cli.graph/v1
lev inspect build --jsonlev.cli.inspect.build/v1
lev inspect dependencies --jsonlev.cli.inspect.dependencies/v1
lev inspect environment --jsonlev.cli.inspect.environment/v1
lev doctor --jsonlev.cli.inspect.environment/v1
lev inspect declaration NAME --jsonlev.cli.inspect.declaration/v1
lev inspect trust --jsonlev.cli.inspect.trust/v1
lev check --jsonlev.cli.check/v1
lev verify --jsonlev.cli.verify/v1
lev inspect imports --jsonlev.cli.shake/v1
lev shake --jsonlev.cli.shake/v1
lev profile --jsonlev.cli.profile/v1
lev workspace list --jsonlev.cli.workspace.list/v1
lev workspace shake --jsonlev.cli.workspace.shake/v1

Dependencies and project state

These schemas describe dependency selection, revision state, and the explanations around why one revision was chosen over another.

CommandSchema
lev deps outdated --jsonlev.cli.outdated/v1
lev project audit --jsonlev.cli.audit/v1
lev deps --jsonlev.cli.deps/v1
lev deps tree --jsonlev.cli.tree/v1
lev deps why NAME --jsonlev.cli.why/v1

Cache, toolchains, and tools

This family is mostly operational: cache integrity, remote cache movement, toolchain chunk publishing and installation, toolchain index work, and tool inventory or cleanup.

CommandSchema
lev cache artifacts status --jsonlev.cli.cache.artifacts.status/v1
lev cache artifacts verify --jsonlev.cli.cache.artifacts.verify/v1
lev cache artifacts gc --jsonlev.cli.cache.artifacts.gc/v1
lev cache remote push REMOTE --signing-key PATH --jsonlev.cli.cache.remote.push/v1
lev cache remote pull REMOTE --public-key PATH --jsonlev.cli.cache.remote.pull/v1
lev toolchain chunks publish TOOLCHAIN REMOTE --signing-key PATH --jsonlev.cli.toolchain.chunks.publish/v1
lev toolchain chunks install TOOLCHAIN REMOTE --public-key PATH --jsonlev.cli.toolchain.chunks.install/v1
lev toolchain index build DIRECTORY --signing-key PATH --public-key PATH --jsonlev.cli.toolchain.index.build/v1
lev toolchain index list REMOTE --public-key PATH --jsonlev.cli.toolchain.index.list/v1
lev toolchain index verify REMOTE --public-key PATH --jsonlev.cli.toolchain.index.verify/v1
lev toolchain gc --jsonlev.cli.toolchain.gc/v1
lev tool list --jsonlev.cli.tool.list/v1
lev tool gc --jsonlev.cli.tool.gc/v1

Text-first commands

lev workspace build, lev workspace run, lev workspace sync, and lev workspace lock do not publish aggregate JSON output. They stream member-by-member work and rely on exit status plus text diagnostics instead. When the workspace operation is import analysis, lev workspace shake --json is the JSON-emitting entry point.