Short answer: a manufacturing BOM in JSON is a set of items plus a set of parent-to-child lines. Each line carries a quantity, a unit, the parent quantity that the quantity refers to, scrap, effectivity, the operation that consumes it, and any alternate or option rule. CycloneDX, which owns the search results, describes what is inside software and devices. It has none of those line fields, so treat it as a companion file and link to it. Don't use it as the BOM.

Developers asked to "put the BOM in JSON" usually find theCycloneDX JSON reference, and engineers asked for a "BOM data model" find relational schemas: an item table, a BOM line table, and revision and effectivity columns. Both are good at what they cover. This piece covers the part between them: the document that carries one product from CPQ to the plant to billing, and what that document loses when it is forced into the wrong shape.

Three different files called a BOM

The phrase is overloaded, and it helps to know which one you were asked for.

  • A software BOM (SBOM). CycloneDX or SPDX. It lists packages, versions, licenses, and hashes so that security teams can match them against vulnerabilities. CycloneDX also covers hardware devices, services, and ML models. It is standardised as ECMA-424, and the current release is 1.7.
  • A Maven BOM. A POM file that pins dependency versions, which is why autocomplete suggests "jsonwebtoken bom". Maven's docs call theseBill of Materials (BOM) POMs. Nothing to do with manufacturing.
  • A manufacturing or commercial BOM. What goes into one unit of a product, how much of it, in which unit, when, and at which step. If it also drives the quote and the invoice, it says what is sold and billed. That is the subject here.

What CycloneDX covers, read from its own schema

A CycloneDX component has a type (one of them is device), a name, a version, a supplier, a manufacturer, identifiers like purl, hashes, licenses, and free-formproperties. Components can nest. The schema describes nesting as "a hierarchical representation of component assemblies, similar to system → subsystem → parts assembly in physical supply chains". Dependencies list which components depend on which.

Neither the nesting nor the dependency carries a quantity. Hardware quantity lives in the property taxonomy ascdx:device:quantity, a string value defined as "the total number of the specified component". That is a count, with no unit and no parent. The same taxonomy has cdx:device:bom:ebom andcdx:device:bom:mbom, defined as the location of the engineering and manufacturing BOMs. So CycloneDX itself expects those BOMs to live somewhere else.

CycloneDX's MBOM capability means something else again: "declared and observed formulation", meaning workflows, tasks, and steps that record how an artifact was produced. A task can name a component as an input. It cannot say how much of it was consumed. Approved alternates are coming:issue #928 adds acomponent-choice with OR, XOR, and AND operators for alternates, dual sourcing, last-time-buy substitutions, and build variants. It notes that "none of these can be expressed faithfully today", and it is scheduled for 2.0, which is not released yet.

A worked example: one window through CycloneDX and back

This example is invented; it is not a customer record. It is a trimmed Cascade 440 window, the same family used in the other articles here. The frame extrusion is bought by the metre. Sealant comes in cartridges, one per four windows. The glass unit has two approved suppliers. A trickle vent changes from TV-40 to TV-55 for builds from November 30. A motorized vent operator is an option, and the customer's IT team wants an SBOM for its controller firmware. Here it is in the draft SingleBOM v0 shape (graph nodes and edges, options, and function blocks):

invented example · Cascade 440 windowsinglebom.json
{
  "$schema": "https://singlebom.com/schema/v0",
  "id": "bom.win.cw-440",
  "sku": "CW-440",
  "rev": "D",
  "graph": {
    "nodes": [
      { "id": "CW-440",  "name": "Cascade 440 window",   "sold": true },
      { "id": "FRM-440", "name": "frame assembly",       "make": true },
      { "id": "EXT-F",   "name": "frame extrusion",      "buy": true, "uom": "m" },
      { "id": "IGU-LE2", "name": "IGU, low-E double",    "buy": true },
      { "id": "SEAL-1",  "name": "glazing sealant",      "buy": true, "uom": "cartridge" },
      { "id": "TV-40",   "name": "trickle vent 40",      "buy": true },
      { "id": "TV-55",   "name": "trickle vent 55",      "buy": true },
      { "id": "MOT-24",  "name": "24 V vent operator",   "buy": true,
        "sbom": "urn:uuid:4d1c…(CycloneDX serialNumber)" }
    ],
    "edges": [
      { "from": "CW-440",  "to": "FRM-440", "qty": 1, "uom": "ea" },
      { "from": "FRM-440", "to": "EXT-F",   "qty": 7.0, "uom": "m", "scrap": 0.03, "op": 10 },
      { "from": "CW-440",  "to": "IGU-LE2", "qty": 2, "uom": "ea", "op": 30,
        "alt": { "pick": "one", "sources": ["glass-north", "glass-south"] } },
      { "from": "CW-440",  "to": "SEAL-1",  "qty": 1, "per": 4, "uom": "cartridge", "op": 30 },
      { "from": "FRM-440", "to": "TV-40",   "qty": 1, "uom": "ea", "effective": { "to": "2026-11-29" } },
      { "from": "FRM-440", "to": "TV-55",   "qty": 1, "uom": "ea", "effective": { "from": "2026-11-30" } },
      { "from": "CW-440",  "to": "MOT-24",  "qty": 1, "uom": "ea", "when": "operator == 'motorized'" }
    ]
  },
  "options": { "operator": "motorized", "width_mm": 1400, "height_mm": 2100 },
  "functions": {
    "sales": { "list_usd": 1840, "option_usd": { "operator.motorized": 385 } },
    "manufacturing": { "routing": [[10, "cut"], [20, "assemble"], [30, "glaze"], [40, "qc"]] },
    "billing": { "lines": ["CW-440", "operator.motorized"], "uom": "each" }
  }
}

