JSON Schema Commands: schemas
bohr schemas reads JSON Schemas and error codes embedded in the CLI, or serves them over a local HTTP endpoint. Its alias is schema.
Commands
| Command | Usage | Description |
|---|---|---|
errors | bohr schemas errors [flags] | List all error codes with descriptions. |
get | bohr schemas get <schema-name> [flags] | Print a schema by name (e.g., envelope.v1, common/money.v1). |
list | bohr schemas list [flags] | List all available schemas. |
serve | bohr schemas serve [flags] | Start a local HTTP server serving schemas. |
For subcommands inside a command group, run bohr schemas <group> --help.
Examples
bohr schemas list -o json
bohr schemas get envelope.v1 -o pretty
bohr schemas errors -o json
bohr schemas serve --port 8787
list, get, and errors are local and read-only. serve starts a long-running local HTTP server; --port defaults to 8787.