# axx schema

> Print the JSON Schema for axx.yaml or a fixture spec file

Source: https://axx.nimbusxr.us/next/references/cli/axx-schema/

Print a JSON Schema, for editors and agents: axx.yaml by default (config, or
Axx), or factory, fixture or prototype for the *.factory.yaml, *.fixture.yaml
and *.prototype.yaml files of `axx fixtures`, as an argument or with --kind.
Reference them from the files with:

  # yaml-language-server: $schema=https://axx.nimbusxr.us/schemas/v0/axx.schema.json
  # yaml-language-server: $schema=https://axx.nimbusxr.us/schemas/v0/axx-factory.schema.json

```text
Usage:
  axx schema [config|factory|fixture|prototype] [flags]

Flags:
  -h, --help          help for schema
      --kind string   which schema: config (axx.yaml), factory, fixture or prototype (default "config")
  -o, --out string    write to a file instead of stdout
      --outline       print the keys the file may have, nested, each with one line of description (a fraction of the schema's size)

Global Flags:
      --compact         print only what matters (auto-enabled for coding agents)
  -c, --config string   path to axx.yaml (default: search upward from the working directory)
      --json            emit machine-readable JSON (stable envelope)
      --no-color        disable colored output
  -v, --verbose count   increase log verbosity (-v, -vv)
```
