Bill of materials
bomCompute bill of materials from an electrical installation document, listing parts, equipment, and cables with quantities and reference designations for quotes or orders.
Instructions
Compute the bill of materials (nomenclature) of an electrical installation from its document: one row per manufacturer / part number for the nodes with a product reference, then one row per kind of equipment without a reference (type and main characteristics in 'spec', e.g. 'C16 1P+N') and per kind of cable (total length in 'length_m'), with quantities and the reference designations involved. Use it to prepare a quote or an order; wiring gives the wire list and cable schedule.
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 |
|---|---|---|---|
| result | Yes |