Validate an electrical diagram
validateCheck a uniwire electrical diagram JSON for structural format issues—types, IDs, references, and links—without applying electrical rules. Returns issues plus viewer and PDF URLs.
Instructions
Validate a uniwire document (electrical diagram as JSON) against the format only: structure, types, ids, references and links, without the electrical rules (use check for those). Returns valid + issues, each naming the node id and field when possible, plus viewer_url (the document in the uniwire web editor) and pdf_url (the PDF drawn by uniwire).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The uniwire document of the electrical installation: a JSON object, or its JSON text, as returned by get_example, apply_patch or normalize (a file path is accepted when the server runs locally). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||