kapi brand validate
kapi validate <file.yaml|->Validate a brand voice profile YAML and report structural problems.
Pass a file path, or "-" to read the profile from stdin. Validation reports:
- YAML syntax or type errors that stop the profile from parsing
- unknown fields (typo'd or unsupported keys)
- missing required fields (only 'name' is required)
- invalid enum values (tone formality/emotion/humor, style sentence_length/ person_pov/contractions, example category, rule severity)
- regex in style prohibited_patterns/required_patterns that does not compile
- vocabulary term rules with an empty term
Exit codes: 0 when the profile is valid, 1 when it has any problem. With --json the result is {"valid": bool, "errors": [{"field", "message"}]}.
Watch it
brand validate needs network access, an API key, or local system access, so it can’t run in the browser playground.See the guides for a recorded run, or try it locally with the installed CLI.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
| --color | string | auto | colorize JSON output: auto, always, never |
| --jq | string | filter JSON output through a jq expression (implies --json) | |
| --json | bool | false | Output in JSON format |
| --output-format | string | Output format: json, text | |
| --text | bool | false | Output in text format (default) |
← Back to the Command Reference