Validate a diagram IR
validateChecks an ArchSmith diagram IR against schema and governed registries, returning validity status and errors to ensure consistent SVG architecture diagrams.
Instructions
Validates an ArchSmith diagram IR document against the schema and governed registries (sub-layers, colors). Call get_schema and get_registry first to learn the required structure and governed vocabulary before authoring an IR. Returns { valid, errors }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ir | Yes | The diagram IR document to validate. |