Invented example, not a customer record. Every manufacturing fact sits on an edge: quantity, unit, per (the parent quantity the line refers to), scrap, operation, effectivity, alternates, and the option condition. The operator node points at its CycloneDX file instead of copying it.

Now export the same window as CycloneDX 1.7, import it into another system, and look at what the receiver can still read:

FactIn the window JSONClosest CycloneDX 1.7 fieldWhat the receiving system sees
Quantity per parent7.0 per framecdx:device:quantity, a string, defined as a total"7.0" with no parent. One HBOM guide reads it as per-unit; the taxonomy says total
Unit of measurem, cartridgeNone7.0 of what? Metres, or seven bars of 6.5 m stock
Base quantity1 cartridge per 4 windowsNone1 per window, so 4× the sealant, unless someone types 0.25
Scrap3% on the extrusionNone (custom property only)7.0 m costed, 7.21 m consumed
EffectivityTV-40 until Nov 29, TV-55 from Nov 30Document-level timestamp and lifecycle onlyBoth vents on one frame, or two files and a guess
Alternate sourcesIGU from either supplier, pick oneNot in 1.7; component-choice planned for 2.0Two glass components, which reads as two different parts
Option conditionMOT-24 only when operator is motorizedscope (required / optional / excluded), which is about runtimeThe operator is either always there or always marked optional, and nobody knows why
Consuming operationIGU and sealant at op 30, glazeFormulation task input, no quantityThe ERP picks a default operation for backflush, often the wrong one
Price and billing lines$1,840 + $385 option, two invoice linesNoneRebuilt from the CPQ, the second copy
Revisionrev DversionSurvives
Controller firmwarePointer to the SBOMComponents, hashes, licenses, vulnerabilitiesSurvives. This is CycloneDX's real job

The last two rows are the honest part: CycloneDX keeps what it was designed to keep. The trouble starts when the file is treated as the build list. Proprietary JSON has its own gaps. In Oracle CPQ'sBOM Mapping implementation guide (18B), the BOM instance is a JSON object whose item quantity is typed Long, a whole number, and whose effectiveDate applies to the root item only. That suits a sales configuration. Metres of extrusion and line-level cut-ins have to come from the ERP side.

Checks a JSON Schema will not do for you

A JSON Schema validates shape: that qty is a number and uom is a string. Most BOM errors are about meaning. Run these checks on every file before you accept it:

  1. Every edge resolves. Each from and to names a node in the file, or an item ID the receiver already knows.
  2. No cycles. No item contains itself at any depth. Check on import, not when MRP first explodes it.
  3. Units come from a fixed list, and each line's unit converts to the item's stocking unit. "m" and "M" and "meter" are three units to a parser.
  4. The parent quantity is explicit. If a line has no per, the file must say it defaults to 1. ERPs don't assume that: SAP's BOM API carries a header base quantity (BOMHeaderQuantityInBaseUnit) that every component quantity refers to.
  5. Quantities keep their precision. A JavaScript reader parses 7.21 as a binary float. Round at a stated number of decimals, or do the arithmetic in decimal.
  6. Effectivity ranges for one position don't overlap or leave gaps. TV-40 ends the day before TV-55 starts.
  7. Every condition and every priced option names an option that exists, spelled the same way in both places.
  8. Every billing line maps to a sold node or a priced option. An invoice line with no node behind it is a second product model.

The window above passes all eight. Delete "per": 4 and the file still validates against any JSON Schema, but every window now carries a whole cartridge. That is the 4× sealant row in the table, and only check 4 catches it.

Which format for which job

JobUse
Tell a customer or regulator what software and chips are inside the productCycloneDX or SPDX. Don't invent a format for this; they will ask for the standard
Hold the BOM of record, run MRP, answer where-used across thousands of productsYour ERP or PLM, or relational tables if you are building one. Indexes and foreign keys win here
Move one product, or one configured order, between CPQ, PLM, ERP, and billingOne JSON document with the line fields above, sent whole, with IDs that match the system of record
Give an AI assistant the product to quote fromThe same JSON document. A model quotes whatever file it is given

Where SingleBOM fits, and where it doesn't

SingleBOM's position is that the third row is the one nobody has standardised. CPQ, PLM, ERP, and billing each export their own JSON, and the copies drift. SingleBOM proposes one shape, the graph of nodes and edges with options and function blocks shown above. Sales, engineering, the plant, and billing each read their view from the same record and write only their own block. The SBOM stays a CycloneDX file, linked from the node it describes.

You do not need it if one ERP already holds the BOM, the quote, and the item master, and its API gives every consumer the same answer. Use that API. You do not need it to replace your database either: a JSON document per product makes where-used across the catalog a scan of every file, and a relational model likeCarbon's Postgres schemahandles that better. And the v0 shape is a draft. If you adopt it now, you are adopting a proposal, not a standard with tooling behind it.

Related: for how the edges in this file become indented and netted views, see Multi-level BOM explained. For the rules behind the when condition, see What is a 150% BOM?For the TV-40 to TV-55 change through every system, see ECOs across CPQ, PLM and ERP. For the sold item and the built items in one record, see Sales BOM vs production BOM. For keeping engineering and manufacturing lines in one graph, see EBOM vs MBOM. To check whether your own copies have already drifted, see CPQ BOM reconciliation.