validate_model
Check visual references in your ArchiMate model for invalid connections and nodes, returning validity status and counts of defects.
Instructions
Validate visual references in the active model.
Delegates to pyArchimate's `check_invalid_conn` and
`check_invalid_nodes` helpers. Diagram-only annotation connectors
(a note line joining an Archi Note to an element) are excluded: they
have no backing relationship by design, so they are not defects. A
connector between two element-backed nodes whose relationship is
genuinely missing is still reported. Use `validate_semantics` for
ArchiMate semantic checks beyond visual references.
Returns:
Success envelope with `data.is_valid` (bool),
`data.invalid_connection_ids`, `data.invalid_node_ids`,
`data.invalid_connections_count`, and
`data.invalid_nodes_count`.
Errors:
`ModelNotFoundError` if no model is active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||