validate_saga
Validate a Saga descriptor against its schema and report errors. Accepts a file path or YAML content for safe pre-write checks.
Instructions
Check a Saga descriptor against the schema and report what's wrong. Give either a path on disk or the YAML content directly. Validating is free and has no side effects, so prefer it over assuming an edit was correct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | path to a Saga descriptor on disk | |
| content | No | the descriptor's YAML content, for validating an edit before writing it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| valid | Yes | ||
| controls | No | ||
| components | No |